RFR (S): 8011803: release_C_heap_structures is never called for anonymous classes.

Coleen Phillimore coleen.phillimore at oracle.com
Thu Apr 11 13:52:39 PDT 2013

Summary: Call this function from CLD::unload()  now for anonymous classes.

Anonymous classes aren't in the system dictionary so 
release_C_heap_structures isn't called for them if they are unloaded.  I 
fixed this for jdk8 because they are in the class loader data graph but 
for jdk7, I don't know how to fix this.  They are unloaded by being 
garbage collected after the references are dropped.

Tested with ute tests vm.mvlm.testlist nsk.monitoring.testlist and 
jdk/test/java/lang/invoke tests.

open webrev at http://cr.openjdk.java.net/~coleenp/8011803/
bug link at http://bugs.sun.com/view_bug.do?bug_id=8011803


More information about the hotspot-dev mailing list