Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/parallelScavenge/psPromotionLAB.hpp @ 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 | b9a9ed0f8eeb |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14308:870aedf4ba4f | 14309:63a4eb8bcd23 |
---|---|
76 bool unallocate_object(HeapWord* obj, size_t obj_size); | 76 bool unallocate_object(HeapWord* obj, size_t obj_size); |
77 | 77 |
78 // Returns a subregion containing all objects in this space. | 78 // Returns a subregion containing all objects in this space. |
79 MemRegion used_region() { return MemRegion(bottom(), top()); } | 79 MemRegion used_region() { return MemRegion(bottom(), top()); } |
80 | 80 |
81 // Boolean querries. | 81 // Boolean queries. |
82 bool is_empty() const { return used() == 0; } | 82 bool is_empty() const { return used() == 0; } |
83 bool not_empty() const { return used() > 0; } | 83 bool not_empty() const { return used() > 0; } |
84 bool contains(const void* p) const { return _bottom <= p && p < _end; } | 84 bool contains(const void* p) const { return _bottom <= p && p < _end; } |
85 | 85 |
86 // Size computations. Sizes are in bytes. | 86 // Size computations. Sizes are in bytes. |