changeset 60688:4c21f29c72fd

8241838: Shenandoah: no need to trash cset during final mark Reviewed-by: rkennke
author shade
date Mon, 30 Mar 2020 19:37:23 +0200
parents 53568400fec3
children 634bc0588258
files src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp
diffstat 2 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp	Thu Mar 26 15:26:51 2020 +0000
+++ b/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp	Mon Mar 30 19:37:23 2020 +0200
@@ -1489,12 +1489,6 @@
       sync_pinned_region_status();
     }
 
-    // Trash the collection set left over from previous cycle, if any.
-    {
-      ShenandoahGCPhase phase(ShenandoahPhaseTimings::trash_cset);
-      trash_cset_regions();
-    }
-
     {
       ShenandoahGCPhase phase(ShenandoahPhaseTimings::prepare_evac);
 
--- a/src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp	Thu Mar 26 15:26:51 2020 +0000
+++ b/src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.hpp	Mon Mar 30 19:37:23 2020 +0200
@@ -82,7 +82,6 @@
   f(complete_liveness,                              "  Complete Liveness")             \
   f(retire_tlabs,                                   "  Retire TLABs")                  \
   f(sync_pinned,                                    "  Sync Pinned")                   \
-  f(trash_cset,                                     "  Trash CSet")                    \
   f(prepare_evac,                                   "  Prepare Evacuation")            \
   f(init_evac,                                      "  Initial Evacuation")            \
   SHENANDOAH_GC_PAR_PHASE_DO(evac_,                 "    E: ", f)                      \