Integrated: 8348858: [leyden] Bump the default code buffer sizes to store more generated code

Aleksey Shipilev shade at openjdk.org
Fri Jan 31 23:32:57 UTC 2025


On Tue, 28 Jan 2025 13:55:13 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Due to current prototype limitation, we cannot yet store the generated code that has the expanded code buffer. I tried to address that directly, but I think relocations disagree with the whole thing, so this implementation limitation stays for a bit longer. I turned the bailout due to that cause from `info` into `warning`.
> 
> On `JavacBenchApp 50`, this causes us to lose 700 (!) C2 compiled methods from the SCC! We can dodge significant part of the hit by bumping the default code buffer sizes, and thus making buffers less likely to require resizing, and thus allowing to store more code in SCC. 
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, `runtime/cds`

This pull request has now been integrated.

Changeset: 00beee7a
Author:    Aleksey Shipilev <shade at openjdk.org>
Committer: Vladimir Kozlov <kvn at openjdk.org>
URL:       https://git.openjdk.org/leyden/commit/00beee7a6af21204f658b9523ca3369c442db230
Stats:     43 lines in 6 files changed: 34 ins; 0 del; 9 mod

8348858: [leyden] Bump the default code buffer sizes to store more generated code

Reviewed-by: kvn

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

PR: https://git.openjdk.org/leyden/pull/28


More information about the leyden-dev mailing list