RFR: 8255582: Introduce SemaphoreLock and SemaphoreLocker

Stefan Karlsson stefank at openjdk.java.net
Thu Oct 29 13:17:43 UTC 2020


On Thu, 29 Oct 2020 11:11:10 GMT, Per Liden <pliden at openjdk.org> wrote:

> For low-level locks, an alternative could be to use PlatformMutex.

Sounds like a good idea. Though, I think that class needs to be brought out to its own header, or out of os::, so that I don't have to include os.hpp whenever a forward declaration would be enough.

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

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


More information about the hotspot-dev mailing list