RFR: 8316670: Remove effectively unused nmethodBucket::_count

Thomas Schatzl tschatzl at openjdk.org
Thu Sep 21 16:02:03 UTC 2023


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

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

Commit messages:
 - 8316670 initial version

Changes: https://git.openjdk.org/jdk/pull/15863/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15863&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8316670
  Stats: 40 lines in 2 files changed: 1 ins; 22 del; 17 mod
  Patch: https://git.openjdk.org/jdk/pull/15863.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15863/head:pull/15863

PR: https://git.openjdk.org/jdk/pull/15863


More information about the hotspot-compiler-dev mailing list