src/hotspot/share/jvmci/jvmciCompiler.cpp
changeset 58095 adc72cd1d1f2
parent 58041 d8902e9c307c
child 58177 4932dce35882
--- a/src/hotspot/share/jvmci/jvmciCompiler.cpp	Thu Sep 12 03:21:11 2019 +0200
+++ b/src/hotspot/share/jvmci/jvmciCompiler.cpp	Wed Sep 11 22:09:05 2019 -0400
@@ -81,7 +81,7 @@
   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;