src/hotspot/share/gc/parallel/psCardTable.cpp
changeset 58041 d8902e9c307c
parent 57773 5cbc3bd9fdfd
child 58679 9c3209ff7550
equal deleted inserted replaced
58040:d99af76d7689 58041:d8902e9c307c
   198 #ifdef ASSERT
   198 #ifdef ASSERT
   199     if (GCWorkerDelayMillis > 0) {
   199     if (GCWorkerDelayMillis > 0) {
   200       // Delay 1 worker so that it proceeds after all the work
   200       // Delay 1 worker so that it proceeds after all the work
   201       // has been completed.
   201       // has been completed.
   202       if (stripe_number < 2) {
   202       if (stripe_number < 2) {
   203         os::sleep(Thread::current(), GCWorkerDelayMillis, false);
   203         os::naked_sleep(GCWorkerDelayMillis);
   204       }
   204       }
   205     }
   205     }
   206 #endif
   206 #endif
   207 
   207 
   208     // If there are not objects starting within the chunk, skip it.
   208     // If there are not objects starting within the chunk, skip it.