RFE: https://bugs.openjdk.java.net/browse/JDK-8240749 Webrev: https://cr.openjdk.java.net/~shade/8240749/webrev.01/ It mostly hides naked phase_timings()->record... calls with ShenandoahGCWorkerPhase wrapper. But also cleans up the code a bit. Testing: hotspot_gc_shenandoah -- Thanks, -Aleksey