diff -r c139884bd80e -r 3e0ebf913679 src/hotspot/share/memory/metaspaceShared.cpp --- 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);