hotspot/src/share/vm/runtime/thread.cpp
changeset 36074 11263906664c
parent 35825 7c7652ee137b
child 36199 855b44ce93c0
--- a/hotspot/src/share/vm/runtime/thread.cpp	Mon Feb 15 20:02:51 2016 +0300
+++ b/hotspot/src/share/vm/runtime/thread.cpp	Mon Feb 15 20:26:02 2016 +0300
@@ -3600,6 +3600,9 @@
     vm_exit_during_initialization("Failed to initialize tracing backend");
   }
 
+  // No more stub generation allowed after that point.
+  StubCodeDesc::freeze();
+
   // Set flag that basic initialization has completed. Used by exceptions and various
   // debug stuff, that does not work until all basic classes have been initialized.
   set_init_completed();