Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/shared/vmGCOperations.cpp @ 14309:63a4eb8bcd23
8025856: Fix typos in the GC code
Summary: Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author | jwilhelm |
---|---|
date | Thu, 23 Jan 2014 14:47:23 +0100 |
parents | bf9e50c573ad |
children | 2c95095271e9 |
comparison
equal
deleted
inserted
replaced
14308:870aedf4ba4f | 14309:63a4eb8bcd23 |
---|---|
80 InstanceRefKlass::release_and_notify_pending_list_lock(&_pending_list_basic_lock); | 80 InstanceRefKlass::release_and_notify_pending_list_lock(&_pending_list_basic_lock); |
81 } | 81 } |
82 | 82 |
83 // Allocations may fail in several threads at about the same time, | 83 // Allocations may fail in several threads at about the same time, |
84 // resulting in multiple gc requests. We only want to do one of them. | 84 // resulting in multiple gc requests. We only want to do one of them. |
85 // In case a GC locker is active and the need for a GC is already signalled, | 85 // In case a GC locker is active and the need for a GC is already signaled, |
86 // we want to skip this GC attempt altogether, without doing a futile | 86 // we want to skip this GC attempt altogether, without doing a futile |
87 // safepoint operation. | 87 // safepoint operation. |
88 bool VM_GC_Operation::skip_operation() const { | 88 bool VM_GC_Operation::skip_operation() const { |
89 bool skip = (_gc_count_before != Universe::heap()->total_collections()); | 89 bool skip = (_gc_count_before != Universe::heap()->total_collections()); |
90 if (_full && skip) { | 90 if (_full && skip) { |