< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page
@@ -126,10 +126,13 @@
                                                                              \
    product(bool, UseCompressedClassPointers, true,                           \
            "Use 32-bit class pointers in 64-bit VM. "                        \
            "lp64_product means flag is always constant in 32 bit VM")        \
                                                                              \
+   product(bool, UseCompactObjectHeaders, false, EXPERIMENTAL,               \
+           "Use compact 64-bit object headers in 64-bit VM")                 \
+                                                                             \
    product(int, ObjectAlignmentInBytes, 8,                                   \
            "Default object alignment in bytes, 8 is minimum")                \
            range(8, 256)                                                     \
            constraint(ObjectAlignmentInBytesConstraintFunc, AtParse)
  

@@ -142,10 +145,11 @@
                             product_pd,                                      \
                             range,                                           \
                             constraint)
  const bool UseCompressedOops = false;
  const bool UseCompressedClassPointers = false;
+ const bool UseCompactObjectHeaders = false;
  const int ObjectAlignmentInBytes = 8;
  
  #endif // _LP64
  
  #define RUNTIME_FLAGS(develop,                                              \

@@ -1965,10 +1969,21 @@
            "0: monitors only (LM_MONITOR), "                                 \
            "1: monitors & legacy stack-locking (LM_LEGACY), "                \
            "2: monitors & new lightweight locking (LM_LIGHTWEIGHT, default)") \
            range(0, 2)                                                       \
                                                                              \
+   product(bool, UseObjectMonitorTable, false, DIAGNOSTIC,                   \
+           "With Lightweight Locking mode, use a table to record inflated "  \
+           "monitors rather than the first word of the object.")             \
+                                                                             \
+   product(int, LightweightFastLockingSpins, 13, DIAGNOSTIC,                 \
+           "Specifies the number of time lightweight fast locking will "     \
+           "attempt to CAS the markWord before inflating. Between each "     \
+           "CAS it will spin for exponentially more time, resulting in "     \
+           "a total number of spins on the order of O(2^value)")             \
+           range(1, 30)                                                      \
+                                                                             \
    product(uint, TrimNativeHeapInterval, 0,                                  \
            "Interval, in ms, at which the JVM will trim the native heap if " \
            "the platform supports that. Lower values will reclaim memory "   \
            "more eagerly at the cost of higher overhead. A value of 0 "      \
            "(default) disables native heap trimming.")                       \
< prev index next >