RFR: 8355648: Thread.SpinAcquire()'s lock name parameter is not used
Aleksey Shipilev
shade at openjdk.org
Mon Apr 28 08:23:45 UTC 2025
On Sun, 27 Apr 2025 00:41:45 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:
> Please review this trivial change that removes unused lock name parameter.
Looks reasonable. Not trivial, though. I think the intent was to give the diagnostic messages when we are e.g. spinning too much? Does not seem to worth it for the spin-locks that are supposed to be very fast.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/24901#pullrequestreview-2798434872
More information about the hotspot-dev
mailing list