Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalCompiler.cpp @ 3694:221133c5ed6c
Don't call startCompiler if the VM is run with -Xint
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 24 Nov 2011 16:14:21 +0100 |
parents | 6aef50c6d967 |
children | 50a1d38cd7ac |
line wrap: on
line diff
--- 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(); + } } } }