equal
deleted
inserted
replaced
228 |
228 |
229 #ifdef ASSERT |
229 #ifdef ASSERT |
230 _visited_for_critical_count = false; |
230 _visited_for_critical_count = false; |
231 #endif |
231 #endif |
232 |
232 |
233 _SR_lock = new Monitor(Mutex::suspend_resume, "SR_lock", true); |
233 _SR_lock = new Monitor(Mutex::suspend_resume, "SR_lock", true, |
|
234 Monitor::_safepoint_check_sometimes); |
234 _suspend_flags = 0; |
235 _suspend_flags = 0; |
235 |
236 |
236 // thread-specific hashCode stream generator state - Marsaglia shift-xor form |
237 // thread-specific hashCode stream generator state - Marsaglia shift-xor form |
237 _hashStateX = os::random(); |
238 _hashStateX = os::random(); |
238 _hashStateY = 842502087; |
239 _hashStateY = 842502087; |