src/hotspot/share/gc/g1/g1MonitoringSupport.cpp
changeset 53985 0da5c17f5e43
parent 53726 5ef581e59d91
child 54467 0c5d713cf43f
--- a/src/hotspot/share/gc/g1/g1MonitoringSupport.cpp	Mon Mar 04 11:49:16 2019 +0100
+++ b/src/hotspot/share/gc/g1/g1MonitoringSupport.cpp	Mon Mar 04 11:49:16 2019 +0100
@@ -234,7 +234,7 @@
   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;