Request for review: 7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support

Jiangli Zhou jiangli.zhou at oracle.com
Thu Apr 26 19:48:59 PDT 2012


Hi,

Please review the change for 7158552. The instanceKlsss::_host_klass is 
only needed for anonymous class for JSR 292 support. Making the 
_host_klass as conditionally created embedded instanceKlass field saves 
4 bytes for each class that's loaded through normal classloading. Only 
anonymous class loaded by the AnonymousClassLoader for dynamic language 
support has the field.

http://cr.openjdk.java.net/~jiangli/7158552/webrev.00/

Thanks,

Jiangli


More information about the hotspot-runtime-dev mailing list