This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: .class code optimization


Hi,

On Sat, 2002-10-12 at 02:49, Adam Megacz wrote:
> 
> Yes.  I guess inlining within a 'compilation unit' would be ideal.
> Thus, if you pass your entire source tree to gcj in one invocation,
> you'll get inter-class inlining.

We could at least take a package as a compilation unit.
A ClassLoader can set a Package to sealed which means that no classes
can be loaded in that package from a different origin.
See java.lang.ClassLoader.definePackage().

Cheers,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]