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

David Holmes dholmes at openjdk.java.net
Mon Oct 25 21:44:55 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.

Seems fine.

Thanks,
David

Okay I see. So all the explicit true/false uses are non-default for the given type of Mutex.

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

Marked as reviewed by dholmes (Reviewer).

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


More information about the hotspot-runtime-dev mailing list