[jdk17u-dev] RFR: 8314220: Configurable InlineCacheBuffer size
Aleksey Shipilev
shade at openjdk.org
Tue Dec 5 18:16:47 UTC 2023
Unclean backport to allow a tunable for IC buffer size, to avoid excess `ICBufferFull` safepoints in some workloads.
The backport is not clean for two reasons:
1. Usual `NULL` and `nullptr` context conflict.
2. `% CodeEntryAlignment` and `% stub_alignment()` conflict due to missing [JDK-8284578](https://bugs.openjdk.org/browse/JDK-8284578) in JDK 17u. We could backport that one first, as we expect some other backports in this area as well, like [JDK-8321137](https://bugs.openjdk.org/browse/JDK-8321137). But it was rejected one time, so I would rather see JDK-8321137 to pan out, and then resolve a little conflict introduced by this change later.
Additional testing:
- [x] Eyeballing `-XX:+TraceICBuffer` output on ad-hoc workloads
-------------
Commit messages:
- Backport a40d8d97e84d88d1a65aba81bfc09339be95e427
Changes: https://git.openjdk.org/jdk17u-dev/pull/2015/files
Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2015&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8314220
Stats: 11 lines in 4 files changed: 8 ins; 2 del; 1 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/2015.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2015/head:pull/2015
PR: https://git.openjdk.org/jdk17u-dev/pull/2015
More information about the jdk-updates-dev
mailing list