RFR: 8318015: Lock inflation not needed for OSR or Deopt for new locking modes [v2]
Dean Long
dlong at openjdk.org
Fri Oct 13 20:02:09 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.
In debug builds, it might be useful to write an illegal value into the displaced header instead of just skipping it.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16165#issuecomment-1762131090
More information about the hotspot-dev
mailing list