8287153: Whitespace typos in HeapRegion class

Reviewed-by: ayang
This commit is contained in:
Thomas Schatzl 2022-05-23 11:14:37 +00:00
parent c9065915b6
commit 689f80cbad
2 changed files with 2 additions and 2 deletions

View File

@ -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()); }

View File

@ -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)) {