hotspot/src/share/vm/runtime/init.cpp
changeset 33451 0712796e4039
parent 32619 47acec81dcca
child 34195 89011d12ebd3
--- a/hotspot/src/share/vm/runtime/init.cpp	Tue Oct 20 13:36:20 2015 +0000
+++ b/hotspot/src/share/vm/runtime/init.cpp	Tue Oct 20 18:07:28 2015 +0200
@@ -71,7 +71,7 @@
 void vtableStubs_init();
 void InlineCacheBuffer_init();
 void compilerOracle_init();
-void compileBroker_init();
+bool compileBroker_init();
 
 // Initialization after compiler initialization
 bool universe_post_init();  // must happen after compiler_init
@@ -131,7 +131,9 @@
   vtableStubs_init();
   InlineCacheBuffer_init();
   compilerOracle_init();
-  compileBroker_init();
+  if (!compileBroker_init()) {
+    return JNI_EINVAL;
+  }
   VMRegImpl::set_regName();
 
   if (!universe_post_init()) {