src/share/vm/classfile/classLoaderData.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8055008_3 Cdiff src/share/vm/classfile/classLoaderData.cpp

src/share/vm/classfile/classLoaderData.cpp

Print this page

        

*** 774,784 **** _saved_unloading = _unloading; // mark metadata seen on the stack and code cache so we can delete // unneeded entries. bool has_redefined_a_class = JvmtiExport::has_redefined_a_class(); ! MetadataOnStackMark md_on_stack; if (has_redefined_a_class) { // purge_previous_versions also cleans weak method links. Because // one method's MDO can reference another method from another // class loader, we need to first clean weak method links for all // class loaders here. Below, we can then free redefined methods --- 774,784 ---- _saved_unloading = _unloading; // mark metadata seen on the stack and code cache so we can delete // unneeded entries. bool has_redefined_a_class = JvmtiExport::has_redefined_a_class(); ! MetadataOnStackMark md_on_stack(has_redefined_a_class); if (has_redefined_a_class) { // purge_previous_versions also cleans weak method links. Because // one method's MDO can reference another method from another // class loader, we need to first clean weak method links for all // class loaders here. Below, we can then free redefined methods
src/share/vm/classfile/classLoaderData.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File