RFR: 8325469: Freeze/Thaw code can crash in the presence of OSR frames

Patricio Chilano Mateo pchilanomate at openjdk.org
Mon Apr 8 14:16:24 UTC 2024


On Fri, 5 Apr 2024 23:43:27 GMT, Dean Long <dlong at openjdk.org> wrote:

> This looks good, but have you considered computing the value every time instead of caching it in _num_stack_arg_slots and increasing the size of every nmethod?
>
Since this is used in the thaw fast path too I wanted the avoid the extra load of constMethod if possible, but I think either case is fine. Moving _is_unlinked to where the other booleans are defined actually keeps the size of the nmethod same as before (368 bytes). What do you think?

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

PR Comment: https://git.openjdk.org/jdk/pull/18637#issuecomment-2042867162


More information about the hotspot-dev mailing list