src/share/vm/memory/sharedHeap.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
8047290absolutely_final Cdiff src/share/vm/memory/sharedHeap.cpp
src/share/vm/memory/sharedHeap.cpp
Print this page
*** 152,162 ****
if (_active) {
_sh->unregister_strong_roots_scope(this);
}
}
! Monitor* SharedHeap::StrongRootsScope::_lock = new Monitor(Mutex::leaf, "StrongRootsScope lock", false);
void SharedHeap::StrongRootsScope::mark_worker_done_with_threads(uint n_workers) {
// The Thread work barrier is only needed by G1 Class Unloading.
// No need to use the barrier if this is single-threaded code.
if (UseG1GC && ClassUnloadingWithConcurrentMark && n_workers > 0) {
--- 152,162 ----
if (_active) {
_sh->unregister_strong_roots_scope(this);
}
}
! Monitor* SharedHeap::StrongRootsScope::_lock = new Monitor(Mutex::leaf, "StrongRootsScope lock", false, Monitor::_safepoint_check_never);
void SharedHeap::StrongRootsScope::mark_worker_done_with_threads(uint n_workers) {
// The Thread work barrier is only needed by G1 Class Unloading.
// No need to use the barrier if this is single-threaded code.
if (UseG1GC && ClassUnloadingWithConcurrentMark && n_workers > 0) {
src/share/vm/memory/sharedHeap.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File