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

Martin Doerr mdoerr at openjdk.org
Tue Oct 17 14:03:10 UTC 2023


On Thu, 12 Oct 2023 14:03:20 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.

This pull request has now been integrated.

Changeset: d0ea2a51
Author:    Martin Doerr <mdoerr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d0ea2a51111bd5de5a6465e7de6a4950aae89c71
Stats:     40 lines in 3 files changed: 16 ins; 0 del; 24 mod

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

Reviewed-by: pchilanomate, dlong

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

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


More information about the hotspot-dev mailing list