RFR: 8291714: Implement a Multi-Reader Single-Writer mutex for Hotspot
Johan Sjölén
duke at openjdk.org
Fri Aug 12 12:56:17 UTC 2022
On Fri, 12 Aug 2022 04:57:37 GMT, David Holmes <dholmes at openjdk.org> wrote:
>Is this to allow use by different kinds of threads?
Yes, to avoid having hard-coded branches for each case. If it's only one branch then I think it can be inlined and we can skip the template. This lets us move the methods out of the header file, which is also nice.
-------------
PR: https://git.openjdk.org/jdk/pull/9838
More information about the hotspot-dev
mailing list