< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page
@@ -123,11 +123,11 @@
                                                                              \
    product(bool, UseCompressedOops, false,                                   \
            "Use 32-bit object references in 64-bit VM. "                     \
            "lp64_product means flag is always constant in 32 bit VM")        \
                                                                              \
-   product(bool, UseCompressedClassPointers, false,                          \
+   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(int, ObjectAlignmentInBytes, 8,                                   \
            "Default object alignment in bytes, 8 is minimum")                \

@@ -1064,11 +1064,11 @@
            "If true, error data is printed to stderr instead of a file")     \
                                                                              \
    product(bool, ErrorFileToStdout, false,                                   \
            "If true, error data is printed to stdout instead of a file")     \
                                                                              \
-   develop(bool, UseHeavyMonitors, false,                                    \
+   product(bool, UseHeavyMonitors, false, DIAGNOSTIC,                        \
            "(Deprecated) Use heavyweight instead of lightweight Java "       \
            "monitors")                                                       \
                                                                              \
    develop(bool, VerifyHeavyMonitors, false,                                 \
            "Checks that no stack locking happens when using "                \

@@ -1421,13 +1421,13 @@
            constraint(MaxMetaspaceSizeConstraintFunc,AfterErgo)              \
                                                                              \
    product(size_t, CompressedClassSpaceSize, 1*G,                            \
            "Maximum size of class area in Metaspace when compressed "        \
            "class pointers are used")                                        \
-           range(1*M, 3*G)                                                   \
+           constraint(CompressedClassSpaceSizeConstraintFunc,AtParse)        \
                                                                              \
-   develop(size_t, CompressedClassSpaceBaseAddress, 0,                       \
+   product(size_t, CompressedClassSpaceBaseAddress, 0, DIAGNOSTIC,           \
            "Force the class space to be allocated at this address or "       \
            "fails VM initialization (requires -Xshare=off.")                 \
                                                                              \
    product(ccstr, MetaspaceReclaimPolicy, "balanced",                        \
            "options: balanced, aggressive, none")                            \

@@ -2054,10 +2054,16 @@
    develop(bool, VerifyCrossModifyFence,                                     \
            false AARCH64_ONLY(DEBUG_ONLY(||true)),                           \
               "Mark all threads after a safepoint, and clear on a modify "   \
               "fence. Add cleanliness checks.")                              \
                                                                              \
+   product(bool, HeapObjectStats, false, DIAGNOSTIC,                         \
+              "Enable gathering of heap object statistics")                  \
+                                                                             \
+   product(size_t, HeapObjectStatsSamplingInterval, 500, DIAGNOSTIC,         \
+              "Heap object statistics sampling interval (ms)")               \
+                                                                             \
    develop(bool, TraceOptimizedUpcallStubs, false,                           \
                  "Trace optimized upcall stub generation")                   \
  
  // end of RUNTIME_FLAGS
  
< prev index next >