< prev index next >

src/hotspot/share/gc/z/zHeap.cpp

Print this page

        

@@ -29,11 +29,11 @@
 #include "gc/z/zHeapIterator.hpp"
 #include "gc/z/zMark.inline.hpp"
 #include "gc/z/zPage.inline.hpp"
 #include "gc/z/zPageTable.inline.hpp"
 #include "gc/z/zRelocationSet.inline.hpp"
-#include "gc/z/zRelocationSetSelector.hpp"
+#include "gc/z/zRelocationSetSelector.inline.hpp"
 #include "gc/z/zResurrection.hpp"
 #include "gc/z/zStat.hpp"
 #include "gc/z/zThread.inline.hpp"
 #include "gc/z/zVerify.hpp"
 #include "gc/z/zWorkers.inline.hpp"

@@ -410,13 +410,16 @@
   for (ZForwarding* forwarding; rs_iter.next(&forwarding);) {
     _forwarding_table.insert(forwarding);
   }
 
   // Update statistics
-  ZStatRelocation::set_at_select_relocation_set(selector.relocating());
-  ZStatHeap::set_at_select_relocation_set(selector.live(),
-                                          selector.garbage(),
+  ZStatRelocation::set_at_select_relocation_set(selector.stats_small(),
+                                                selector.stats_medium(),
+                                                selector.stats_large());
+  ZStatHeap::set_at_select_relocation_set(selector.stats_small(),
+                                          selector.stats_medium(),
+                                          selector.stats_large(),
                                           reclaimed());
 }
 
 void ZHeap::reset_relocation_set() {
   // Reset forwarding table
< prev index next >