< prev index next >

src/hotspot/share/gc/g1/g1CollectedHeap.hpp

Print this page
rev 60592 : 8252034: G1: Remove *g1_reserved* methods
Reviewed-by:
rev 60593 : 8252035: G1: Clean up G1CollectedHeap::*reserved* methods
Reviewed-by:

*** 1139,1158 **** public: inline G1HeapRegionAttr region_attr(const void* obj) const; inline G1HeapRegionAttr region_attr(uint idx) const; ! MemRegion reserved_region() const { ! return _reserved; ! } ! ! HeapWord* base() const { ! return _reserved.start(); } bool is_in_reserved(const void* addr) const { ! return _reserved.contains(addr); } G1HotCardCache* hot_card_cache() const { return _hot_card_cache; } G1CardTable* card_table() const { --- 1139,1154 ---- public: inline G1HeapRegionAttr region_attr(const void* obj) const; inline G1HeapRegionAttr region_attr(uint idx) const; ! MemRegion reserved() const { ! return _hrm->reserved(); } bool is_in_reserved(const void* addr) const { ! return reserved().contains(addr); } G1HotCardCache* hot_card_cache() const { return _hot_card_cache; } G1CardTable* card_table() const {
*** 1280,1292 **** static size_t humongous_obj_size_in_regions(size_t word_size); // Print the maximum heap capacity. virtual size_t max_capacity() const; - // Return the size of reserved memory. Returns different value than max_capacity() when AllocateOldGenAt is used. - virtual size_t max_reserved_capacity() const; - Tickspan time_since_last_collection() const { return Ticks::now() - _collection_pause_end; } // Convenience function to be used in situations where the heap type can be // asserted to be this type. static G1CollectedHeap* heap() { --- 1276,1285 ----
< prev index next >