.class code optimization

Mark Wielaard mark@klomp.org
Sat Oct 12 03:08:00 GMT 2002


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /