RFR: 8277916: Gather non-strong reference count logic in a single place

Albert Mingkun Yang ayang at openjdk.java.net
Thu Dec 2 16:58:06 UTC 2021


On Thu, 2 Dec 2021 16:29:06 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

> to remove ReferenceProcessorStats and instead pass in the "phase times" to report_gc_reference_stats

I explored that approach firstly. It works nicely for Serial, Parallel and G1. However, Shenandoah and ZGC don't use "phase times", so I don't see an easy way to satisfy all GCs after changing the signature of `report_gc_reference_stats`.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6588



More information about the hotspot-gc-dev mailing list