RFR: 8277916: Gather non-strong reference count logic in a single place
Stefan Johansson
sjohanss at openjdk.java.net
Fri Dec 3 08:35:15 UTC 2021
On Mon, 29 Nov 2021 10:31:29 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Move the logic of tracking ref-count to `ReferenceProcessorPhaseTimes` so that the provider of getter/setter is consistent inside ref-processing.
>
> Test: hotspot_gc
> > to remove ReferenceProcessorStats and instead pass in the "phase times" to report_gc_reference_stats
>
> 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`.
I was afraid something like this would stop this approach. Thanks.
Ship it!
-------------
PR: https://git.openjdk.java.net/jdk/pull/6588
More information about the hotspot-gc-dev
mailing list