src/hotspot/share/jvmci/jvmciCompiler.cpp
changeset 58095 adc72cd1d1f2
parent 58041 d8902e9c307c
child 58177 4932dce35882
equal deleted inserted replaced
58094:0f6c749acd15 58095:adc72cd1d1f2
    79   bool first_round = true;
    79   bool first_round = true;
    80   int z = 0;
    80   int z = 0;
    81   do {
    81   do {
    82     // Loop until there is something in the queue.
    82     // Loop until there is something in the queue.
    83     do {
    83     do {
    84       os::sleep((JavaThread*)THREAD, 100);
    84       ((JavaThread*)THREAD)->sleep(100);
    85       qsize = CompileBroker::queue_size(CompLevel_full_optimization);
    85       qsize = CompileBroker::queue_size(CompLevel_full_optimization);
    86     } while (!_bootstrap_compilation_request_handled && first_round && qsize == 0);
    86     } while (!_bootstrap_compilation_request_handled && first_round && qsize == 0);
    87     first_round = false;
    87     first_round = false;
    88     if (PrintBootstrap) {
    88     if (PrintBootstrap) {
    89       while (z < (_methods_compiled / 100)) {
    89       while (z < (_methods_compiled / 100)) {