RFR (XS) 8022675: Redundant class init check

Rickard Bäckman rickard.backman at oracle.com
Mon Aug 19 23:57:28 PDT 2013


http://cr.openjdk.java.net/~rbackman/8022675/
http://bugs.sun.com/view_bug.do?bug_id=8022675

C2 always puts a class init check in the intrinsic for Unsafe.allocateInstance. This change removes the init check if the class is constant and already initialized.

Thanks
/R


More information about the hotspot-compiler-dev mailing list