< prev index next >

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

Print this page

        

*** 588,606 **** // Modify the reclaim candidate set and test for presence. // These are only valid for starts_humongous regions. inline void set_humongous_reclaim_candidate(uint region, bool value); inline bool is_humongous_reclaim_candidate(uint region); // Remove from the reclaim candidate set. Also remove from the // collection set so that later encounters avoid the slow path. inline void set_humongous_is_live(oop obj); // Register the given region to be part of the collection set. inline void register_humongous_region_with_region_attr(uint index); ! // Update region attributes table with information about all regions. ! void register_regions_with_region_attr(); // We register a region with the fast "in collection set" test. We // simply set to true the array slot corresponding to this region. void register_young_region_with_region_attr(HeapRegion* r) { _region_attr.set_in_young(r->hrm_index()); } --- 588,606 ---- // Modify the reclaim candidate set and test for presence. // These are only valid for starts_humongous regions. inline void set_humongous_reclaim_candidate(uint region, bool value); inline bool is_humongous_reclaim_candidate(uint region); + inline void set_has_humongous_reclaim_candidate(bool value); // Remove from the reclaim candidate set. Also remove from the // collection set so that later encounters avoid the slow path. inline void set_humongous_is_live(oop obj); // Register the given region to be part of the collection set. inline void register_humongous_region_with_region_attr(uint index); ! // We register a region with the fast "in collection set" test. We // simply set to true the array slot corresponding to this region. void register_young_region_with_region_attr(HeapRegion* r) { _region_attr.set_in_young(r->hrm_index()); }
< prev index next >