Integrated: 8331021: Deprecate and then obsolete the DontYieldALot flag

David Holmes dholmes at openjdk.org
Tue Apr 30 06:56:14 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.
> 
> As I was changing globals.hpp I also took the opportunity to remove the unused  `DontYieldALotInterval` flag.
> 
> Testing:
>  - tiers 1-3 (sanity)
> 
> Thanks

This pull request has now been integrated.

Changeset: b128bd7b
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b128bd7b5a1dcf3e7a55d3e3b0c4a9998bde963e
Stats:     6 lines in 3 files changed: 2 ins; 3 del; 1 mod

8331021: Deprecate and then obsolete the DontYieldALot flag

Reviewed-by: coleenp, stuefe, shade

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

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


More information about the hotspot-runtime-dev mailing list