comparison 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
comparison
equal deleted inserted replaced
3690:f8d7ab42c479 3694:221133c5ed6c
78 if (!result) { 78 if (!result) {
79 tty->print_cr("Invalid option for graal!"); 79 tty->print_cr("Invalid option for graal!");
80 vm_abort(false); 80 vm_abort(false);
81 } 81 }
82 } 82 }
83 VMExits::startCompiler(); 83 if (UseCompiler) {
84 84 VMExits::startCompiler();
85 _initialized = true; 85 _initialized = true;
86 if (BootstrapGraal) { 86 if (BootstrapGraal) {
87 VMExits::bootstrap(); 87 VMExits::bootstrap();
88 }
88 } 89 }
89 } 90 }
90 } 91 }
91 92
92 void GraalCompiler::initialize_buffer_blob() { 93 void GraalCompiler::initialize_buffer_blob() {