RFR: 8315880: change LockingMode default from LM_LEGACY to LM_LIGHTWEIGHT

Julian Waters jwaters at openjdk.org
Fri Oct 6 05:06:12 UTC 2023


On Thu, 5 Oct 2023 19:56:00 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

> That would be unexpected breakage indeed...

Haha, indeed. Since this was just a default flag change, it's likely the entire thing was broken on my end to begin with, just that it never manifested since I never used the lightweight mode

> > I think this may have broken JDK-8288293 😅
> > Is there any compiler specific implementation involved with the new lightweight locking? Just a quick question, I can figure out the rest on my own
> 
> Not that I am aware of. AFAIK, it works fine with various versions of GCC on Linux, Xcode on MacOS and VS on Windows.

Not with gcc on Windows, unfortunately. Looks like I have some work cut out for me. Thanks for the replies

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

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


More information about the serviceability-dev mailing list