RFR: 8318015: Lock inflation not needed for OSR or Deopt for new locking modes [v2]

Patricio Chilano Mateo pchilanomate at openjdk.org
Fri Oct 13 16:03:34 UTC 2023


On Fri, 13 Oct 2023 14:48:42 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> Only LockingMode "LM_LEGACY" requires inflation before lock transfers because it is the only one which uses stack addresses in the mark word. I think we should treat the displaced header as stale data because it may be uninitialized.
>
> Martin Doerr has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Skip copying displaced header.

Looks good to me, thanks.

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

Marked as reviewed by pchilanomate (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/16165#pullrequestreview-1676802176


More information about the hotspot-dev mailing list