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

Martin Doerr mdoerr at openjdk.org
Thu Oct 12 14:29:27 UTC 2023


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.

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

Commit messages:
 - 8318015: Lock inflation not needed for OSR or Deopt for new locking modes

Changes: https://git.openjdk.org/jdk/pull/16165/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16165&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8318015
  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/16165.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16165/head:pull/16165

PR: https://git.openjdk.org/jdk/pull/16165


More information about the hotspot-dev mailing list