< prev index next >

src/hotspot/share/jvmci/jvmciCompiler.cpp

Print this page

        

*** 48,57 **** --- 48,58 ---- set_state(initialized); } void JVMCICompiler::bootstrap(TRAPS) { + assert(THREAD->is_Java_thread(), "must be"); if (Arguments::mode() == Arguments::_int) { // Nothing to do in -Xint mode return; } _bootstrapping = true;
*** 78,88 **** bool first_round = true; int z = 0; do { // Loop until there is something in the queue. do { ! os::sleep(THREAD, 100, true); qsize = CompileBroker::queue_size(CompLevel_full_optimization); } while (!_bootstrap_compilation_request_handled && first_round && qsize == 0); first_round = false; if (PrintBootstrap) { while (z < (_methods_compiled / 100)) { --- 79,89 ---- bool first_round = true; int z = 0; do { // Loop until there is something in the queue. do { ! os::sleep((JavaThread*)THREAD, 100); qsize = CompileBroker::queue_size(CompLevel_full_optimization); } while (!_bootstrap_compilation_request_handled && first_round && qsize == 0); first_round = false; if (PrintBootstrap) { while (z < (_methods_compiled / 100)) {
< prev index next >