comparison src/share/vm/graal/graalCompiler.cpp @ 12647:b038b643a3a4

restricted BootstrapGraal option to GRAALVM builds only
author Doug Simon <doug.simon@oracle.com>
date Wed, 30 Oct 2013 21:49:04 +0100
parents 516b93ccf7c9
children 0dd597c6c9c7
comparison
equal deleted inserted replaced
12646:0046afcda972 12647:b038b643a3a4
96 } 96 }
97 } 97 }
98 VMToCompiler::finalizeOptions(CITime); 98 VMToCompiler::finalizeOptions(CITime);
99 99
100 if (UseCompiler) { 100 if (UseCompiler) {
101 VMToCompiler::startCompiler(BootstrapGraal); 101 bool bootstrap = GRAALVM_ONLY(BootstrapGraal) NOT_GRAALVM(false);
102 VMToCompiler::startCompiler(bootstrap);
102 _initialized = true; 103 _initialized = true;
103 if (BootstrapGraal) { 104 if (bootstrap) {
104 // We turn off CompileTheWorld and complete the VM startup so that 105 // We turn off CompileTheWorld and complete the VM startup so that
105 // Graal can be compiled by C1/C2 when we do a CTW. 106 // Graal can be compiled by C1/C2 when we do a CTW.
106 NOT_PRODUCT(CompileTheWorld = false); 107 NOT_PRODUCT(CompileTheWorld = false);
107 CompilationPolicy::completed_vm_startup(); 108 CompilationPolicy::completed_vm_startup();
108 VMToCompiler::bootstrap(); 109 VMToCompiler::bootstrap();