RFR: JDK-8304723: Statically allocate global mutexes [v5]

Coleen Phillimore coleenp at openjdk.org
Fri Mar 24 16:58:05 UTC 2023


On Fri, 24 Mar 2023 16:42:26 GMT, Justin King <jcking at openjdk.org> wrote:

>> Fixed the spacing to be `rank() - 1`.
>> 
>> As far as `N` and `L` I don't think its anything special. I chose `_DEF` to be the shared macro implementation and `N` as a short for `DEFiNition`. `L` I assume means lock, as in define using another lock's rank. But that is a guess.
>
> Also helps that both `_DEFN` and `_DEFL` have the same length, so it helps align things nicely.

Yes, the 'l' in defl was for "lock" originally.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13143#discussion_r1147839413


More information about the hotspot-dev mailing list