< 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"


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



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


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




  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"


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


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


< prev index next >