equal
deleted
inserted
replaced
41 |
41 |
42 // Other initialization. |
42 // Other initialization. |
43 _monitor = new Monitor(/* priority */ Mutex::leaf, |
43 _monitor = new Monitor(/* priority */ Mutex::leaf, |
44 /* name */ "WorkGroup monitor", |
44 /* name */ "WorkGroup monitor", |
45 /* allow_vm_block */ are_GC_task_threads, |
45 /* allow_vm_block */ are_GC_task_threads, |
46 Monitor::_safepoint_check_sometimes); |
46 Monitor::_safepoint_check_never); |
47 |
47 |
48 assert(monitor() != NULL, "Failed to allocate monitor"); |
48 assert(monitor() != NULL, "Failed to allocate monitor"); |
49 } |
49 } |
50 |
50 |
51 AbstractGangWorker* YieldingFlexibleWorkGang::allocate_worker(uint which) { |
51 AbstractGangWorker* YieldingFlexibleWorkGang::allocate_worker(uint which) { |