comparison src/share/vm/gc_implementation/shared/vmGCOperations.cpp @ 14314:2c95095271e9

Merge
author ehelin
date Thu, 30 Jan 2014 14:01:45 +0100
parents a3ba776d6ab6 63a4eb8bcd23
children e6195383bcaf
comparison
equal deleted inserted replaced
14302:1fb56cbac3a1 14314:2c95095271e9
81 InstanceRefKlass::release_and_notify_pending_list_lock(&_pending_list_basic_lock); 81 InstanceRefKlass::release_and_notify_pending_list_lock(&_pending_list_basic_lock);
82 } 82 }
83 83
84 // Allocations may fail in several threads at about the same time, 84 // Allocations may fail in several threads at about the same time,
85 // resulting in multiple gc requests. We only want to do one of them. 85 // resulting in multiple gc requests. We only want to do one of them.
86 // In case a GC locker is active and the need for a GC is already signalled, 86 // In case a GC locker is active and the need for a GC is already signaled,
87 // we want to skip this GC attempt altogether, without doing a futile 87 // we want to skip this GC attempt altogether, without doing a futile
88 // safepoint operation. 88 // safepoint operation.
89 bool VM_GC_Operation::skip_operation() const { 89 bool VM_GC_Operation::skip_operation() const {
90 bool skip = (_gc_count_before != Universe::heap()->total_collections()); 90 bool skip = (_gc_count_before != Universe::heap()->total_collections());
91 if (_full && skip) { 91 if (_full && skip) {