RFR: 8318480: UseCounterDecay and CounterDecayMinIntervalLength are unused and should be removed
Daniel Lundén
duke at openjdk.org
Wed Nov 15 09:48:46 UTC 2023
This changeset deprecates the leftover (i.e., no longer used for anything) product compiler flag `UseCounterDecay` (requires CSR) and removes the leftover develop flag `CounterDecayMinIntervalLength`.
Changes:
- Deprecate `UseCounterDecay` in JDK 22, obsolete it in JDK 23, and expire it in JDK 24. The flag is, in fact, already obsolete, so I've also removed it from the source code (except for the definition in `globals.hpp` which must remain until obsoletion).
- Completely remove `CounterDecayMinIntervalLength`.
### Testing
Platforms: windows-x64, linux-x64, linux-aarch64, macosx-x64, macosx-aarch64.
- `tier1`
- HotSpot parts of `tier2` and `tier3`
-------------
Commit messages:
- Fix issue
Changes: https://git.openjdk.org/jdk/pull/16673/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16673&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8318480
Stats: 38 lines in 21 files changed: 1 ins; 16 del; 21 mod
Patch: https://git.openjdk.org/jdk/pull/16673.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16673/head:pull/16673
PR: https://git.openjdk.org/jdk/pull/16673
More information about the hotspot-dev
mailing list