RFR: 8348858: [leyden] Bump the default code buffer sizes to store more generated code [v5]
Aleksey Shipilev
shade at openjdk.org
Fri Jan 31 22:14:01 UTC 2025
On Fri, 31 Jan 2025 18:32:46 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`
>
> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix build
Yes, direct benchmarks show it still performs like it should. `runtime/cds` also passes well.
-------------
PR Comment: https://git.openjdk.org/leyden/pull/28#issuecomment-2628483913
More information about the leyden-dev
mailing list