equal
deleted
inserted
replaced
698 // Reserved (g1 only; super method includes perm), capacity and the used |
698 // Reserved (g1 only; super method includes perm), capacity and the used |
699 // portion in bytes. |
699 // portion in bytes. |
700 size_t g1_reserved_obj_bytes() { return _g1_reserved.byte_size(); } |
700 size_t g1_reserved_obj_bytes() { return _g1_reserved.byte_size(); } |
701 virtual size_t capacity() const; |
701 virtual size_t capacity() const; |
702 virtual size_t used() const; |
702 virtual size_t used() const; |
|
703 // This should be called when we're not holding the heap lock. The |
|
704 // result might be a bit inaccurate. |
|
705 size_t used_unlocked() const; |
703 size_t recalculate_used() const; |
706 size_t recalculate_used() const; |
704 #ifndef PRODUCT |
707 #ifndef PRODUCT |
705 size_t recalculate_used_regions() const; |
708 size_t recalculate_used_regions() const; |
706 #endif // PRODUCT |
709 #endif // PRODUCT |
707 |
710 |