equal
deleted
inserted
replaced
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. |