< prev index next >
src/hotspot/share/gc/parallel/psCardTable.cpp
Print this page
*** 198,208 ****
#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);
}
}
#endif
// If there are not objects starting within the chunk, skip it.
--- 198,208 ----
#ifdef ASSERT
if (GCWorkerDelayMillis > 0) {
// Delay 1 worker so that it proceeds after all the work
// has been completed.
if (stripe_number < 2) {
! os::naked_sleep(GCWorkerDelayMillis);
}
}
#endif
// If there are not objects starting within the chunk, skip it.
< prev index next >