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

Martin Doerr mdoerr at openjdk.org
Fri Oct 13 21:33:41 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.

That may help debugging. I've added illegal values: 0x 05A looks a bit like OSR and 0x DE0BD sounds a bit like deopt :-)

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

PR Comment: https://git.openjdk.org/jdk/pull/16165#issuecomment-1762181428


More information about the hotspot-dev mailing list