8287153: Whitespace typos in HeapRegion class
Reviewed-by: ayang
This commit is contained in:
parent
c9065915b6
commit
689f80cbad
@ -117,7 +117,7 @@ public:
|
||||
// given address.
|
||||
bool is_in_reserved(const void* p) const { return _bottom <= p && p < _end; }
|
||||
|
||||
size_t capacity() const { return byte_size(bottom(), end()); }
|
||||
size_t capacity() const { return byte_size(bottom(), end()); }
|
||||
size_t used() const { return byte_size(bottom(), top()); }
|
||||
size_t free() const { return byte_size(top(), end()); }
|
||||
|
||||
|
@ -140,7 +140,7 @@ inline bool HeapRegion::is_obj_dead(const oop obj, const G1CMBitMap* const prev_
|
||||
!is_closed_archive();
|
||||
}
|
||||
|
||||
inline size_t HeapRegion::block_size(const HeapWord *addr) const {
|
||||
inline size_t HeapRegion::block_size(const HeapWord* addr) const {
|
||||
assert(addr < top(), "precondition");
|
||||
|
||||
if (block_is_obj(addr)) {
|
||||
|
Loading…
Reference in New Issue
Block a user