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

Aleksey Shipilev shade at openjdk.org
Thu Jan 30 11:28:02 UTC 2025


On Wed, 29 Jan 2025 19:28:47 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> On other hand this line change affects only requested size and not how final instructions section size is calculated. So it could be fine.
>
> Dang. I have not realized this is a possible input to inline heuristics. Let me see if it is affecting anything, and/or if I can avoid touching this part.

Yeah, this affects inlining heuristics in a major way, like the issues you have linked described. Additionally, I realized the whole `estimate_stub_size` does not actually work well: https://github.com/openjdk/jdk/pull/23333#issuecomment-2624140301. So I am making a lateral move here, and fixing C2 stub barrier expansion code directly for Leyden.

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

PR Review Comment: https://git.openjdk.org/leyden/pull/28#discussion_r1935449261


More information about the leyden-dev mailing list