< prev index next >

src/share/vm/runtime/globals.hpp

Print this page




  23  */
  24 
  25 #ifndef SHARE_VM_RUNTIME_GLOBALS_HPP
  26 #define SHARE_VM_RUNTIME_GLOBALS_HPP
  27 
  28 #include "utilities/debug.hpp"
  29 
  30 // use this for flags that are true per default in the tiered build
  31 // but false in non-tiered builds, and vice versa
  32 #ifdef TIERED
  33 #define  trueInTiered true
  34 #define falseInTiered false
  35 #else
  36 #define  trueInTiered false
  37 #define falseInTiered true
  38 #endif
  39 
  40 #ifdef TARGET_ARCH_x86
  41 # include "globals_x86.hpp"
  42 #endif



  43 #ifdef TARGET_ARCH_sparc
  44 # include "globals_sparc.hpp"
  45 #endif
  46 #ifdef TARGET_ARCH_zero
  47 # include "globals_zero.hpp"
  48 #endif
  49 #ifdef TARGET_ARCH_arm
  50 # include "globals_arm.hpp"
  51 #endif
  52 #ifdef TARGET_ARCH_ppc
  53 # include "globals_ppc.hpp"
  54 #endif
  55 #ifdef TARGET_OS_FAMILY_linux
  56 # include "globals_linux.hpp"
  57 #endif
  58 #ifdef TARGET_OS_FAMILY_solaris
  59 # include "globals_solaris.hpp"
  60 #endif
  61 #ifdef TARGET_OS_FAMILY_windows
  62 # include "globals_windows.hpp"
  63 #endif
  64 #ifdef TARGET_OS_FAMILY_aix
  65 # include "globals_aix.hpp"
  66 #endif
  67 #ifdef TARGET_OS_FAMILY_bsd
  68 # include "globals_bsd.hpp"
  69 #endif
  70 #ifdef TARGET_OS_ARCH_linux_x86
  71 # include "globals_linux_x86.hpp"
  72 #endif



  73 #ifdef TARGET_OS_ARCH_linux_sparc
  74 # include "globals_linux_sparc.hpp"
  75 #endif
  76 #ifdef TARGET_OS_ARCH_linux_zero
  77 # include "globals_linux_zero.hpp"
  78 #endif
  79 #ifdef TARGET_OS_ARCH_solaris_x86
  80 # include "globals_solaris_x86.hpp"
  81 #endif
  82 #ifdef TARGET_OS_ARCH_solaris_sparc
  83 # include "globals_solaris_sparc.hpp"
  84 #endif
  85 #ifdef TARGET_OS_ARCH_windows_x86
  86 # include "globals_windows_x86.hpp"
  87 #endif
  88 #ifdef TARGET_OS_ARCH_linux_arm
  89 # include "globals_linux_arm.hpp"
  90 #endif
  91 #ifdef TARGET_OS_ARCH_linux_ppc
  92 # include "globals_linux_ppc.hpp"
  93 #endif
  94 #ifdef TARGET_OS_ARCH_aix_ppc
  95 # include "globals_aix_ppc.hpp"
  96 #endif
  97 #ifdef TARGET_OS_ARCH_bsd_x86
  98 # include "globals_bsd_x86.hpp"
  99 #endif
 100 #ifdef TARGET_OS_ARCH_bsd_zero
 101 # include "globals_bsd_zero.hpp"
 102 #endif
 103 #ifdef COMPILER1
 104 #ifdef TARGET_ARCH_x86
 105 # include "c1_globals_x86.hpp"
 106 #endif



 107 #ifdef TARGET_ARCH_sparc
 108 # include "c1_globals_sparc.hpp"
 109 #endif
 110 #ifdef TARGET_ARCH_arm
 111 # include "c1_globals_arm.hpp"
 112 #endif
 113 #ifdef TARGET_ARCH_ppc
 114 # include "c1_globals_ppc.hpp"
 115 #endif
 116 #ifdef TARGET_OS_FAMILY_linux
 117 # include "c1_globals_linux.hpp"
 118 #endif
 119 #ifdef TARGET_OS_FAMILY_solaris
 120 # include "c1_globals_solaris.hpp"
 121 #endif
 122 #ifdef TARGET_OS_FAMILY_windows
 123 # include "c1_globals_windows.hpp"
 124 #endif
 125 #ifdef TARGET_OS_FAMILY_aix
 126 # include "c1_globals_aix.hpp"
 127 #endif
 128 #ifdef TARGET_OS_FAMILY_bsd
 129 # include "c1_globals_bsd.hpp"
 130 #endif
 131 #endif
 132 #ifdef COMPILER2
 133 #ifdef TARGET_ARCH_x86
 134 # include "c2_globals_x86.hpp"
 135 #endif



 136 #ifdef TARGET_ARCH_sparc
 137 # include "c2_globals_sparc.hpp"
 138 #endif
 139 #ifdef TARGET_ARCH_arm
 140 # include "c2_globals_arm.hpp"
 141 #endif
 142 #ifdef TARGET_ARCH_ppc
 143 # include "c2_globals_ppc.hpp"
 144 #endif
 145 #ifdef TARGET_OS_FAMILY_linux
 146 # include "c2_globals_linux.hpp"
 147 #endif
 148 #ifdef TARGET_OS_FAMILY_solaris
 149 # include "c2_globals_solaris.hpp"
 150 #endif
 151 #ifdef TARGET_OS_FAMILY_windows
 152 # include "c2_globals_windows.hpp"
 153 #endif
 154 #ifdef TARGET_OS_FAMILY_aix
 155 # include "c2_globals_aix.hpp"


1401   product(bool, TraceBiasedLocking, false,                                  \
1402           "Trace biased locking in JVM")                                    \
1403                                                                             \
1404   product(bool, TraceMonitorInflation, false,                               \
1405           "Trace monitor inflation in JVM")                                 \
1406                                                                             \
1407   /* gc */                                                                  \
1408                                                                             \
1409   product(bool, UseSerialGC, false,                                         \
1410           "Use the Serial garbage collector")                               \
1411                                                                             \
1412   product(bool, UseG1GC, false,                                             \
1413           "Use the Garbage-First garbage collector")                        \
1414                                                                             \
1415   product(bool, UseParallelGC, false,                                       \
1416           "Use the Parallel Scavenge garbage collector")                    \
1417                                                                             \
1418   product(bool, UseParallelOldGC, false,                                    \
1419           "Use the Parallel Old garbage collector")                         \
1420                                                                             \



1421   product(uintx, HeapMaximumCompactionInterval, 20,                         \
1422           "How often should we maximally compact the heap (not allowing "   \
1423           "any dead space)")                                                \
1424                                                                             \
1425   product(uintx, HeapFirstMaximumCompactionCount, 3,                        \
1426           "The collection count for the first maximum compaction")          \
1427                                                                             \
1428   product(bool, UseMaximumCompactionOnSystemGC, true,                       \
1429           "Use maximum compaction in the Parallel Old garbage collector "   \
1430           "for a system GC")                                                \
1431                                                                             \
1432   product(uintx, ParallelOldDeadWoodLimiterMean, 50,                        \
1433           "The mean used by the parallel compact dead wood "                \
1434           "limiter (a number between 0-100)")                               \
1435                                                                             \
1436   product(uintx, ParallelOldDeadWoodLimiterStdDev, 80,                      \
1437           "The standard deviation used by the parallel compact dead wood "  \
1438           "limiter (a number between 0-100)")                               \
1439                                                                             \
1440   product(uintx, ParallelGCThreads, 0,                                      \


3840                                                                             \
3841   product(bool, PrintSharedSpaces, false,                                   \
3842           "Print usage of shared spaces")                                   \
3843                                                                             \
3844   product(bool, PrintSharedArchiveAndExit, false,                           \
3845           "Print shared archive file contents")                             \
3846                                                                             \
3847   product(bool, PrintSharedDictionary, false,                               \
3848           "If PrintSharedArchiveAndExit is true, also print the shared "    \
3849           "dictionary")                                                     \
3850                                                                             \
3851   product(uintx, SharedReadWriteSize,  NOT_LP64(12*M) LP64_ONLY(16*M),      \
3852           "Size of read-write space for metadata (in bytes)")               \
3853                                                                             \
3854   product(uintx, SharedReadOnlySize,  NOT_LP64(12*M) LP64_ONLY(16*M),       \
3855           "Size of read-only space for metadata (in bytes)")                \
3856                                                                             \
3857   product(uintx, SharedMiscDataSize,    NOT_LP64(2*M) LP64_ONLY(4*M),       \
3858           "Size of the shared miscellaneous data area (in bytes)")          \
3859                                                                             \
3860   product(uintx, SharedMiscCodeSize,    120*K,                              \
3861           "Size of the shared miscellaneous code area (in bytes)")          \
3862                                                                             \
3863   product(uintx, SharedBaseAddress, LP64_ONLY(32*G)                         \
3864           NOT_LP64(LINUX_ONLY(2*G) NOT_LINUX(0)),                           \
3865           "Address to allocate shared memory region for class data")        \
3866                                                                             \
3867   diagnostic(bool, EnableInvokeDynamic, true,                               \
3868           "support JSR 292 (method handles, invokedynamic, "                \
3869           "anonymous classes")                                              \
3870                                                                             \
3871   diagnostic(bool, IgnoreUnverifiableClassesDuringDump, false,              \
3872           "Do not quit -Xshare:dump even if we encounter unverifiable "     \
3873           "classes. Just exclude them from the shared dictionary.")         \
3874                                                                             \
3875   diagnostic(bool, PrintMethodHandleStubs, false,                           \
3876           "Print generated stub code for method handles")                   \
3877                                                                             \
3878   develop(bool, TraceMethodHandles, false,                                  \
3879           "trace internal method handle operations")                        \
3880                                                                             \




  23  */
  24 
  25 #ifndef SHARE_VM_RUNTIME_GLOBALS_HPP
  26 #define SHARE_VM_RUNTIME_GLOBALS_HPP
  27 
  28 #include "utilities/debug.hpp"
  29 
  30 // use this for flags that are true per default in the tiered build
  31 // but false in non-tiered builds, and vice versa
  32 #ifdef TIERED
  33 #define  trueInTiered true
  34 #define falseInTiered false
  35 #else
  36 #define  trueInTiered false
  37 #define falseInTiered true
  38 #endif
  39 
  40 #ifdef TARGET_ARCH_x86
  41 # include "globals_x86.hpp"
  42 #endif
  43 #ifdef TARGET_ARCH_aarch64
  44 # include "globals_aarch64.hpp"
  45 #endif
  46 #ifdef TARGET_ARCH_sparc
  47 # include "globals_sparc.hpp"
  48 #endif
  49 #ifdef TARGET_ARCH_zero
  50 # include "globals_zero.hpp"
  51 #endif
  52 #ifdef TARGET_ARCH_arm
  53 # include "globals_arm.hpp"
  54 #endif
  55 #ifdef TARGET_ARCH_ppc
  56 # include "globals_ppc.hpp"
  57 #endif
  58 #ifdef TARGET_OS_FAMILY_linux
  59 # include "globals_linux.hpp"
  60 #endif
  61 #ifdef TARGET_OS_FAMILY_solaris
  62 # include "globals_solaris.hpp"
  63 #endif
  64 #ifdef TARGET_OS_FAMILY_windows
  65 # include "globals_windows.hpp"
  66 #endif
  67 #ifdef TARGET_OS_FAMILY_aix
  68 # include "globals_aix.hpp"
  69 #endif
  70 #ifdef TARGET_OS_FAMILY_bsd
  71 # include "globals_bsd.hpp"
  72 #endif
  73 #ifdef TARGET_OS_ARCH_linux_x86
  74 # include "globals_linux_x86.hpp"
  75 #endif
  76 #ifdef TARGET_OS_ARCH_linux_aarch64
  77 # include "globals_linux_aarch64.hpp"
  78 #endif
  79 #ifdef TARGET_OS_ARCH_linux_sparc
  80 # include "globals_linux_sparc.hpp"
  81 #endif
  82 #ifdef TARGET_OS_ARCH_linux_zero
  83 # include "globals_linux_zero.hpp"
  84 #endif
  85 #ifdef TARGET_OS_ARCH_solaris_x86
  86 # include "globals_solaris_x86.hpp"
  87 #endif
  88 #ifdef TARGET_OS_ARCH_solaris_sparc
  89 # include "globals_solaris_sparc.hpp"
  90 #endif
  91 #ifdef TARGET_OS_ARCH_windows_x86
  92 # include "globals_windows_x86.hpp"
  93 #endif
  94 #ifdef TARGET_OS_ARCH_linux_arm
  95 # include "globals_linux_arm.hpp"
  96 #endif
  97 #ifdef TARGET_OS_ARCH_linux_ppc
  98 # include "globals_linux_ppc.hpp"
  99 #endif
 100 #ifdef TARGET_OS_ARCH_aix_ppc
 101 # include "globals_aix_ppc.hpp"
 102 #endif
 103 #ifdef TARGET_OS_ARCH_bsd_x86
 104 # include "globals_bsd_x86.hpp"
 105 #endif
 106 #ifdef TARGET_OS_ARCH_bsd_zero
 107 # include "globals_bsd_zero.hpp"
 108 #endif
 109 #ifdef COMPILER1
 110 #ifdef TARGET_ARCH_x86
 111 # include "c1_globals_x86.hpp"
 112 #endif
 113 #ifdef TARGET_ARCH_aarch64
 114 # include "c1_globals_aarch64.hpp"
 115 #endif
 116 #ifdef TARGET_ARCH_sparc
 117 # include "c1_globals_sparc.hpp"
 118 #endif
 119 #ifdef TARGET_ARCH_arm
 120 # include "c1_globals_arm.hpp"
 121 #endif
 122 #ifdef TARGET_ARCH_ppc
 123 # include "c1_globals_ppc.hpp"
 124 #endif
 125 #ifdef TARGET_OS_FAMILY_linux
 126 # include "c1_globals_linux.hpp"
 127 #endif
 128 #ifdef TARGET_OS_FAMILY_solaris
 129 # include "c1_globals_solaris.hpp"
 130 #endif
 131 #ifdef TARGET_OS_FAMILY_windows
 132 # include "c1_globals_windows.hpp"
 133 #endif
 134 #ifdef TARGET_OS_FAMILY_aix
 135 # include "c1_globals_aix.hpp"
 136 #endif
 137 #ifdef TARGET_OS_FAMILY_bsd
 138 # include "c1_globals_bsd.hpp"
 139 #endif
 140 #endif
 141 #ifdef COMPILER2
 142 #ifdef TARGET_ARCH_x86
 143 # include "c2_globals_x86.hpp"
 144 #endif
 145 #ifdef TARGET_ARCH_aarch64
 146 # include "c2_globals_aarch64.hpp"
 147 #endif
 148 #ifdef TARGET_ARCH_sparc
 149 # include "c2_globals_sparc.hpp"
 150 #endif
 151 #ifdef TARGET_ARCH_arm
 152 # include "c2_globals_arm.hpp"
 153 #endif
 154 #ifdef TARGET_ARCH_ppc
 155 # include "c2_globals_ppc.hpp"
 156 #endif
 157 #ifdef TARGET_OS_FAMILY_linux
 158 # include "c2_globals_linux.hpp"
 159 #endif
 160 #ifdef TARGET_OS_FAMILY_solaris
 161 # include "c2_globals_solaris.hpp"
 162 #endif
 163 #ifdef TARGET_OS_FAMILY_windows
 164 # include "c2_globals_windows.hpp"
 165 #endif
 166 #ifdef TARGET_OS_FAMILY_aix
 167 # include "c2_globals_aix.hpp"


1413   product(bool, TraceBiasedLocking, false,                                  \
1414           "Trace biased locking in JVM")                                    \
1415                                                                             \
1416   product(bool, TraceMonitorInflation, false,                               \
1417           "Trace monitor inflation in JVM")                                 \
1418                                                                             \
1419   /* gc */                                                                  \
1420                                                                             \
1421   product(bool, UseSerialGC, false,                                         \
1422           "Use the Serial garbage collector")                               \
1423                                                                             \
1424   product(bool, UseG1GC, false,                                             \
1425           "Use the Garbage-First garbage collector")                        \
1426                                                                             \
1427   product(bool, UseParallelGC, false,                                       \
1428           "Use the Parallel Scavenge garbage collector")                    \
1429                                                                             \
1430   product(bool, UseParallelOldGC, false,                                    \
1431           "Use the Parallel Old garbage collector")                         \
1432                                                                             \
1433   product(bool, UseShenandoahGC, false,                                     \
1434           "Use the Shenandoah garbage collector")                           \
1435                                                                             \
1436   product(uintx, HeapMaximumCompactionInterval, 20,                         \
1437           "How often should we maximally compact the heap (not allowing "   \
1438           "any dead space)")                                                \
1439                                                                             \
1440   product(uintx, HeapFirstMaximumCompactionCount, 3,                        \
1441           "The collection count for the first maximum compaction")          \
1442                                                                             \
1443   product(bool, UseMaximumCompactionOnSystemGC, true,                       \
1444           "Use maximum compaction in the Parallel Old garbage collector "   \
1445           "for a system GC")                                                \
1446                                                                             \
1447   product(uintx, ParallelOldDeadWoodLimiterMean, 50,                        \
1448           "The mean used by the parallel compact dead wood "                \
1449           "limiter (a number between 0-100)")                               \
1450                                                                             \
1451   product(uintx, ParallelOldDeadWoodLimiterStdDev, 80,                      \
1452           "The standard deviation used by the parallel compact dead wood "  \
1453           "limiter (a number between 0-100)")                               \
1454                                                                             \
1455   product(uintx, ParallelGCThreads, 0,                                      \


3855                                                                             \
3856   product(bool, PrintSharedSpaces, false,                                   \
3857           "Print usage of shared spaces")                                   \
3858                                                                             \
3859   product(bool, PrintSharedArchiveAndExit, false,                           \
3860           "Print shared archive file contents")                             \
3861                                                                             \
3862   product(bool, PrintSharedDictionary, false,                               \
3863           "If PrintSharedArchiveAndExit is true, also print the shared "    \
3864           "dictionary")                                                     \
3865                                                                             \
3866   product(uintx, SharedReadWriteSize,  NOT_LP64(12*M) LP64_ONLY(16*M),      \
3867           "Size of read-write space for metadata (in bytes)")               \
3868                                                                             \
3869   product(uintx, SharedReadOnlySize,  NOT_LP64(12*M) LP64_ONLY(16*M),       \
3870           "Size of read-only space for metadata (in bytes)")                \
3871                                                                             \
3872   product(uintx, SharedMiscDataSize,    NOT_LP64(2*M) LP64_ONLY(4*M),       \
3873           "Size of the shared miscellaneous data area (in bytes)")          \
3874                                                                             \
3875   product(uintx, SharedMiscCodeSize,    AARCH64_ONLY(192*K) NOT_AARCH64(120*K), \
3876           "Size of the shared miscellaneous code area (in bytes)")          \
3877                                                                             \
3878   product(uintx, SharedBaseAddress, LP64_ONLY(32*G)                         \
3879           NOT_LP64(LINUX_ONLY(2*G) NOT_LINUX(0)),                           \
3880           "Address to allocate shared memory region for class data")        \
3881                                                                             \
3882   diagnostic(bool, EnableInvokeDynamic, true,                               \
3883           "support JSR 292 (method handles, invokedynamic, "                \
3884           "anonymous classes")                                              \
3885                                                                             \
3886   diagnostic(bool, IgnoreUnverifiableClassesDuringDump, false,              \
3887           "Do not quit -Xshare:dump even if we encounter unverifiable "     \
3888           "classes. Just exclude them from the shared dictionary.")         \
3889                                                                             \
3890   diagnostic(bool, PrintMethodHandleStubs, false,                           \
3891           "Print generated stub code for method handles")                   \
3892                                                                             \
3893   develop(bool, TraceMethodHandles, false,                                  \
3894           "trace internal method handle operations")                        \
3895                                                                             \


< prev index next >