[jdk17u-dev] RFR: 8314220: Configurable InlineCacheBuffer size

Paul Hohensee phh at openjdk.org
Thu Dec 7 19:44:17 UTC 2023


On Tue, 5 Dec 2023 18:10:19 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> 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

Marked as reviewed by phh (Reviewer).

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

PR Review: https://git.openjdk.org/jdk17u-dev/pull/2015#pullrequestreview-1770915183


More information about the jdk-updates-dev mailing list