RFR: 8318480: Obsolete UseCounterDecay and remove CounterDecayMinIntervalLength [v4]

Y. Srinivas Ramakrishna ysr at openjdk.org
Mon Sep 16 23:50:16 UTC 2024


On Fri, 17 Nov 2023 13:09:00 GMT, Daniel Lundén <dlunden at openjdk.org> wrote:

>> This changeset obsoletes the leftover (i.e., no longer used for anything) product compiler flag `UseCounterDecay` (requires CSR) and removes the leftover develop flag `CounterDecayMinIntervalLength`.
>> 
>> Changes:
>> - Obsolete `UseCounterDecay` in JDK 22 and expire it in JDK 23.
>> - Completely remove `CounterDecayMinIntervalLength`.
>> 
>> ### Testing
>> Platforms: windows-x64, linux-x64, linux-aarch64, macosx-x64, macosx-aarch64.
>> - `tier1`
>> - HotSpot parts of `tier2` and `tier3`
>
> Daniel Lundén has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Obsolete UseCounterDecay

src/hotspot/share/runtime/globals.hpp line 1225:

> 1223:   develop(intx, CounterHalfLifeTime,    30,                                 \
> 1224:           "Half-life time of invocation counters (in seconds)")             \
> 1225:                                                                             \

Thanks for making these changes. However, it seems like the obsolete `CounterHalfLifeTime` was missed in this cleanup?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16673#discussion_r1762090336


More information about the hotspot-dev mailing list