src/share/vm/gc_implementation/shared/vmGCOperations.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/gc_implementation/shared/vmGCOperations.cpp	Wed Jan 15 01:41:41 2014
--- new/src/share/vm/gc_implementation/shared/vmGCOperations.cpp	Wed Jan 15 01:41:41 2014

*** 80,90 **** --- 80,90 ---- InstanceRefKlass::release_and_notify_pending_list_lock(&_pending_list_basic_lock); } // Allocations may fail in several threads at about the same time, // resulting in multiple gc requests. We only want to do one of them. ! // In case a GC locker is active and the need for a GC is already signalled, ! // In case a GC locker is active and the need for a GC is already signaled, // we want to skip this GC attempt altogether, without doing a futile // safepoint operation. bool VM_GC_Operation::skip_operation() const { bool skip = (_gc_count_before != Universe::heap()->total_collections()); if (_full && skip) {

src/share/vm/gc_implementation/shared/vmGCOperations.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File