On Sat, 2 Dec 2023 01:22:33 GMT, Jonathan Joo <j...@openjdk.org> wrote:
>> I still think that a total counter is useful and I'd appreciate if you can >> keep it. To second what @caoman said before, it is GC agnostic, easy to use >> even for non GC experts and future proof with regards to implementation >> changes in the GCs. Please keep it. > > Put the closure in a scope, I think that should address the concern. Yes, scoping it will work. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15082#discussion_r1413591437