< prev index next >

src/hotspot/share/runtime/arguments.hpp

Print this page
rev 53569 : 8218136: minor hotspot adjustments for xlclang++ from xlc16 on AIX

@@ -661,6 +661,18 @@
     }                                                    \
     FLAG_SET_DEFAULT(opt, false);                        \
   }                                                      \
 } while(0)
 
+// similar to UNSUPPORTED_OPTION but sets flag to NULL
+#define UNSUPPORTED_OPTION_NULL(opt)                     \
+do {                                                     \
+  if (opt) {                                             \
+    if (FLAG_IS_CMDLINE(opt)) {                          \
+      warning("-XX flag " #opt " not supported in this VM"); \
+    }                                                    \
+    FLAG_SET_DEFAULT(opt, NULL);                         \
+  }                                                      \
+} while(0)
+
+
 #endif // SHARE_RUNTIME_ARGUMENTS_HPP
< prev index next >