RFR: 8275162: Replace 'def' macros in mutexLocker.cpp
Stefan Karlsson
stefank at openjdk.java.net
Fri Oct 22 08:05:05 UTC 2021
On Thu, 21 Oct 2021 15:24:46 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> This patch removes the 'def' macros from mutexLocker.cpp so it can use the default values for _allow_vm_block when possible and no more macro.
> Tested with tier1-3 with product and debug builds.
+1 for getting rid of the x-macros when possible. Personally, I'm willing to pay the price of having the name duplication, given how the code becomes easier to understand and more IDE friendly.
-------------
Marked as reviewed by stefank (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6066
More information about the hotspot-runtime-dev
mailing list