RFR: 8331021: Deprecate and obsolete the DontYieldALot flag [v2]

David Holmes dholmes at openjdk.org
Wed Apr 24 04:16:54 UTC 2024


> 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

David Holmes has updated the pull request incrementally with one additional commit since the last revision:

  Remove unused develop flag

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18928/files
  - new: https://git.openjdk.org/jdk/pull/18928/files/4981b6fa..c19b9ff4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18928&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18928&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 3 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/18928.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18928/head:pull/18928

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


More information about the hotspot-runtime-dev mailing list