--- old/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-11-15 10:26:33.205448645 +0100 +++ new/src/hotspot/share/gc/g1/g1CollectedHeap.hpp 2019-11-15 10:26:32.749446384 +0100 @@ -590,6 +590,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. @@ -597,8 +598,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) {