On Thu, 14 May 2026 11:11:36 GMT, Andrew Haley <[email protected]> wrote:

>> Agreed. Looks like doing save-in-vector is more hassle than it is worth. I 
>> would be happy if we just not yank the register for tier1 code. tier2/3 code 
>> can suffer with one fewer GP register.
>
>> Agreed. Looks like doing save-in-vector is more hassle than it is worth. I 
>> would be happy if we just not yank the register for tier1 code. tier2/3 code 
>> can suffer with one fewer GP register.
> 
> Mm, that's an interesting idea. Could I do it in a follow-up?

Yes. As a middle ground, I propose ergonomically setting 
`ProfileCaptureRatio=1` when user supplies `TieredStopAtLevel=1`. AFAICS, this 
already disables register reservation. This would cover 99.9% of cases we care 
about, realistically. So maybe that's the fix in itself.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28541#discussion_r3257866005

Reply via email to