< prev index next >

src/hotspot/share/oops/klass.cpp

Print this page

        

*** 607,617 **** // Only recreate it if not present. A previous attempt to restore may have // gotten an OOM later but keep the mirror if it was created. if (java_mirror() == NULL) { log_trace(cds, mirror)("Recreate mirror for %s", external_name()); ! java_lang_Class::create_mirror(this, loader, module_handle, protection_domain, CHECK); } } #if INCLUDE_CDS_JAVA_HEAP // Used at CDS dump time to access the archived mirror. No GC barrier. --- 607,617 ---- // Only recreate it if not present. A previous attempt to restore may have // gotten an OOM later but keep the mirror if it was created. if (java_mirror() == NULL) { log_trace(cds, mirror)("Recreate mirror for %s", external_name()); ! java_lang_Class::create_mirror(this, loader, module_handle, protection_domain, Handle(), CHECK); } } #if INCLUDE_CDS_JAVA_HEAP // Used at CDS dump time to access the archived mirror. No GC barrier.
< prev index next >