# HG changeset patch # User Thomas Wuerthinger # Date 1322147661 -3600 # Node ID 221133c5ed6c30dccb54af70d2904d3e2763bdc2 # Parent f8d7ab42c4790fe1f48a0924088bcd3d404d689c Don't call startCompiler if the VM is run with -Xint diff -r f8d7ab42c479 -r 221133c5ed6c src/share/vm/graal/graalCompiler.cpp --- a/src/share/vm/graal/graalCompiler.cpp Wed Nov 23 14:52:52 2011 +0100 +++ b/src/share/vm/graal/graalCompiler.cpp Thu Nov 24 16:14:21 2011 +0100 @@ -80,11 +80,12 @@ vm_abort(false); } } - VMExits::startCompiler(); - - _initialized = true; - if (BootstrapGraal) { - VMExits::bootstrap(); + if (UseCompiler) { + VMExits::startCompiler(); + _initialized = true; + if (BootstrapGraal) { + VMExits::bootstrap(); + } } } }