RFR: 8325872: Make GuaranteedSafepointInterval default 0
Coleen Phillimore
coleenp at openjdk.org
Wed Apr 17 16:08:13 UTC 2024
This change keeps the GuaranteedSafepointInterval option for use with -XX:+HandshakeALot and -XX:+SafepointALot and removes it from working with the MonitorDeflationThread. The MonitorDeflation thread has it's own timers and doesn't require safepoint to trigger anymore, so the GuaranteedSafepointInterval is logically unrelated except for historical reasons.
The option AsyncDeflationInterval default is 250 so was used anyway in this code for the monitor deflation thread timer.
Tested with tier1-8. Also performance tested this which didn't show any improvements.
-------------
Commit messages:
- 8325872: Make GuaranteedSafepointInterval default 0
Changes: https://git.openjdk.org/jdk/pull/18820/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18820&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8325872
Stats: 48 lines in 5 files changed: 9 ins; 29 del; 10 mod
Patch: https://git.openjdk.org/jdk/pull/18820.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18820/head:pull/18820
PR: https://git.openjdk.org/jdk/pull/18820
More information about the hotspot-runtime-dev
mailing list