RFR: 8319251: [REDO] Change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT

Daniel D. Daugherty dcubed at openjdk.org
Tue Mar 19 13:32:20 UTC 2024


On Tue, 19 Mar 2024 03:08:24 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> A fix to change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT.
>
> Default switch looks good.
> 
> I'm surprised that the changes in VMProps.java were not already in place as they are needed regardless of what the default lock mode is. ???

@dholmes-ora - Thanks for the review!

Yes, this was quite the surprise when I did my first round of Mach5 Tier[1-8] testing.
All of the original Mach5 testing for recursive lightweight locking skipped the macosx-x64
platform because of our shortage of those machines (understandable!) so this issue was
not caught then. The gory details about those closed task definitions are in the bug report.

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

PR Comment: https://git.openjdk.org/jdk/pull/17932#issuecomment-2007181936


More information about the hotspot-runtime-dev mailing list