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

Albert Mingkun Yang ayang at openjdk.java.net
Mon Nov 29 10:40:33 UTC 2021

Move the logic of tracking ref-count to `ReferenceProcessorPhaseTimes` so that the provider of getter/setter is consistent inside ref-processing.

Test: hotspot_gc


Commit messages:
 - ref_count

Changes: https://git.openjdk.java.net/jdk/pull/6588/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6588&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8277916
  Stats: 22 lines in 3 files changed: 10 ins; 3 del; 9 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6588.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6588/head:pull/6588

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

More information about the hotspot-gc-dev mailing list