8286303: Serial: Remove reference to ParGCRareEvent_lock
Reviewed-by: kbarrett, iwalulya
This commit is contained in:
parent
9835678a86
commit
ecbb380450
src/hotspot/share
@ -66,9 +66,7 @@ inline HeapWord* BlockOffsetSharedArray::address_for_index(size_t index) const {
|
||||
inline void BlockOffsetSharedArray::check_reducing_assertion(bool reducing) {
|
||||
assert(reducing || !SafepointSynchronize::is_at_safepoint() || init_to_zero() ||
|
||||
Thread::current()->is_VM_thread() ||
|
||||
Thread::current()->is_ConcurrentGC_thread() ||
|
||||
((!Thread::current()->is_ConcurrentGC_thread()) &&
|
||||
ParGCRareEvent_lock->owned_by_self()), "Crack");
|
||||
Thread::current()->is_ConcurrentGC_thread(), "Crack");
|
||||
}
|
||||
|
||||
#endif // SHARE_GC_SHARED_BLOCKOFFSETTABLE_INLINE_HPP
|
||||
|
@ -365,8 +365,8 @@ void mutex_init() {
|
||||
|
||||
if (UseG1GC) {
|
||||
defl(G1OldGCCount_lock , PaddedMonitor, Threads_lock, true);
|
||||
defl(ParGCRareEvent_lock , PaddedMutex , Threads_lock, true);
|
||||
}
|
||||
defl(ParGCRareEvent_lock , PaddedMutex , Threads_lock, true);
|
||||
|
||||
defl(CompileTaskAlloc_lock , PaddedMutex , MethodCompileQueue_lock);
|
||||
#ifdef INCLUDE_PARALLELGC
|
||||
|
Loading…
x
Reference in New Issue
Block a user