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

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

Hi Coleen,

So the default for allow_vm_block, if not specified, is false - correct? And you are changing a whole bunch of mutexes from true to false with this change? I'm not clear why some explicit false usages remain.



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

More information about the hotspot-runtime-dev mailing list