equal
deleted
inserted
replaced
59 assert(ClassUnloadingWithConcurrentMark, "Currently only needed when doing G1 Class Unloading"); |
59 assert(ClassUnloadingWithConcurrentMark, "Currently only needed when doing G1 Class Unloading"); |
60 |
60 |
61 if ((uint)_n_workers_discovered_strong_classes != n_workers()) { |
61 if ((uint)_n_workers_discovered_strong_classes != n_workers()) { |
62 MonitorLocker ml(&_lock, Mutex::_no_safepoint_check_flag); |
62 MonitorLocker ml(&_lock, Mutex::_no_safepoint_check_flag); |
63 while ((uint)_n_workers_discovered_strong_classes != n_workers()) { |
63 while ((uint)_n_workers_discovered_strong_classes != n_workers()) { |
64 _lock.wait_without_safepoint_check(0); |
64 ml.wait(0); |
65 } |
65 } |
66 } |
66 } |
67 } |
67 } |
68 |
68 |
69 G1RootProcessor::G1RootProcessor(G1CollectedHeap* g1h, uint n_workers) : |
69 G1RootProcessor::G1RootProcessor(G1CollectedHeap* g1h, uint n_workers) : |