src/hotspot/share/utilities/macros.hpp
changeset 50021 b8308d6356e7
parent 49982 9042ffe5b7fe
child 50113 caf115bb98ad
child 56535 532bc255382f
--- a/src/hotspot/share/utilities/macros.hpp	Sat May 05 12:38:15 2018 -0400
+++ b/src/hotspot/share/utilities/macros.hpp	Sat May 05 18:55:31 2018 +0200
@@ -218,9 +218,13 @@
 #if INCLUDE_NMT
 #define NOT_NMT_RETURN        /* next token must be ; */
 #define NOT_NMT_RETURN_(code) /* next token must be ; */
+#define NMT_ONLY(x) x
+#define NOT_NMT(x)
 #else
 #define NOT_NMT_RETURN        {}
 #define NOT_NMT_RETURN_(code) { return code; }
+#define NMT_ONLY(x)
+#define NOT_NMT(x) x
 #endif // INCLUDE_NMT
 
 #ifndef INCLUDE_TRACE