diff src/share/vm/oops/instanceKlass.cpp @ 6038:8bafad97cd26

7158552: The instanceKlsss::_host_klass is only needed for anonymous class for JSR 292 support. Summary: Change the _host_klass to be conditionally created embedded instanceKlass field. Reviewed-by: jrose, coleenp, dholmes
author jiangli
date Wed, 02 May 2012 13:21:36 -0400
parents 49036505ab5f
children d2a62e0f25eb
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlass.cpp	Thu Apr 26 16:24:15 2012 -0400
+++ b/src/share/vm/oops/instanceKlass.cpp	Wed May 02 13:21:36 2012 -0400
@@ -1862,7 +1862,7 @@
       if (impl != NULL) {
         if (!is_alive->do_object_b(impl)) {
           // remove this guy
-          *start_of_implementor() = NULL;
+          *adr_implementor() = NULL;
         }
       }
     } else {