< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page
rev 48545 : Value-based classes (vbc) / Oop value test via metadata ptr

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -4185,10 +4185,21 @@
            DECLARE_NOTPRODUCT_FLAG, \
            IGNORE_RANGE, \
            IGNORE_CONSTRAINT, \
            IGNORE_WRITEABLE)
 
+#if INCLUDE_VBC
+#define VALUE_BASED_CLASS_FLAGS(product) \
+                                \
+  product(ccstrlist, ValueBasedClasses,                                     \
+          NULL,                                                             \
+         "A comma separated list of classes whom should be treated as "    \
+         "value-based")
+
+VALUE_BASED_CLASS_FLAGS(DECLARE_PRODUCT_FLAG)
+#endif // INCLUDE_VBC
+
 // Extensions
 
 #include "runtime/globals_ext.hpp"
 
 #endif // SHARE_VM_RUNTIME_GLOBALS_HPP
< prev index next >