Mercurial > hg > truffle
changeset 17053:7404e1113697
enable CompileTheWorld in non-hosted mode
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 05 Sep 2014 11:50:52 +0200 |
parents | 35fda668ed6e |
children | fb8fe09c00a3 |
files | src/share/vm/graal/graalCompiler.cpp |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp Thu Sep 04 22:34:03 2014 +0200 +++ b/src/share/vm/graal/graalCompiler.cpp Fri Sep 05 11:50:52 2014 +0200 @@ -63,7 +63,7 @@ CompilationPolicy::completed_vm_startup(); #ifndef PRODUCT - if (CompileTheWorld) { + if (CompileTheWorld && !BootstrapGraal) { compile_the_world(); } #endif @@ -113,6 +113,11 @@ tty->print_cr(" in %d ms (compiled %d methods)", os::javaTimeMillis() - start, _methodsCompiled); } _bootstrapping = false; +#ifndef PRODUCT + if (CompileTheWorld) { + compile_the_world(); + } +#endif } void GraalCompiler::compile_method(methodHandle method, int entry_bci, CompileTask* task) {