--- old/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-11-26 11:11:13.615519185 +0100 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-11-26 11:11:13.171516984 +0100 @@ -593,6 +593,7 @@ // 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. @@ -600,8 +601,7 @@ // 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) {