RFR: 8331021: Deprecate and obsolete the DontYieldALot flag

Coleen Phillimore coleenp at openjdk.org
Wed Apr 24 02:25:35 UTC 2024


On Wed, 24 Apr 2024 02:18:17 GMT, David Holmes <dholmes at openjdk.org> wrote:

> The `DontYieldALot` flag is an anachronism from very early Java days - see JBS issue for some details. It should be deprecated for removal in JDK 23.
> 
> BTW the description of the flag:
>> Throw away obvious excess yield calls
> 
> has been incorrect for a long time - it throws away all yield calls.
> 
> Testing:
>  - tiers 1-3 (sanity)
> 
> Thanks

Looks good, when CSR is approved.

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

Marked as reviewed by coleenp (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18928#pullrequestreview-2018683112


More information about the hotspot-runtime-dev mailing list