The fix for 4354492 appears to have been lost long ago due to an apparent mismerge. The fix should be restored for the interpreter as it reduces classloading during startup.
Comments
EVALUATION
Prohibited by JVM spec, and may affect compatibility. See comments for more detail.
20-08-2007
EVALUATION
From 4354492 evaluation:
If obj's class was loaded by the boot classloader, then if class (or
interface) Foo has not been loaded by the boot classloader, return
FALSE **without** loading Foo.
Array classes are not considered for optimization. In the SwingSet2
demo, all occurances of arrays refered to java/lang/Object (already
loaded).