RFR: 8315880: change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT

Roman Kennke rkennke at openjdk.org
Fri Sep 22 11:30:22 UTC 2023


On Mon, 18 Sep 2023 20:47:13 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

> Change the default of LockingMode to LM_LIGHTWEIGHT from LM_LEGACY.
> 
> This fix has been tested with 3 Mach5 Tier[1-8] runs and a 4th is in process.

BTW: would that mess with JVMCI/Graal? AFAIK, Graal does not implement support for lightweight locking, yet. Should we disable LW-locking when running with JVMCI?

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

PR Comment: https://git.openjdk.org/jdk/pull/15797#issuecomment-1731261112


More information about the serviceability-dev mailing list