changeset 49617:86a349234225

8201227: Add ALL_GCS_ONLY Reviewed-by: sjohanss, shade, rehn
author stefank
date Fri, 06 Apr 2018 13:54:54 +0200
parents 456e51e56ea2
children 947560700a09
files src/hotspot/share/utilities/macros.hpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/utilities/macros.hpp	Fri Apr 06 11:41:21 2018 +0200
+++ b/src/hotspot/share/utilities/macros.hpp	Fri Apr 06 13:54:54 2018 +0200
@@ -141,9 +141,11 @@
 #endif // INCLUDE_ALL_GCS
 
 #if INCLUDE_ALL_GCS
+#define ALL_GCS_ONLY(x) x
 #define NOT_ALL_GCS_RETURN        /* next token must be ; */
 #define NOT_ALL_GCS_RETURN_(code) /* next token must be ; */
 #else
+#define ALL_GCS_ONLY(x)
 #define NOT_ALL_GCS_RETURN        {}
 #define NOT_ALL_GCS_RETURN_(code) { return code; }
 #endif // INCLUDE_ALL_GCS