< prev index next >

src/hotspot/share/gc/parallel/psCardTable.cpp

Print this page

        

@@ -198,11 +198,11 @@
 #ifdef ASSERT
     if (GCWorkerDelayMillis > 0) {
       // Delay 1 worker so that it proceeds after all the work
       // has been completed.
       if (stripe_number < 2) {
-        os::sleep(Thread::current(), GCWorkerDelayMillis, false);
+        os::naked_sleep(GCWorkerDelayMillis);
       }
     }
 #endif
 
     // If there are not objects starting within the chunk, skip it.
< prev index next >