Integrated: 8316670: Remove effectively unused nmethodBucket::_count

Thomas Schatzl tschatzl at openjdk.org
Mon Sep 25 06:39:28 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

This pull request has now been integrated.

Changeset: 837783c2
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/837783c2d333627bfcbef00fc67024aff847bd9f
Stats:     43 lines in 2 files changed: 1 ins; 25 del; 17 mod

8316670: Remove effectively unused nmethodBucket::_count

Reviewed-by: kvn, dlong

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

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


More information about the hotspot-compiler-dev mailing list