< prev index next >
src/hotspot/share/gc/g1/g1MonitoringSupport.cpp
Print this page
rev 53923 : [mq]: 8219747-remove-g1-prefix
@@ -232,11 +232,11 @@
uint survivor_list_length = _g1h->survivor_regions_count();
assert(young_list_length >= survivor_list_length, "invariant");
uint eden_list_length = young_list_length - survivor_list_length;
// Max length includes any potential extensions to the young gen
// we'll do when the GC locker is active.
- uint young_list_max_length = _g1h->g1_policy()->young_list_max_length();
+ uint young_list_max_length = _g1h->policy()->young_list_max_length();
assert(young_list_max_length >= survivor_list_length, "invariant");
uint eden_list_max_length = young_list_max_length - survivor_list_length;
_overall_used = _g1h->used_unlocked();
_eden_space_used = (size_t) eden_list_length * HeapRegion::GrainBytes;
< prev index next >