comparison src/share/vm/graal/graalCompiler.cpp @ 9108:b78686983a75

GRAAL-218: add CompileTheWorld functionality Reviewed-by:
author twisti
date Sat, 13 Apr 2013 22:59:27 -0700
parents b8f261ba79c6
children bc26f978b0ce
comparison
equal deleted inserted replaced
9107:368ed6c6a02b 9108:b78686983a75
89 } 89 }
90 if (UseCompiler) { 90 if (UseCompiler) {
91 VMToCompiler::startCompiler(); 91 VMToCompiler::startCompiler();
92 _initialized = true; 92 _initialized = true;
93 if (BootstrapGraal) { 93 if (BootstrapGraal) {
94 // We turn off CompileTheWorld and complete the VM startup so that
95 // Graal can be compiled by C1/C2 when we do a CTW.
96 NOT_PRODUCT(CompileTheWorld = false);
97 CompilationPolicy::completed_vm_startup();
94 VMToCompiler::bootstrap(); 98 VMToCompiler::bootstrap();
95 } 99 }
96 } 100 }
97 } 101 }
98 } 102 }