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

Dean Long dlong at openjdk.org
Wed Apr 10 06:34:09 UTC 2024


On Mon, 8 Apr 2024 14:12:45 GMT, Patricio Chilano Mateo <pchilanomate at openjdk.org> wrote:

> 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?

Can you do a performance measurement to see if the extra load actually makes a difference.  I think @vnkozlov is also doing nmethod field reordering/compaction, so the relative overhead of an extra field might not remain 0.

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

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


More information about the hotspot-dev mailing list