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

Aleksey Shipilev shade at openjdk.org
Tue Dec 19 13:25:49 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

This pull request has now been integrated.

Changeset: 00d74bed
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/00d74bedf42573e0e1e3e99948c743662e93515a
Stats:     11 lines in 4 files changed: 8 ins; 2 del; 1 mod

8314220: Configurable InlineCacheBuffer size

Reviewed-by: phh
Backport-of: a40d8d97e84d88d1a65aba81bfc09339be95e427

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

PR: https://git.openjdk.org/jdk17u-dev/pull/2015


More information about the jdk-updates-dev mailing list