--- a/src/hotspot/share/gc/g1/g1CollectedHeap.hpp Wed Nov 27 11:31:46 2019 +0100
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.hpp Wed Nov 27 12:18:40 2019 +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) {