src/hotspot/share/utilities/macros.hpp
branchepsilon-gc-branch
changeset 56535 532bc255382f
parent 56533 28a4f284ad83
parent 50021 b8308d6356e7
child 56578 e8414c8ead61
--- a/src/hotspot/share/utilities/macros.hpp	Fri May 04 19:29:01 2018 +0200
+++ b/src/hotspot/share/utilities/macros.hpp	Sun May 06 16:19:56 2018 +0200
@@ -236,9 +236,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