comparison src/share/vm/graal/graalCompiler.cpp @ 11561:e1309fc4d17f

ensure Debug.enable() is called before any DebugTimer or DebugMetric objects are requested
author Doug Simon <doug.simon@oracle.com>
date Tue, 10 Sep 2013 14:32:55 +0200
parents 4e6d6122c558
children 516b93ccf7c9
comparison
equal deleted inserted replaced
11560:1aa56a2fb08b 11561:e1309fc4d17f
93 if (!result) { 93 if (!result) {
94 tty->print_cr("Invalid option for graal: -G:%s", arg); 94 tty->print_cr("Invalid option for graal: -G:%s", arg);
95 vm_abort(false); 95 vm_abort(false);
96 } 96 }
97 } 97 }
98 VMToCompiler::finalizeOptions();
99
98 if (UseCompiler) { 100 if (UseCompiler) {
99 VMToCompiler::startCompiler(BootstrapGraal); 101 VMToCompiler::startCompiler(BootstrapGraal);
100 _initialized = true; 102 _initialized = true;
101 if (BootstrapGraal) { 103 if (BootstrapGraal) {
102 // We turn off CompileTheWorld and complete the VM startup so that 104 // We turn off CompileTheWorld and complete the VM startup so that