RFR: 8291714: Implement a Multi-Reader Single-Writer mutex for Hotspot

David Holmes dholmes at openjdk.org
Wed Aug 17 13:20:15 UTC 2022


On Tue, 16 Aug 2022 18:51:57 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> For what it's worth, C++ Standard Library uses "mutex" to refer to an object that gets locked, and uses "lock" to refer to an RAII object that locks a "mutex".

So their "lock" would be our MutexLocker? The far more dominant terminology is that a mutex is a lock.

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

PR: https://git.openjdk.org/jdk/pull/9838


More information about the hotspot-runtime-dev mailing list