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

Dean Long dlong at openjdk.org
Fri Oct 13 23:36:00 UTC 2023


On Fri, 13 Oct 2023 21:33:32 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:
> 
>   Write values into displaced header slots in debug builds.

Marked as reviewed by dlong (Reviewer).

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

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


More information about the hotspot-dev mailing list