RFR: 8273451: Remove unreachable return in mutexLocker::wait

Leonid Mesnik lmesnik at openjdk.java.net
Wed Sep 8 03:12:05 UTC 2021


On Tue, 7 Sep 2021 19:38:43 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> Refactored  mutexLocker::wait to return redundant unreachable "return false;"

I don't see a big difference here but prefer ?: in such cases. Just a little more compact.

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

PR: https://git.openjdk.java.net/jdk/pull/5398


More information about the hotspot-runtime-dev mailing list