< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page

        

@@ -807,10 +807,28 @@
           "Allocate nonstatic fields in gaps between previous fields")      \
                                                                             \
   notproduct(bool, PrintFieldLayout, false,                                 \
           "Print field layout for each class")                              \
                                                                             \
+  notproduct(bool, PrintValueLayout, false,                                 \
+          "Print field layout for each value type")                         \
+                                                                            \
+  notproduct(bool, PrintValueArrayLayout, false,                            \
+          "Print array layout for each value type array")                   \
+                                                                            \
+  product(intx, ValueArrayElemMaxFlatSize, -1,                              \
+          "Max size for flattening value array elements, <0 no limit")      \
+                                                                            \
+  product(intx, ValueFieldMaxFlatSize, 128,                                 \
+          "Max size for flattening value type fields, <0 no limit")         \
+                                                                            \
+  product(intx, ValueArrayElemMaxFlatOops, 4,                               \
+          "Max nof embedded object references in a value type to flatten, <0 no limit")  \
+                                                                            \
+  product(bool, ValueArrayAtomicAccess, false,                              \
+          "Atomic value array accesses by-default, for all value arrays")   \
+                                                                            \
   /* Need to limit the extent of the padding to reasonable size.          */\
   /* 8K is well beyond the reasonable HW cache line size, even with       */\
   /* aggressive prefetching, while still leaving the room for segregating */\
   /* among the distinct pages.                                            */\
   product(intx, ContendedPaddingWidth, 128,                                 \

@@ -2246,11 +2264,12 @@
   manageable(bool, PrintConcurrentLocks, false,                             \
           "Print java.util.concurrent locks in thread dump")                \
                                                                             \
   /* Shared spaces */                                                       \
                                                                             \
-  product(bool, UseSharedSpaces, true,                                      \
+  /* Disabled UseSharedSpaces for Valhalla, just for now */                 \
+  product(bool, UseSharedSpaces, false,                                     \
           "Use shared spaces for metadata")                                 \
                                                                             \
   product(bool, VerifySharedSpaces, false,                                  \
           "Verify integrity of shared spaces")                              \
                                                                             \

@@ -2459,11 +2478,42 @@
                                                                             \
   JFR_ONLY(product(ccstr, StartFlightRecording, NULL,                       \
           "Start flight recording with options"))                           \
                                                                             \
   experimental(bool, UseFastUnorderedTimeStamps, false,                     \
-          "Use platform unstable time where supported for timestamps only")
+          "Use platform unstable time where supported for timestamps only") \
+                                                                            \
+  product(bool, EnableValhalla, true,                                       \
+          "Enable experimental Valhalla features")                          \
+                                                                            \
+  product(bool, EnableValhallaC1, false,                                    \
+          "Enable C1 compiler for Valhalla")                                \
+                                                                            \
+  product_pd(bool, ValueTypePassFieldsAsArgs,                               \
+          "Pass each value type field as an argument at calls")             \
+                                                                            \
+  product_pd(bool, ValueTypeReturnedAsFields,                               \
+          "Return fields instead of a value type reference")                \
+                                                                            \
+  develop(bool, StressValueTypeReturnedAsFields, false,                     \
+          "Stress return of fields instead of a value type reference")      \
+                                                                            \
+  develop(bool, ScalarizeValueTypes, true,                                  \
+          "Scalarize value types in compiled code")                         \
+                                                                            \
+  product(bool, PrintNewLayout, false,                                      \
+               "Print layout compute by new algorithm")                     \
+                                                                            \
+  product(bool, PrintFlattenableLayouts, false,                             \
+                "Print layout of inline classes and classes with "          \
+                "flattenable fields")                                       \
+                                                                            \
+  product(bool, UseNewLayout, true,                                         \
+               "Use new algorithm to compute layouts")                      \
+                                                                            \
+
+
 
 // Interface macros
 #define DECLARE_PRODUCT_FLAG(type, name, value, doc)      extern "C" type name;
 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc)          extern "C" type name;
 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc)   extern "C" type name;
< prev index next >