< prev index next >
src/hotspot/share/jvmci/jvmciCompiler.cpp
Print this page
@@ -79,11 +79,11 @@
bool first_round = true;
int z = 0;
do {
// Loop until there is something in the queue.
do {
- os::sleep((JavaThread*)THREAD, 100);
+ ((JavaThread*)THREAD)->sleep(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 >