RFR: "F: Code Cache Roots" is missing from gc+stats

Aleksey Shipilev shade at redhat.com
Tue May 23 06:39:06 UTC 2017


Hi,

This is because we miss one legit ShenandoahRootProcessor use:

$ hg diff
diff -r 9d9147985937 src/share/vm/gc/shenandoah/shenandoahMarkCompact.cpp
--- a/src/share/vm/gc/shenandoah/shenandoahMarkCompact.cpp	Mon May 22 16:20:15
2017 -0400
+++ b/src/share/vm/gc/shenandoah/shenandoahMarkCompact.cpp	Tue May 23 08:36:19
2017 +0200
@@ -614,7 +614,7 @@
   {
     COMPILER2_PRESENT(DerivedPointerTable::clear());

-    ShenandoahRootProcessor rp(heap, nworkers);
+    ShenandoahRootProcessor rp(heap, nworkers,
ShenandoahCollectorPolicy::full_gc_roots);
     ShenandoahAdjustRootPointersTask task(&rp);
     workers->run_task(&task);
     COMPILER2_PRESENT(DerivedPointerTable::update_pointers());


Thanks,
-Aleksey



More information about the shenandoah-dev mailing list