RFR: 8316670: Remove effectively unused nmethodBucket::_count

Vladimir Kozlov kvn at openjdk.org
Thu Sep 21 19:18:07 UTC 2023


On Thu, 21 Sep 2023 12:54:15 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   please review this removal of effectively dead code: `nmethodBucket::_count` is effectively dead code because as it's intended to be used as a refcount to check for mismatched add/remove calls, for some time now the remove-call has been removed, making the count obsolete.
> 
> Testing: gha
> 
> Thanks,
>   Thomas

Make sense.

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

Marked as reviewed by kvn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15863#pullrequestreview-1638541158


More information about the hotspot-compiler-dev mailing list