src/hotspot/share/memory/metaspaceShared.cpp
changeset 52465 3e0ebf913679
parent 52402 72d4e10305b9
child 52468 e0fd97beab7e
--- a/src/hotspot/share/memory/metaspaceShared.cpp	Thu Nov 08 15:19:14 2018 -0800
+++ b/src/hotspot/share/memory/metaspaceShared.cpp	Thu Nov 08 19:16:16 2018 -0500
@@ -1703,6 +1703,8 @@
 
     log_info(cds)("Shared spaces: preloaded %d classes", class_count);
 
+    HeapShared::init_subgraph_entry_fields(THREAD);
+
     // Rewrite and link classes
     tty->print_cr("Rewriting and linking classes ...");
 
@@ -1714,7 +1716,6 @@
     tty->print_cr("Rewriting and linking classes: done");
 
     SystemDictionary::clear_invoke_method_table();
-    HeapShared::init_subgraph_entry_fields(THREAD);
 
     VM_PopulateDumpSharedSpace op;
     VMThread::execute(&op);