RFR: 8275162: Use varargs in 'def' macros in mutexLocker.cpp

Coleen Phillimore coleenp at openjdk.java.net
Mon Oct 25 21:34:10 UTC 2021

On Mon, 25 Oct 2021 14:11:15 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change uses vararags in the 'def' and 'defl' macros in mutexLocker.cpp so that only the exceptions to the default parameter for _allow_vm_block are specified.
> Some of these exceptions are not needed but that's a later patch that I'm working on.
> Tested with tier1 sanity (all Oracle platforms) and tier1-3 linux-x64-debug, linux-x64, windows-x64-debug.

No, the default for allow_vm_block is 'true' for no-safepoint checking locks and 'false' for safepoint checking locks.  I am NOT changing any of the values with this change.

  Mutex(Rank rank, const char *name) :
    Mutex(rank, name, rank > nosafepoint ? false : true) {}


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

More information about the hotspot-runtime-dev mailing list