diff src/share/vm/jvmci/jvmciCompiler.cpp @ 22692:a269bc93625b

fix -Xint -XX:+BootstrapJVMCI crash
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Fri, 16 Oct 2015 15:52:45 -0700
parents 569c82ebb96e
children f190cf6fb28e
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciCompiler.cpp	Fri Oct 16 15:59:20 2015 +0200
+++ b/src/share/vm/jvmci/jvmciCompiler.cpp	Fri Oct 16 15:52:45 2015 -0700
@@ -60,6 +60,10 @@
 
 #ifdef COMPILERJVMCI
 void JVMCICompiler::bootstrap() {
+  if (Arguments::mode() == Arguments::_int) {
+    // Nothing to do in -Xint mode
+    return;
+  }
 #ifndef PRODUCT
   // We turn off CompileTheWorld so that compilation requests are not
   // ignored during bootstrap or that JVMCI can be compiled by C1/C2.