first active use of a class
Charles Hixson
charleshixsn@earthlink.net
Thu Apr 8 08:30:00 GMT 1999
How does this interact with class loaders? It would seem that class loaders
can load classes that the compiler could not have known about.
-----Original Message-----
From: Jerry Kramskoy <Jerry.Kramskoy@insignia.com>
To: Godmar Back <gback@cs.utah.edu>; java-discuss@sourceware.cygnus.com
<java-discuss@sourceware.cygnus.com>
Date: Thursday, April 08, 1999 6:30 AM
Subject: Re: first active use of a class
>>>One issue was the issue of "first active use" of a class.
>>I pointed out that WAT compilers such as gcj are being penalized because
>>they have to insert code that checks for each possible first use of
>>a class whether its <clinit> initializer needs to be invoked.
>>>>He said that his interpretation of the JLS gives such compiler writers
>>the freedom to preinitialize all classes before you even invoke the
>>main method; essentially saving that test.
>>>>I've had various conversations with one of Sun's JVM
...
More information about the Java
mailing list