RFR: 8337642: Serial: Remove redundant counter update in DefNewGeneration::gc_epilogue

Albert Mingkun Yang ayang at openjdk.org
Thu Aug 1 09:53:31 UTC 2024


On Thu, 1 Aug 2024 08:37:10 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> the implied contract seems to be that update_counters is called at appropriate locations

Mabye we can remove it from the base class. Callers of this method always live in gc-specific location where the concrete policy-counter type is known.

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

PR Comment: https://git.openjdk.org/jdk/pull/20416#issuecomment-2262625045


More information about the hotspot-gc-dev mailing list