author | goetz |
Mon, 14 Oct 2019 11:36:17 +0200 | |
changeset 58664 | e3618c902d17 |
parent 58575 | 6941d77417f4 |
child 58679 | 9c3209ff7550 |
child 58804 | 0942a1f47d26 |
permissions | -rw-r--r-- |
1 | 1 |
/* |
53130
106fc138542a
8215644: Clean up globalDefinitions_<compiler>.hpp
hseigel
parents:
53116
diff
changeset
|
2 |
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. |
1 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
5 |
* This code is free software; you can redistribute it and/or modify it |
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. |
|
8 |
* |
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
* accompanied this code). |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License version |
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
* |
|
5547
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
5539
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
5539
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
5539
diff
changeset
|
21 |
* questions. |
1 | 22 |
* |
23 |
*/ |
|
24 |
||
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
53238
diff
changeset
|
25 |
#ifndef SHARE_RUNTIME_GLOBALS_HPP |
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
53238
diff
changeset
|
26 |
#define SHARE_RUNTIME_GLOBALS_HPP |
7397 | 27 |
|
54982 | 28 |
#include "compiler/compiler_globals.hpp" |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
49653
diff
changeset
|
29 |
#include "gc/shared/gc_globals.hpp" |
54982 | 30 |
#include "runtime/globals_shared.hpp" |
46625 | 31 |
#include "utilities/align.hpp" |
46560
388aa8d67c80
8181449: Fix debug.hpp / globalDefinitions.hpp dependency inversion
kbarrett
parents:
46553
diff
changeset
|
32 |
#include "utilities/globalDefinitions.hpp" |
40010 | 33 |
#include "utilities/macros.hpp" |
34 |
#include CPU_HEADER(globals) |
|
35 |
#include OS_HEADER(globals) |
|
36 |
#include OS_CPU_HEADER(globals) |
|
1 | 37 |
|
38 |
// develop flags are settable / visible only during development and are constant in the PRODUCT version |
|
39 |
// product flags are always settable / visible |
|
40 |
// notproduct flags are settable / visible only during development and are not declared in the PRODUCT version |
|
41 |
||
42 |
// A flag must be declared with one of the following types: |
|
53513 | 43 |
// bool, int, uint, intx, uintx, size_t, ccstr, ccstrlist, double, or uint64_t. |
44 |
// The type "ccstr" and "ccstrlist" are an alias for "const char*" and is used |
|
1 | 45 |
// only in this file, because the macrology requires single-token type names. |
46 |
||
47 |
// Note: Diagnostic options not meant for VM tuning or for product modes. |
|
48 |
// They are to be used for VM quality assurance or field diagnosis |
|
49 |
// of VM bugs. They are hidden so that users will not be encouraged to |
|
50 |
// try them as if they were VM ordinary execution options. However, they |
|
51 |
// are available in the product version of the VM. Under instruction |
|
52 |
// from support engineers, VM customers can turn them on to collect |
|
53 |
// diagnostic information about VM problems. To use a VM diagnostic |
|
54 |
// option, you must first specify +UnlockDiagnosticVMOptions. |
|
55 |
// (This master switch also affects the behavior of -Xprintflags.) |
|
1382
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
56 |
// |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
57 |
// experimental flags are in support of features that are not |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
58 |
// part of the officially supported product, but are available |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
59 |
// for experimenting with. They could, for example, be performance |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
60 |
// features that may not have undergone full or rigorous QA, but which may |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
61 |
// help performance in some cases and released for experimentation |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
62 |
// by the community of users and developers. This flag also allows one to |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
63 |
// be able to build a fully supported product that nonetheless also |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
64 |
// ships with some unsupported, lightly tested, experimental features. |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
65 |
// Like the UnlockDiagnosticVMOptions flag above, there is a corresponding |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
66 |
// UnlockExperimentalVMOptions flag, which allows the control and |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
67 |
// modification of the experimental flags. |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
68 |
// |
6763
711b8a44c4dd
6692906: CMS: parallel concurrent marking may be prone to hanging or stalling mutators for periods of time
ysr
parents:
6762
diff
changeset
|
69 |
// Nota bene: neither diagnostic nor experimental options should be used casually, |
711b8a44c4dd
6692906: CMS: parallel concurrent marking may be prone to hanging or stalling mutators for periods of time
ysr
parents:
6762
diff
changeset
|
70 |
// and they are not supported on production loads, except under explicit |
711b8a44c4dd
6692906: CMS: parallel concurrent marking may be prone to hanging or stalling mutators for periods of time
ysr
parents:
6762
diff
changeset
|
71 |
// direction from support engineers. |
711b8a44c4dd
6692906: CMS: parallel concurrent marking may be prone to hanging or stalling mutators for periods of time
ysr
parents:
6762
diff
changeset
|
72 |
// |
1 | 73 |
// manageable flags are writeable external product flags. |
74 |
// They are dynamically writeable through the JDK management interface |
|
75 |
// (com.sun.management.HotSpotDiagnosticMXBean API) and also through JConsole. |
|
76 |
// These flags are external exported interface (see CCC). The list of |
|
77 |
// manageable flags can be queried programmatically through the management |
|
78 |
// interface. |
|
79 |
// |
|
80 |
// A flag can be made as "manageable" only if |
|
81 |
// - the flag is defined in a CCC as an external exported interface. |
|
82 |
// - the VM implementation supports dynamic setting of the flag. |
|
83 |
// This implies that the VM must *always* query the flag variable |
|
84 |
// and not reuse state related to the flag state at any given time. |
|
85 |
// - you want the flag to be queried programmatically by the customers. |
|
86 |
// |
|
87 |
// product_rw flags are writeable internal product flags. |
|
88 |
// They are like "manageable" flags but for internal/private use. |
|
89 |
// The list of product_rw flags are internal/private flags which |
|
90 |
// may be changed/removed in a future release. It can be set |
|
91 |
// through the management interface to get/set value |
|
92 |
// when the name of flag is supplied. |
|
93 |
// |
|
94 |
// A flag can be made as "product_rw" only if |
|
95 |
// - the VM implementation supports dynamic setting of the flag. |
|
96 |
// This implies that the VM must *always* query the flag variable |
|
97 |
// and not reuse state related to the flag state at any given time. |
|
98 |
// |
|
99 |
// Note that when there is a need to support develop flags to be writeable, |
|
100 |
// it can be done in the same way as product_rw. |
|
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
101 |
// |
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
102 |
// range is a macro that will expand to min and max arguments for range |
49902
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49877
diff
changeset
|
103 |
// checking code if provided - see jvmFlagRangeList.hpp |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
104 |
// |
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
105 |
// constraint is a macro that will expand to custom function call |
49902
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49877
diff
changeset
|
106 |
// for constraint checking if provided - see jvmFlagConstraintList.hpp |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
107 |
// |
38273
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
108 |
// writeable is a macro that controls if and how the value can change during the runtime |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
109 |
// |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
110 |
// writeable(Always) is optional and allows the flag to have its value changed |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
111 |
// without any limitations at any time |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
112 |
// |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
113 |
// writeable(Once) flag value's can be only set once during the lifetime of VM |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
114 |
// |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
115 |
// writeable(CommandLineOnly) flag value's can be only set from command line |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
116 |
// (multiple times allowed) |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
117 |
// |
1 | 118 |
|
54982 | 119 |
// Default and minimum StringTable and SymbolTable size values |
120 |
// Must be powers of 2 |
|
121 |
const size_t defaultStringTableSize = NOT_LP64(1024) LP64_ONLY(65536); |
|
122 |
const size_t minimumStringTableSize = 128; |
|
123 |
const size_t defaultSymbolTableSize = 32768; // 2^15 |
|
124 |
const size_t minimumSymbolTableSize = 1024; |
|
38273
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
125 |
|
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
126 |
#define RUNTIME_FLAGS(develop, \ |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
127 |
develop_pd, \ |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
128 |
product, \ |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
129 |
product_pd, \ |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
130 |
diagnostic, \ |
39117 | 131 |
diagnostic_pd, \ |
38273
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
132 |
experimental, \ |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
133 |
notproduct, \ |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
134 |
manageable, \ |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
135 |
product_rw, \ |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
136 |
lp64_product, \ |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
137 |
range, \ |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
138 |
constraint, \ |
2634194d7555
8073500: Prevent certain commercial flags from being changed at runtime
gziemski
parents:
38260
diff
changeset
|
139 |
writeable) \ |
360
21d113ecbf6a
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
356
diff
changeset
|
140 |
\ |
21d113ecbf6a
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
356
diff
changeset
|
141 |
lp64_product(bool, UseCompressedOops, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
142 |
"Use 32-bit object references in 64-bit VM. " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
143 |
"lp64_product means flag is always constant in 32 bit VM") \ |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13521
diff
changeset
|
144 |
\ |
19979
ebe1dbb6e1aa
8015107: NPG: Use consistent naming for metaspace concepts
ehelin
parents:
19704
diff
changeset
|
145 |
lp64_product(bool, UseCompressedClassPointers, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
146 |
"Use 32-bit class pointers in 64-bit VM. " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
147 |
"lp64_product means flag is always constant in 32 bit VM") \ |
1 | 148 |
\ |
2254
f13dda645a4b
6791178: Specialize for zero as the compressed oop vm heap base
kvn
parents:
2141
diff
changeset
|
149 |
notproduct(bool, CheckCompressedOops, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
150 |
"Generate checks in encoding/decoding code in debug VM") \ |
2254
f13dda645a4b
6791178: Specialize for zero as the compressed oop vm heap base
kvn
parents:
2141
diff
changeset
|
151 |
\ |
28372
ce0aad4b8c44
8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling.
goetz
parents:
28368
diff
changeset
|
152 |
product(uintx, HeapSearchSteps, 3 PPC64_ONLY(+17), \ |
ce0aad4b8c44
8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling.
goetz
parents:
28368
diff
changeset
|
153 |
"Heap allocation steps through preferred address regions to find" \ |
ce0aad4b8c44
8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling.
goetz
parents:
28368
diff
changeset
|
154 |
" where it can allocate the heap. Number of steps to take per " \ |
ce0aad4b8c44
8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling.
goetz
parents:
28368
diff
changeset
|
155 |
"region.") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
156 |
range(1, max_uintx) \ |
28372
ce0aad4b8c44
8064457: Introduce compressed oops mode disjoint base and improve compressed heap handling.
goetz
parents:
28368
diff
changeset
|
157 |
\ |
5694
1e0532a6abff
6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
kvn
parents:
5539
diff
changeset
|
158 |
lp64_product(intx, ObjectAlignmentInBytes, 8, \ |
1e0532a6abff
6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
kvn
parents:
5539
diff
changeset
|
159 |
"Default object alignment in bytes, 8 is minimum") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
160 |
range(8, 256) \ |
31995
aa4049b4184a
8130459: Add additional validation after heap creation
sangheki
parents:
31989
diff
changeset
|
161 |
constraint(ObjectAlignmentInBytesConstraintFunc,AtParse) \ |
5694
1e0532a6abff
6916623: Align object to 16 bytes to use Compressed Oops with java heap up to 64Gb
kvn
parents:
5539
diff
changeset
|
162 |
\ |
40015
524230a0f4ca
8140723: Remove source code conditionalized on JAVASE_EMBEDDED
dholmes
parents:
40010
diff
changeset
|
163 |
develop(bool, CleanChunkPoolAsync, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
164 |
"Clean the chunk pool asynchronously") \ |
10022
377345fb5fb5
7061204: clean the chunk table synchronously in embedded builds
jcoomes
parents:
10020
diff
changeset
|
165 |
\ |
47881
0ce0ac68ace7
8189941: Implementation JEP 312: Thread-local handshake
rehn
parents:
47811
diff
changeset
|
166 |
product_pd(bool, ThreadLocalHandshakes, \ |
0ce0ac68ace7
8189941: Implementation JEP 312: Thread-local handshake
rehn
parents:
47811
diff
changeset
|
167 |
"Use thread-local polls instead of global poll for safepoints.") \ |
0ce0ac68ace7
8189941: Implementation JEP 312: Thread-local handshake
rehn
parents:
47811
diff
changeset
|
168 |
constraint(ThreadLocalHandshakesConstraintFunc,AfterErgo) \ |
0ce0ac68ace7
8189941: Implementation JEP 312: Thread-local handshake
rehn
parents:
47811
diff
changeset
|
169 |
\ |
0ce0ac68ace7
8189941: Implementation JEP 312: Thread-local handshake
rehn
parents:
47811
diff
changeset
|
170 |
diagnostic(uint, HandshakeTimeout, 0, \ |
0ce0ac68ace7
8189941: Implementation JEP 312: Thread-local handshake
rehn
parents:
47811
diff
changeset
|
171 |
"If nonzero set a timeout in milliseconds for handshakes") \ |
0ce0ac68ace7
8189941: Implementation JEP 312: Thread-local handshake
rehn
parents:
47811
diff
changeset
|
172 |
\ |
23190
e8bbf9cd711e
8031818: Experimental VM flag for enforcing safe object construction
shade
parents:
23189
diff
changeset
|
173 |
experimental(bool, AlwaysSafeConstructors, false, \ |
e8bbf9cd711e
8031818: Experimental VM flag for enforcing safe object construction
shade
parents:
23189
diff
changeset
|
174 |
"Force safe construction, as if all fields are final.") \ |
e8bbf9cd711e
8031818: Experimental VM flag for enforcing safe object construction
shade
parents:
23189
diff
changeset
|
175 |
\ |
1 | 176 |
diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug, \ |
1382
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
177 |
"Enable normal processing of flags relating to field diagnostics")\ |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
178 |
\ |
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
179 |
experimental(bool, UnlockExperimentalVMOptions, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
180 |
"Enable normal processing of flags relating to experimental " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
181 |
"features") \ |
1 | 182 |
\ |
183 |
product(bool, JavaMonitorsInStackTrace, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
184 |
"Print information about Java monitor locks when the stacks are" \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
185 |
"dumped") \ |
1 | 186 |
\ |
187 |
product_pd(bool, UseLargePages, \ |
|
188 |
"Use large page memory") \ |
|
189 |
\ |
|
1421
a7ef1a3b2644
6660681: Incrementally reserve pages on win server 2003 for better large page affinity
jmasa
parents:
1409
diff
changeset
|
190 |
product_pd(bool, UseLargePagesIndividualAllocation, \ |
a7ef1a3b2644
6660681: Incrementally reserve pages on win server 2003 for better large page affinity
jmasa
parents:
1409
diff
changeset
|
191 |
"Allocate large pages individually for better affinity") \ |
a7ef1a3b2644
6660681: Incrementally reserve pages on win server 2003 for better large page affinity
jmasa
parents:
1409
diff
changeset
|
192 |
\ |
a7ef1a3b2644
6660681: Incrementally reserve pages on win server 2003 for better large page affinity
jmasa
parents:
1409
diff
changeset
|
193 |
develop(bool, LargePagesIndividualAllocationInjectError, false, \ |
a7ef1a3b2644
6660681: Incrementally reserve pages on win server 2003 for better large page affinity
jmasa
parents:
1409
diff
changeset
|
194 |
"Fail large pages individual allocation") \ |
a7ef1a3b2644
6660681: Incrementally reserve pages on win server 2003 for better large page affinity
jmasa
parents:
1409
diff
changeset
|
195 |
\ |
20406
934f0b12daa9
8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces
stefank
parents:
20404
diff
changeset
|
196 |
product(bool, UseLargePagesInMetaspace, false, \ |
934f0b12daa9
8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces
stefank
parents:
20404
diff
changeset
|
197 |
"Use large page memory in metaspace. " \ |
934f0b12daa9
8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces
stefank
parents:
20404
diff
changeset
|
198 |
"Only used if UseLargePages is enabled.") \ |
934f0b12daa9
8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces
stefank
parents:
20404
diff
changeset
|
199 |
\ |
1 | 200 |
product(bool, UseNUMA, false, \ |
201 |
"Use NUMA if available") \ |
|
202 |
\ |
|
10494 | 203 |
product(bool, UseNUMAInterleaving, false, \ |
204 |
"Interleave memory across NUMA nodes if available") \ |
|
205 |
\ |
|
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
206 |
product(size_t, NUMAInterleaveGranularity, 2*M, \ |
10494 | 207 |
"Granularity to use for NUMA interleaving on Windows OS") \ |
35203
3e70c7dc0772
8144949: TestOptionsWithRanges -XX:NUMAInterleaveGranularity=2147483648 crashes VM
sangheki
parents:
35201
diff
changeset
|
208 |
range(os::vm_allocation_granularity(), NOT_LP64(2*G) LP64_ONLY(8192*G)) \ |
10494 | 209 |
\ |
1615
b46d9f19bde2
6779436: NUMA allocator: libnuma expects certain size of the buffer in numa_node_to_cpus()
iveresov
parents:
1608
diff
changeset
|
210 |
product(bool, ForceNUMA, false, \ |
b46d9f19bde2
6779436: NUMA allocator: libnuma expects certain size of the buffer in numa_node_to_cpus()
iveresov
parents:
1608
diff
changeset
|
211 |
"Force NUMA optimizations on single-node/UMA systems") \ |
b46d9f19bde2
6779436: NUMA allocator: libnuma expects certain size of the buffer in numa_node_to_cpus()
iveresov
parents:
1608
diff
changeset
|
212 |
\ |
17392
2f967c0e4246
6843347: Boundary values in some public GC options cause crashes
tschatzl
parents:
17322
diff
changeset
|
213 |
product(uintx, NUMAChunkResizeWeight, 20, \ |
22775 | 214 |
"Percentage (0-100) used to weight the current sample when " \ |
1 | 215 |
"computing exponentially decaying average for " \ |
216 |
"AdaptiveNUMAChunkSizing") \ |
|
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
217 |
range(0, 100) \ |
1 | 218 |
\ |
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
219 |
product(size_t, NUMASpaceResizeRate, 1*G, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
220 |
"Do not reallocate more than this amount per collection") \ |
34661
9a1d11d88ea0
8142341: GC: current flags need ranges to be implemented
sangheki
parents:
34629
diff
changeset
|
221 |
range(0, max_uintx) \ |
1 | 222 |
\ |
223 |
product(bool, UseAdaptiveNUMAChunkSizing, true, \ |
|
224 |
"Enable adaptive chunk sizing for NUMA") \ |
|
225 |
\ |
|
226 |
product(bool, NUMAStats, false, \ |
|
227 |
"Print NUMA stats in detailed heap information") \ |
|
228 |
\ |
|
17392
2f967c0e4246
6843347: Boundary values in some public GC options cause crashes
tschatzl
parents:
17322
diff
changeset
|
229 |
product(uintx, NUMAPageScanRate, 256, \ |
1 | 230 |
"Maximum number of pages to include in the page scan procedure") \ |
34661
9a1d11d88ea0
8142341: GC: current flags need ranges to be implemented
sangheki
parents:
34629
diff
changeset
|
231 |
range(0, max_uintx) \ |
1 | 232 |
\ |
233 |
product(intx, UseSSE, 99, \ |
|
234 |
"Highest supported SSE instructions set on x86/x64") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
235 |
range(0, 99) \ |
1 | 236 |
\ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
237 |
product(bool, UseAES, false, \ |
43935
51c3deea6cdc
8173825: Adjust the comment for flags UseAES, UseFMA, UseSHA in globals.hpp
mbaesken
parents:
42654
diff
changeset
|
238 |
"Control whether AES instructions are used when available") \ |
14132 | 239 |
\ |
41323 | 240 |
product(bool, UseFMA, false, \ |
43935
51c3deea6cdc
8173825: Adjust the comment for flags UseAES, UseFMA, UseSHA in globals.hpp
mbaesken
parents:
42654
diff
changeset
|
241 |
"Control whether FMA instructions are used when available") \ |
41323 | 242 |
\ |
24953
9680119572be
8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents:
24931
diff
changeset
|
243 |
product(bool, UseSHA, false, \ |
43935
51c3deea6cdc
8173825: Adjust the comment for flags UseAES, UseFMA, UseSHA in globals.hpp
mbaesken
parents:
42654
diff
changeset
|
244 |
"Control whether SHA instructions are used when available") \ |
24953
9680119572be
8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents:
24931
diff
changeset
|
245 |
\ |
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
246 |
diagnostic(bool, UseGHASHIntrinsics, false, \ |
31404
63e8fcd70bfc
8073108: Use x86 and SPARC CPU instructions for GHASH acceleration
ascarpino
parents:
30310
diff
changeset
|
247 |
"Use intrinsics for GHASH versions of crypto") \ |
63e8fcd70bfc
8073108: Use x86 and SPARC CPU instructions for GHASH acceleration
ascarpino
parents:
30310
diff
changeset
|
248 |
\ |
50860
480a96a43b62
8205528: Base64 encoding algorithm using AVX512 instructions
kvn
parents:
50785
diff
changeset
|
249 |
product(bool, UseBASE64Intrinsics, false, \ |
480a96a43b62
8205528: Base64 encoding algorithm using AVX512 instructions
kvn
parents:
50785
diff
changeset
|
250 |
"Use intrinsics for java.util.Base64") \ |
480a96a43b62
8205528: Base64 encoding algorithm using AVX512 instructions
kvn
parents:
50785
diff
changeset
|
251 |
\ |
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
252 |
product(size_t, LargePageSizeInBytes, 0, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
253 |
"Large page size (0 to let VM choose the page size)") \ |
34661
9a1d11d88ea0
8142341: GC: current flags need ranges to be implemented
sangheki
parents:
34629
diff
changeset
|
254 |
range(0, max_uintx) \ |
1 | 255 |
\ |
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
256 |
product(size_t, LargePageHeapSizeThreshold, 128*M, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
257 |
"Use large pages if maximum heap is at least this big") \ |
34661
9a1d11d88ea0
8142341: GC: current flags need ranges to be implemented
sangheki
parents:
34629
diff
changeset
|
258 |
range(0, max_uintx) \ |
1 | 259 |
\ |
260 |
product(bool, ForceTimeHighResolution, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
261 |
"Using high time resolution (for Win32 only)") \ |
1 | 262 |
\ |
263 |
develop(bool, TracePcPatching, false, \ |
|
264 |
"Trace usage of frame::patch_pc") \ |
|
265 |
\ |
|
266 |
develop(bool, TraceRelocator, false, \ |
|
267 |
"Trace the bytecode relocator") \ |
|
268 |
\ |
|
269 |
develop(bool, TraceLongCompiles, false, \ |
|
270 |
"Print out every time compilation is longer than " \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
271 |
"a given threshold") \ |
1 | 272 |
\ |
54031
feea57b38a1c
8219584: Try to dump error file by thread which causes safepoint timeout
mdoerr
parents:
53981
diff
changeset
|
273 |
diagnostic(bool, SafepointALot, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
274 |
"Generate a lot of safepoints. This works with " \ |
1 | 275 |
"GuaranteedSafepointInterval") \ |
276 |
\ |
|
54278 | 277 |
diagnostic(bool, HandshakeALot, false, \ |
278 |
"Generate a lot of handshakes. This works with " \ |
|
279 |
"GuaranteedSafepointInterval") \ |
|
280 |
\ |
|
1 | 281 |
product_pd(bool, BackgroundCompilation, \ |
282 |
"A thread requesting compilation is not blocked during " \ |
|
283 |
"compilation") \ |
|
284 |
\ |
|
285 |
product(bool, PrintVMQWaitTime, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
286 |
"Print out the waiting time in VM operation queue") \ |
1 | 287 |
\ |
288 |
product(bool, MethodFlushing, true, \ |
|
289 |
"Reclamation of zombie and not-entrant methods") \ |
|
290 |
\ |
|
291 |
develop(bool, VerifyStack, false, \ |
|
292 |
"Verify stack of each thread when it is entering a runtime call") \ |
|
293 |
\ |
|
10983
9ab65f4cec18
7104960: JSR 292: +VerifyMethodHandles in product JVM can overflow buffer
never
parents:
10963
diff
changeset
|
294 |
diagnostic(bool, ForceUnreachable, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
295 |
"Make all non code cache addresses to be unreachable by " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
296 |
"forcing use of 64bit literal fixups") \ |
1 | 297 |
\ |
298 |
notproduct(bool, StressDerivedPointers, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
299 |
"Force scavenge when a derived pointer is detected on stack " \ |
1 | 300 |
"after rtm call") \ |
301 |
\ |
|
302 |
develop(bool, TraceDerivedPointers, false, \ |
|
303 |
"Trace traversal of derived pointers on stack") \ |
|
304 |
\ |
|
305 |
notproduct(bool, TraceCodeBlobStacks, false, \ |
|
306 |
"Trace stack-walk of codeblobs") \ |
|
307 |
\ |
|
308 |
product(bool, PrintJNIResolving, false, \ |
|
309 |
"Used to implement -v:jni") \ |
|
310 |
\ |
|
311 |
notproduct(bool, PrintRewrites, false, \ |
|
312 |
"Print methods that are being rewritten") \ |
|
313 |
\ |
|
314 |
product(bool, UseInlineCaches, true, \ |
|
315 |
"Use Inline Caches for virtual calls ") \ |
|
316 |
\ |
|
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
317 |
diagnostic(bool, InlineArrayCopy, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
318 |
"Inline arraycopy native that is known to be part of " \ |
1 | 319 |
"base library DLL") \ |
320 |
\ |
|
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
321 |
diagnostic(bool, InlineObjectHash, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
322 |
"Inline Object::hashCode() native that is known to be part " \ |
1 | 323 |
"of base library DLL") \ |
324 |
\ |
|
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
325 |
diagnostic(bool, InlineNatives, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
326 |
"Inline natives that are known to be part of base library DLL") \ |
1 | 327 |
\ |
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
328 |
diagnostic(bool, InlineMathNatives, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
329 |
"Inline SinD, CosD, etc.") \ |
1 | 330 |
\ |
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
331 |
diagnostic(bool, InlineClassNatives, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
332 |
"Inline Class.isInstance, etc") \ |
1 | 333 |
\ |
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
334 |
diagnostic(bool, InlineThreadNatives, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
335 |
"Inline Thread.currentThread, etc") \ |
1 | 336 |
\ |
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
337 |
diagnostic(bool, InlineUnsafeOps, true, \ |
33606 | 338 |
"Inline memory ops (native methods) from Unsafe") \ |
1 | 339 |
\ |
11637
030466036615
7013347: allow crypto functions to be called inline to enhance performance
never
parents:
11636
diff
changeset
|
340 |
product(bool, CriticalJNINatives, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
341 |
"Check for critical JNI entry points") \ |
11637
030466036615
7013347: allow crypto functions to be called inline to enhance performance
never
parents:
11636
diff
changeset
|
342 |
\ |
030466036615
7013347: allow crypto functions to be called inline to enhance performance
never
parents:
11636
diff
changeset
|
343 |
notproduct(bool, StressCriticalJNINatives, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
344 |
"Exercise register saving code in critical natives") \ |
11637
030466036615
7013347: allow crypto functions to be called inline to enhance performance
never
parents:
11636
diff
changeset
|
345 |
\ |
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
346 |
diagnostic(bool, UseAESIntrinsics, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
347 |
"Use intrinsics for AES versions of crypto") \ |
14132 | 348 |
\ |
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
349 |
diagnostic(bool, UseAESCTRIntrinsics, false, \ |
35154 | 350 |
"Use intrinsics for the paralleled version of AES/CTR crypto") \ |
351 |
\ |
|
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
352 |
diagnostic(bool, UseSHA1Intrinsics, false, \ |
31588
2a864a4a414c
8130120: Handling of SHA intrinsics inconsistent across platforms
zmajo
parents:
31587
diff
changeset
|
353 |
"Use intrinsics for SHA-1 crypto hash function. " \ |
32623
390a27af5657
8134626: Misc cleanups after generation array removal
jwilhelm
parents:
32619
diff
changeset
|
354 |
"Requires that UseSHA is enabled.") \ |
24953
9680119572be
8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents:
24931
diff
changeset
|
355 |
\ |
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
356 |
diagnostic(bool, UseSHA256Intrinsics, false, \ |
31588
2a864a4a414c
8130120: Handling of SHA intrinsics inconsistent across platforms
zmajo
parents:
31587
diff
changeset
|
357 |
"Use intrinsics for SHA-224 and SHA-256 crypto hash functions. " \ |
2a864a4a414c
8130120: Handling of SHA intrinsics inconsistent across platforms
zmajo
parents:
31587
diff
changeset
|
358 |
"Requires that UseSHA is enabled.") \ |
24953
9680119572be
8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents:
24931
diff
changeset
|
359 |
\ |
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
360 |
diagnostic(bool, UseSHA512Intrinsics, false, \ |
31588
2a864a4a414c
8130120: Handling of SHA intrinsics inconsistent across platforms
zmajo
parents:
31587
diff
changeset
|
361 |
"Use intrinsics for SHA-384 and SHA-512 crypto hash functions. " \ |
2a864a4a414c
8130120: Handling of SHA intrinsics inconsistent across platforms
zmajo
parents:
31587
diff
changeset
|
362 |
"Requires that UseSHA is enabled.") \ |
24953
9680119572be
8035968: Leverage CPU Instructions to Improve SHA Performance on SPARC
kvn
parents:
24931
diff
changeset
|
363 |
\ |
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
364 |
diagnostic(bool, UseCRC32Intrinsics, false, \ |
18507
61bfc8995bb3
7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents:
18506
diff
changeset
|
365 |
"use intrinsics for java.util.zip.CRC32") \ |
61bfc8995bb3
7088419: Use x86 Hardware CRC32 Instruction with java.util.zip.CRC32
drchase
parents:
18506
diff
changeset
|
366 |
\ |
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
367 |
diagnostic(bool, UseCRC32CIntrinsics, false, \ |
31515 | 368 |
"use intrinsics for java.util.zip.CRC32C") \ |
369 |
\ |
|
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
370 |
diagnostic(bool, UseAdler32Intrinsics, false, \ |
32581 | 371 |
"use intrinsics for java.util.zip.Adler32") \ |
372 |
\ |
|
38285
20b85a0ba796
8153655: Make intrinsics flags diagnostic and update intrinsics tests to enable diagnostic options
rraghavan
parents:
38241
diff
changeset
|
373 |
diagnostic(bool, UseVectorizedMismatchIntrinsic, false, \ |
35110
f19bcdf40799
8143355: Update for addition of vectorizedMismatch intrinsic for x86
kvn
parents:
34317
diff
changeset
|
374 |
"Enables intrinsification of ArraysSupport.vectorizedMismatch()") \ |
f19bcdf40799
8143355: Update for addition of vectorizedMismatch intrinsic for x86
kvn
parents:
34317
diff
changeset
|
375 |
\ |
32085
d869c505b624
8132457: Unify command-line flags controlling the usage of compiler intrinsics
zmajo
parents:
31959
diff
changeset
|
376 |
diagnostic(ccstrlist, DisableIntrinsic, "", \ |
d869c505b624
8132457: Unify command-line flags controlling the usage of compiler intrinsics
zmajo
parents:
31959
diff
changeset
|
377 |
"do not expand intrinsics whose (internal) names appear here") \ |
d869c505b624
8132457: Unify command-line flags controlling the usage of compiler intrinsics
zmajo
parents:
31959
diff
changeset
|
378 |
\ |
1 | 379 |
develop(bool, TraceCallFixup, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
380 |
"Trace all call fixups") \ |
1 | 381 |
\ |
382 |
develop(bool, DeoptimizeALot, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
383 |
"Deoptimize at every exit from the runtime system") \ |
1 | 384 |
\ |
1553 | 385 |
notproduct(ccstrlist, DeoptimizeOnlyAt, "", \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
386 |
"A comma separated list of bcis to deoptimize at") \ |
1 | 387 |
\ |
58438
1181f58f30e2
8231626: DeoptimizeRandom should not be a product flag
chagedorn
parents:
58367
diff
changeset
|
388 |
develop(bool, DeoptimizeRandom, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
389 |
"Deoptimize random frames on random exit from the runtime system")\ |
1 | 390 |
\ |
391 |
notproduct(bool, ZombieALot, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
392 |
"Create zombies (non-entrant) at exit from the runtime system") \ |
1 | 393 |
\ |
394 |
notproduct(bool, WalkStackALot, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
395 |
"Trace stack (no print) at every exit from the runtime system") \ |
1 | 396 |
\ |
10739 | 397 |
product(bool, Debugging, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
398 |
"Set when executing debug methods in debug.cpp " \ |
1 | 399 |
"(to prevent triggering assertions)") \ |
400 |
\ |
|
401 |
notproduct(bool, VerifyLastFrame, false, \ |
|
402 |
"Verify oops on last frame on entry to VM") \ |
|
403 |
\ |
|
404 |
product(bool, SafepointTimeout, false, \ |
|
405 |
"Time out and warn or fail after SafepointTimeoutDelay " \ |
|
406 |
"milliseconds if failed to reach safepoint") \ |
|
407 |
\ |
|
52628
639a3e43f5b7
8213992: Rename and make DieOnSafepointTimeout the diagnostic option
shade
parents:
52605
diff
changeset
|
408 |
diagnostic(bool, AbortVMOnSafepointTimeout, false, \ |
639a3e43f5b7
8213992: Rename and make DieOnSafepointTimeout the diagnostic option
shade
parents:
52605
diff
changeset
|
409 |
"Abort upon failure to reach safepoint (see SafepointTimeout)") \ |
1 | 410 |
\ |
53020
c403f39ec349
8181143: Introduce diagnostic flag to abort VM on too long VM operations
shade
parents:
52934
diff
changeset
|
411 |
diagnostic(bool, AbortVMOnVMOperationTimeout, false, \ |
c403f39ec349
8181143: Introduce diagnostic flag to abort VM on too long VM operations
shade
parents:
52934
diff
changeset
|
412 |
"Abort upon failure to complete VM operation promptly") \ |
c403f39ec349
8181143: Introduce diagnostic flag to abort VM on too long VM operations
shade
parents:
52934
diff
changeset
|
413 |
\ |
c403f39ec349
8181143: Introduce diagnostic flag to abort VM on too long VM operations
shade
parents:
52934
diff
changeset
|
414 |
diagnostic(intx, AbortVMOnVMOperationTimeoutDelay, 1000, \ |
c403f39ec349
8181143: Introduce diagnostic flag to abort VM on too long VM operations
shade
parents:
52934
diff
changeset
|
415 |
"Delay in milliseconds for option AbortVMOnVMOperationTimeout") \ |
c403f39ec349
8181143: Introduce diagnostic flag to abort VM on too long VM operations
shade
parents:
52934
diff
changeset
|
416 |
range(0, max_intx) \ |
c403f39ec349
8181143: Introduce diagnostic flag to abort VM on too long VM operations
shade
parents:
52934
diff
changeset
|
417 |
\ |
1 | 418 |
/* 50 retries * (5 * current_retry_count) millis = ~6.375 seconds */ \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
419 |
/* typically, at most a few retries are needed */ \ |
1 | 420 |
product(intx, SuspendRetryCount, 50, \ |
421 |
"Maximum retry count for an external suspend request") \ |
|
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
422 |
range(0, max_intx) \ |
1 | 423 |
\ |
424 |
product(intx, SuspendRetryDelay, 5, \ |
|
425 |
"Milliseconds to delay per retry (* current_retry_count)") \ |
|
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
426 |
range(0, max_intx) \ |
1 | 427 |
\ |
428 |
product(bool, AssertOnSuspendWaitFailure, false, \ |
|
429 |
"Assert/Guarantee on external suspend wait failure") \ |
|
430 |
\ |
|
431 |
product(bool, TraceSuspendWaitFailures, false, \ |
|
432 |
"Trace external suspend wait failures") \ |
|
433 |
\ |
|
434 |
product(bool, MaxFDLimit, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
435 |
"Bump the number of file descriptors to maximum in Solaris") \ |
1 | 436 |
\ |
11636
3c07b54482a5
7141200: log some interesting information in ring buffers for crashes
never
parents:
11632
diff
changeset
|
437 |
diagnostic(bool, LogEvents, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
438 |
"Enable the various ring buffer event logs") \ |
11636
3c07b54482a5
7141200: log some interesting information in ring buffers for crashes
never
parents:
11632
diff
changeset
|
439 |
\ |
55044 | 440 |
diagnostic(uintx, LogEventsBufferEntries, 20, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
441 |
"Number of ring buffer event logs") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
442 |
range(1, NOT_LP64(1*K) LP64_ONLY(1*M)) \ |
1 | 443 |
\ |
54607
b6db97903b69
8221685: -XX:BytecodeVerificationRemote and -XX:BytecodeVerificationLocal should be diagnostic options
hseigel
parents:
54585
diff
changeset
|
444 |
diagnostic(bool, BytecodeVerificationRemote, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
445 |
"Enable the Java bytecode verifier for remote classes") \ |
1 | 446 |
\ |
54607
b6db97903b69
8221685: -XX:BytecodeVerificationRemote and -XX:BytecodeVerificationLocal should be diagnostic options
hseigel
parents:
54585
diff
changeset
|
447 |
diagnostic(bool, BytecodeVerificationLocal, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
448 |
"Enable the Java bytecode verifier for local classes") \ |
1 | 449 |
\ |
450 |
develop(bool, ForceFloatExceptions, trueInDebug, \ |
|
451 |
"Force exceptions on FP stack under/overflow") \ |
|
452 |
\ |
|
453 |
develop(bool, VerifyStackAtCalls, false, \ |
|
454 |
"Verify that the stack pointer is unchanged after calls") \ |
|
455 |
\ |
|
456 |
develop(bool, TraceJavaAssertions, false, \ |
|
457 |
"Trace java language assertions") \ |
|
458 |
\ |
|
23214
b6426873cb37
8029799: vm/mlvm/anonloader/stress/oome prints warning: CodeHeap: # of free blocks > 10000
anoll
parents:
23192
diff
changeset
|
459 |
notproduct(bool, VerifyCodeCache, false, \ |
b6426873cb37
8029799: vm/mlvm/anonloader/stress/oome prints warning: CodeHeap: # of free blocks > 10000
anoll
parents:
23192
diff
changeset
|
460 |
"Verify code cache on memory allocation/deallocation") \ |
1 | 461 |
\ |
462 |
develop(bool, UseMallocOnly, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
463 |
"Use only malloc/free for allocation (no resource area/arena)") \ |
1 | 464 |
\ |
465 |
develop(bool, ZapResourceArea, trueInDebug, \ |
|
466 |
"Zap freed resource/arena space with 0xABABABAB") \ |
|
467 |
\ |
|
468 |
notproduct(bool, ZapVMHandleArea, trueInDebug, \ |
|
469 |
"Zap freed VM handle space with 0xBCBCBCBC") \ |
|
470 |
\ |
|
6762
f8d1b560700e
6423256: GC stacks should use a better data structure
jcoomes
parents:
6448
diff
changeset
|
471 |
notproduct(bool, ZapStackSegments, trueInDebug, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
472 |
"Zap allocated/freed stack segments with 0xFADFADED") \ |
6762
f8d1b560700e
6423256: GC stacks should use a better data structure
jcoomes
parents:
6448
diff
changeset
|
473 |
\ |
971
f0b20be4165d
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
765
diff
changeset
|
474 |
develop(bool, ZapUnusedHeapArea, trueInDebug, \ |
1 | 475 |
"Zap unused heap space with 0xBAADBABE") \ |
476 |
\ |
|
971
f0b20be4165d
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
765
diff
changeset
|
477 |
develop(bool, CheckZapUnusedHeapArea, false, \ |
f0b20be4165d
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
765
diff
changeset
|
478 |
"Check zapping of unused heap space") \ |
f0b20be4165d
6672698: mangle_unused_area() should not remangle the entire heap at each collection.
jmasa
parents:
765
diff
changeset
|
479 |
\ |
1668
8ec481b8f514
6578152: fill_region_with_object has usability and safety issues
jcoomes
parents:
1615
diff
changeset
|
480 |
develop(bool, ZapFillerObjects, trueInDebug, \ |
8ec481b8f514
6578152: fill_region_with_object has usability and safety issues
jcoomes
parents:
1615
diff
changeset
|
481 |
"Zap filler objects with 0xDEAFBABE") \ |
8ec481b8f514
6578152: fill_region_with_object has usability and safety issues
jcoomes
parents:
1615
diff
changeset
|
482 |
\ |
1 | 483 |
develop(bool, PrintVMMessages, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
484 |
"Print VM messages on console") \ |
1 | 485 |
\ |
5403
6b0dd9c75dde
6888954: argument formatting for assert() and friends
jcoomes
parents:
5251
diff
changeset
|
486 |
notproduct(uintx, ErrorHandlerTest, 0, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
487 |
"If > 0, provokes an error after VM initialization; the value " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
488 |
"determines which error to provoke. See test_error_handler() " \ |
46589 | 489 |
"in vmError.cpp.") \ |
5403
6b0dd9c75dde
6888954: argument formatting for assert() and friends
jcoomes
parents:
5251
diff
changeset
|
490 |
\ |
28943
679546f0cc1f
8065895: Synchronous signals during error reporting may terminate or hang VM process
dholmes
parents:
28650
diff
changeset
|
491 |
notproduct(uintx, TestCrashInErrorHandler, 0, \ |
679546f0cc1f
8065895: Synchronous signals during error reporting may terminate or hang VM process
dholmes
parents:
28650
diff
changeset
|
492 |
"If > 0, provokes an error inside VM error handler (a secondary " \ |
46589 | 493 |
"crash). see test_error_handler() in vmError.cpp") \ |
28943
679546f0cc1f
8065895: Synchronous signals during error reporting may terminate or hang VM process
dholmes
parents:
28650
diff
changeset
|
494 |
\ |
29573
2d800e5d575f
8074552: SafeFetch32 and SafeFetchN do not work in error handling
dholmes
parents:
29459
diff
changeset
|
495 |
notproduct(bool, TestSafeFetchInErrorHandler, false, \ |
2d800e5d575f
8074552: SafeFetch32 and SafeFetchN do not work in error handling
dholmes
parents:
29459
diff
changeset
|
496 |
"If true, tests SafeFetch inside error handler.") \ |
2d800e5d575f
8074552: SafeFetch32 and SafeFetchN do not work in error handling
dholmes
parents:
29459
diff
changeset
|
497 |
\ |
46284
ad578adff5df
8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents:
43605
diff
changeset
|
498 |
notproduct(bool, TestUnresponsiveErrorHandler, false, \ |
ad578adff5df
8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents:
43605
diff
changeset
|
499 |
"If true, simulates an unresponsive error handler.") \ |
ad578adff5df
8166944: Hanging Error Reporting steps may lead to torn error logs.
stuefe
parents:
43605
diff
changeset
|
500 |
\ |
1 | 501 |
develop(bool, Verbose, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
502 |
"Print additional debugging information from other modes") \ |
1 | 503 |
\ |
504 |
develop(bool, PrintMiscellaneous, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
505 |
"Print uncategorized debugging information (requires +Verbose)") \ |
1 | 506 |
\ |
507 |
develop(bool, WizardMode, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
508 |
"Print much more debugging information") \ |
1 | 509 |
\ |
510 |
product(bool, ShowMessageBoxOnError, false, \ |
|
511 |
"Keep process alive on VM fatal error") \ |
|
512 |
\ |
|
30240
a7ba42fa1df6
8074354: Make CreateMinidumpOnCrash a new name and available on all platforms
minqi
parents:
30120
diff
changeset
|
513 |
product(bool, CreateCoredumpOnCrash, true, \ |
a7ba42fa1df6
8074354: Make CreateMinidumpOnCrash a new name and available on all platforms
minqi
parents:
30120
diff
changeset
|
514 |
"Create core/mini dump on VM fatal error") \ |
8119
81eef1b06988
7014918: Improve core/minidump handling in Hotspot
ctornqvi
parents:
8114
diff
changeset
|
515 |
\ |
34231
adc744ac832a
8141641: Runtime: implement range for ErrorLogTimeout
gziemski
parents:
34142
diff
changeset
|
516 |
product(uint64_t, ErrorLogTimeout, 2 * 60, \ |
31611
c1fcef5c1925
8080925: Make error log write timeout parameter configurable
stuefe
parents:
31608
diff
changeset
|
517 |
"Timeout, in seconds, to limit the time spent on writing an " \ |
c1fcef5c1925
8080925: Make error log write timeout parameter configurable
stuefe
parents:
31608
diff
changeset
|
518 |
"error log in case of a crash.") \ |
34231
adc744ac832a
8141641: Runtime: implement range for ErrorLogTimeout
gziemski
parents:
34142
diff
changeset
|
519 |
range(0, (uint64_t)max_jlong/1000) \ |
31611
c1fcef5c1925
8080925: Make error log write timeout parameter configurable
stuefe
parents:
31608
diff
changeset
|
520 |
\ |
1 | 521 |
product_pd(bool, UseOSErrorReporting, \ |
522 |
"Let VM fatal error propagate to the OS (ie. WER on Windows)") \ |
|
523 |
\ |
|
524 |
product(bool, SuppressFatalErrorMessage, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
525 |
"Report NO fatal error message (avoid deadlock)") \ |
1 | 526 |
\ |
527 |
product(ccstrlist, OnError, "", \ |
|
528 |
"Run user-defined commands on fatal error; see VMError.cpp " \ |
|
529 |
"for examples") \ |
|
530 |
\ |
|
531 |
product(ccstrlist, OnOutOfMemoryError, "", \ |
|
532 |
"Run user-defined commands on first java.lang.OutOfMemoryError") \ |
|
533 |
\ |
|
2141
e9a644aaff87
6797870: Add -XX:+{HeapDump,PrintClassHistogram}{Before,After}FullGC
ysr
parents:
2034
diff
changeset
|
534 |
manageable(bool, HeapDumpBeforeFullGC, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
535 |
"Dump heap to file before any major stop-the-world GC") \ |
2141
e9a644aaff87
6797870: Add -XX:+{HeapDump,PrintClassHistogram}{Before,After}FullGC
ysr
parents:
2034
diff
changeset
|
536 |
\ |
e9a644aaff87
6797870: Add -XX:+{HeapDump,PrintClassHistogram}{Before,After}FullGC
ysr
parents:
2034
diff
changeset
|
537 |
manageable(bool, HeapDumpAfterFullGC, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
538 |
"Dump heap to file after any major stop-the-world GC") \ |
2141
e9a644aaff87
6797870: Add -XX:+{HeapDump,PrintClassHistogram}{Before,After}FullGC
ysr
parents:
2034
diff
changeset
|
539 |
\ |
1 | 540 |
manageable(bool, HeapDumpOnOutOfMemoryError, false, \ |
541 |
"Dump heap to file when java.lang.OutOfMemoryError is thrown") \ |
|
542 |
\ |
|
543 |
manageable(ccstr, HeapDumpPath, NULL, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
544 |
"When HeapDumpOnOutOfMemoryError is on, the path (filename or " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
545 |
"directory) of the dump file (defaults to java_pid<pid>.hprof " \ |
1 | 546 |
"in the working directory)") \ |
547 |
\ |
|
548 |
develop(bool, BreakAtWarning, false, \ |
|
549 |
"Execute breakpoint upon encountering VM warning") \ |
|
550 |
\ |
|
13195 | 551 |
product(ccstr, NativeMemoryTracking, "off", \ |
552 |
"Native memory tracking options") \ |
|
553 |
\ |
|
13861
619cff4bfb8b
7188594: Print statistic collected by NMT with VM flag
zgu
parents:
13739
diff
changeset
|
554 |
diagnostic(bool, PrintNMTStatistics, false, \ |
619cff4bfb8b
7188594: Print statistic collected by NMT with VM flag
zgu
parents:
13739
diff
changeset
|
555 |
"Print native memory tracking summary data if it is on") \ |
619cff4bfb8b
7188594: Print statistic collected by NMT with VM flag
zgu
parents:
13739
diff
changeset
|
556 |
\ |
1 | 557 |
diagnostic(bool, LogCompilation, false, \ |
20010
c66a7254680c
8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log)
vlivanov
parents:
19770
diff
changeset
|
558 |
"Log compilation activity in detail to LogFile") \ |
1 | 559 |
\ |
560 |
product(bool, PrintCompilation, false, \ |
|
561 |
"Print compilations") \ |
|
562 |
\ |
|
50785
d1b24f2ceca5
8200720: Print additional information in thread dump (times, allocated bytes etc.)
ghaug
parents:
50765
diff
changeset
|
563 |
product(bool, PrintExtendedThreadInfo, false, \ |
d1b24f2ceca5
8200720: Print additional information in thread dump (times, allocated bytes etc.)
ghaug
parents:
50765
diff
changeset
|
564 |
"Print more information in thread dump") \ |
d1b24f2ceca5
8200720: Print additional information in thread dump (times, allocated bytes etc.)
ghaug
parents:
50765
diff
changeset
|
565 |
\ |
1 | 566 |
diagnostic(bool, TraceNMethodInstalls, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
567 |
"Trace nmethod installation") \ |
1 | 568 |
\ |
11195
48e0d7ae1378
7110058: change default for ScavengeRootsInCode to 2
twisti
parents:
10989
diff
changeset
|
569 |
diagnostic(intx, ScavengeRootsInCode, 2, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
570 |
"0: do not allow scavengable oops in the code cache; " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
571 |
"1: allow scavenging from the code cache; " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
572 |
"2: emit as many constants as the compiler can see") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
573 |
range(0, 2) \ |
3908
24b55ad4c228
6863023: need non-perm oops in code cache for JSR 292
jrose
parents:
3610
diff
changeset
|
574 |
\ |
1 | 575 |
product(bool, AlwaysRestoreFPU, false, \ |
576 |
"Restore the FPU control word after every JNI call (expensive)") \ |
|
577 |
\ |
|
10988
a3b2bd43ef4f
7107042: assert(no_dead_loop) failed: dead loop detected
kvn
parents:
10983
diff
changeset
|
578 |
diagnostic(bool, PrintCompilation2, false, \ |
1 | 579 |
"Print additional statistics per compilation") \ |
580 |
\ |
|
347
df859fcca515
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
249
diff
changeset
|
581 |
diagnostic(bool, PrintAdapterHandlers, false, \ |
1 | 582 |
"Print code generated for i2c/c2i adapters") \ |
583 |
\ |
|
13391
30245956af37
7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents:
13197
diff
changeset
|
584 |
diagnostic(bool, VerifyAdapterCalls, trueInDebug, \ |
30245956af37
7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents:
13197
diff
changeset
|
585 |
"Verify that i2c/c2i adapters are called properly") \ |
30245956af37
7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents:
13197
diff
changeset
|
586 |
\ |
4755
eee57ea6d910
6921922: fix for 6911204 breaks tagged stack interpreter
never
parents:
4754
diff
changeset
|
587 |
develop(bool, VerifyAdapterSharing, false, \ |
eee57ea6d910
6921922: fix for 6911204 breaks tagged stack interpreter
never
parents:
4754
diff
changeset
|
588 |
"Verify that the code for shared adapters is the equivalent") \ |
eee57ea6d910
6921922: fix for 6911204 breaks tagged stack interpreter
never
parents:
4754
diff
changeset
|
589 |
\ |
347
df859fcca515
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
249
diff
changeset
|
590 |
diagnostic(bool, PrintAssembly, false, \ |
df859fcca515
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
249
diff
changeset
|
591 |
"Print assembly code (using external disassembler.so)") \ |
df859fcca515
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
249
diff
changeset
|
592 |
\ |
1402
ccb40ce62b79
6744783: HotSpot segfaults if given -XX options with an empty string argument
never
parents:
1129
diff
changeset
|
593 |
diagnostic(ccstr, PrintAssemblyOptions, NULL, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
594 |
"Print options string passed to disassembler.so") \ |
347
df859fcca515
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
249
diff
changeset
|
595 |
\ |
33160
c59f1676d27e
8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
33083
diff
changeset
|
596 |
notproduct(bool, PrintNMethodStatistics, false, \ |
c59f1676d27e
8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
33083
diff
changeset
|
597 |
"Print a summary statistic for the generated nmethods") \ |
c59f1676d27e
8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
33083
diff
changeset
|
598 |
\ |
347
df859fcca515
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
249
diff
changeset
|
599 |
diagnostic(bool, PrintNMethods, false, \ |
1 | 600 |
"Print assembly code for nmethods when generated") \ |
601 |
\ |
|
347
df859fcca515
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
249
diff
changeset
|
602 |
diagnostic(bool, PrintNativeNMethods, false, \ |
1 | 603 |
"Print assembly code for native nmethods when generated") \ |
604 |
\ |
|
605 |
develop(bool, PrintDebugInfo, false, \ |
|
606 |
"Print debug information for all nmethods when generated") \ |
|
607 |
\ |
|
608 |
develop(bool, PrintRelocations, false, \ |
|
609 |
"Print relocation information for all nmethods when generated") \ |
|
610 |
\ |
|
611 |
develop(bool, PrintDependencies, false, \ |
|
612 |
"Print dependency information for all nmethods when generated") \ |
|
613 |
\ |
|
614 |
develop(bool, PrintExceptionHandlers, false, \ |
|
615 |
"Print exception handler tables for all nmethods when generated") \ |
|
616 |
\ |
|
14835
70896cb93c35
8004741: Missing compiled exception handle table entry for multidimensional array allocation
kvn
parents:
14490
diff
changeset
|
617 |
develop(bool, StressCompiledExceptionHandlers, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
618 |
"Exercise compiled exception handlers") \ |
14835
70896cb93c35
8004741: Missing compiled exception handle table entry for multidimensional array allocation
kvn
parents:
14490
diff
changeset
|
619 |
\ |
1 | 620 |
develop(bool, InterceptOSException, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
621 |
"Start debugger when an implicit OS (e.g. NULL) " \ |
1 | 622 |
"exception happens") \ |
623 |
\ |
|
15201
f3d755b11424
8005204: Code Cache Reduction: command line options implementation
vladidan
parents:
15107
diff
changeset
|
624 |
product(bool, PrintCodeCache, false, \ |
f3d755b11424
8005204: Code Cache Reduction: command line options implementation
vladidan
parents:
15107
diff
changeset
|
625 |
"Print the code cache memory usage when exiting") \ |
1 | 626 |
\ |
627 |
develop(bool, PrintCodeCache2, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
628 |
"Print detailed usage information on the code cache when exiting")\ |
15201
f3d755b11424
8005204: Code Cache Reduction: command line options implementation
vladidan
parents:
15107
diff
changeset
|
629 |
\ |
f3d755b11424
8005204: Code Cache Reduction: command line options implementation
vladidan
parents:
15107
diff
changeset
|
630 |
product(bool, PrintCodeCacheOnCompilation, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
631 |
"Print the code cache memory usage each time a method is " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
632 |
"compiled") \ |
1 | 633 |
\ |
52815
10bb941d7fd4
8214526: Change CodeHeap State Analytics control from UL to Print*
lucy
parents:
52761
diff
changeset
|
634 |
diagnostic(bool, PrintCodeHeapAnalytics, false, \ |
10bb941d7fd4
8214526: Change CodeHeap State Analytics control from UL to Print*
lucy
parents:
52761
diff
changeset
|
635 |
"Print code heap usage statistics on exit and on full condition") \ |
10bb941d7fd4
8214526: Change CodeHeap State Analytics control from UL to Print*
lucy
parents:
52761
diff
changeset
|
636 |
\ |
347
df859fcca515
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
249
diff
changeset
|
637 |
diagnostic(bool, PrintStubCode, false, \ |
1 | 638 |
"Print generated stub code") \ |
639 |
\ |
|
640 |
product(bool, StackTraceInThrowable, true, \ |
|
641 |
"Collect backtrace in throwable when exception happens") \ |
|
642 |
\ |
|
643 |
product(bool, OmitStackTraceInFastThrow, true, \ |
|
644 |
"Omit backtraces for some 'hot' exceptions in optimized code") \ |
|
645 |
\ |
|
58664
e3618c902d17
8218628: Add detailed message to NullPointerException describing what is null.
goetz
parents:
58575
diff
changeset
|
646 |
manageable(bool, ShowCodeDetailsInExceptionMessages, false, \ |
e3618c902d17
8218628: Add detailed message to NullPointerException describing what is null.
goetz
parents:
58575
diff
changeset
|
647 |
"Show exception messages from RuntimeExceptions that contain " \ |
e3618c902d17
8218628: Add detailed message to NullPointerException describing what is null.
goetz
parents:
58575
diff
changeset
|
648 |
"snippets of the failing code. Disable this to improve privacy.") \ |
e3618c902d17
8218628: Add detailed message to NullPointerException describing what is null.
goetz
parents:
58575
diff
changeset
|
649 |
\ |
6967
c5ebdcf8372e
6392697: Additional flag needed to supress Hotspot warning messages
kamg
parents:
6965
diff
changeset
|
650 |
product(bool, PrintWarnings, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
651 |
"Print JVM warnings to output stream") \ |
6967
c5ebdcf8372e
6392697: Additional flag needed to supress Hotspot warning messages
kamg
parents:
6965
diff
changeset
|
652 |
\ |
1 | 653 |
notproduct(uintx, WarnOnStalledSpinLock, 0, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
654 |
"Print warnings for stalled SpinLocks") \ |
1 | 655 |
\ |
656 |
product(bool, RegisterFinalizersAtInit, true, \ |
|
657 |
"Register finalizable objects at end of Object.<init> or " \ |
|
4434 | 658 |
"after allocation") \ |
1 | 659 |
\ |
660 |
develop(bool, RegisterReferences, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
661 |
"Tell whether the VM should register soft/weak/final/phantom " \ |
1 | 662 |
"references") \ |
663 |
\ |
|
664 |
develop(bool, IgnoreRewrites, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
665 |
"Suppress rewrites of bytecodes in the oopmap generator. " \ |
1 | 666 |
"This is unsafe!") \ |
667 |
\ |
|
668 |
develop(bool, PrintCodeCacheExtension, false, \ |
|
669 |
"Print extension of code cache") \ |
|
670 |
\ |
|
671 |
develop(bool, UsePrivilegedStack, true, \ |
|
672 |
"Enable the security JVM functions") \ |
|
673 |
\ |
|
674 |
develop(bool, ProtectionDomainVerification, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
675 |
"Verify protection domain before resolution in system dictionary")\ |
1 | 676 |
\ |
677 |
product(bool, ClassUnloading, true, \ |
|
678 |
"Do unloading of classes") \ |
|
679 |
\ |
|
25908
8adb2fb6fc3c
8048269: Add flag to turn off class unloading after G1 concurrent mark
stefank
parents:
25905
diff
changeset
|
680 |
product(bool, ClassUnloadingWithConcurrentMark, true, \ |
8adb2fb6fc3c
8048269: Add flag to turn off class unloading after G1 concurrent mark
stefank
parents:
25905
diff
changeset
|
681 |
"Do unloading of classes with a concurrent marking cycle") \ |
8adb2fb6fc3c
8048269: Add flag to turn off class unloading after G1 concurrent mark
stefank
parents:
25905
diff
changeset
|
682 |
\ |
1 | 683 |
develop(bool, DisableStartThread, false, \ |
684 |
"Disable starting of additional Java threads " \ |
|
685 |
"(for debugging only)") \ |
|
686 |
\ |
|
687 |
develop(bool, MemProfiling, false, \ |
|
688 |
"Write memory usage profiling to log file") \ |
|
689 |
\ |
|
690 |
notproduct(bool, PrintSystemDictionaryAtExit, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
691 |
"Print the system dictionary at exit") \ |
1 | 692 |
\ |
47774 | 693 |
diagnostic(bool, DynamicallyResizeSystemDictionaries, true, \ |
694 |
"Dynamically resize system dictionaries as needed") \ |
|
11628
13155c0c00b4
7114376: Make system dictionary hashtable bucket array size configurable
acorn
parents:
11601
diff
changeset
|
695 |
\ |
1890 | 696 |
product(bool, AlwaysLockClassLoader, false, \ |
697 |
"Require the VM to acquire the class loader lock before calling " \ |
|
698 |
"loadClass() even for class loaders registering " \ |
|
4434 | 699 |
"as parallel capable") \ |
1890 | 700 |
\ |
701 |
product(bool, AllowParallelDefineClass, false, \ |
|
702 |
"Allow parallel defineClass requests for class loaders " \ |
|
4434 | 703 |
"registering as parallel capable") \ |
1890 | 704 |
\ |
1 | 705 |
product_pd(bool, DontYieldALot, \ |
24931
4bba680186bd
8044339: Update FilterSpuriousWakeups documentation. Review "Solaris only" vm options descriptions
iignatyev
parents:
24921
diff
changeset
|
706 |
"Throw away obvious excess yield calls") \ |
1 | 707 |
\ |
708 |
develop(bool, UseDetachedThreads, true, \ |
|
709 |
"Use detached threads that are recycled upon termination " \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
710 |
"(for Solaris only)") \ |
1 | 711 |
\ |
48005
9fd89aabb6cd
8189170: Add option to disable stack overflow checking in primordial thread for use with JNI_CreateJavaJVM
dholmes
parents:
47994
diff
changeset
|
712 |
experimental(bool, DisablePrimordialThreadGuardPages, false, \ |
9fd89aabb6cd
8189170: Add option to disable stack overflow checking in primordial thread for use with JNI_CreateJavaJVM
dholmes
parents:
47994
diff
changeset
|
713 |
"Disable the use of stack guard pages if the JVM is loaded " \ |
9fd89aabb6cd
8189170: Add option to disable stack overflow checking in primordial thread for use with JNI_CreateJavaJVM
dholmes
parents:
47994
diff
changeset
|
714 |
"on the primordial process thread") \ |
9fd89aabb6cd
8189170: Add option to disable stack overflow checking in primordial thread for use with JNI_CreateJavaJVM
dholmes
parents:
47994
diff
changeset
|
715 |
\ |
1 | 716 |
product(bool, UseLWPSynchronization, true, \ |
717 |
"Use LWP-based instead of libthread-based synchronization " \ |
|
718 |
"(SPARC only)") \ |
|
719 |
\ |
|
58130 | 720 |
product(intx, MonitorBound, 0, "(Deprecated) Bound Monitor population") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
721 |
range(0, max_jint) \ |
5710 | 722 |
\ |
46541
d20828de9e39
8181859: Monitor deflation is not checked in cleanup path
rehn
parents:
46540
diff
changeset
|
723 |
experimental(intx, MonitorUsedDeflationThreshold, 90, \ |
d20828de9e39
8181859: Monitor deflation is not checked in cleanup path
rehn
parents:
46540
diff
changeset
|
724 |
"Percentage of used monitors before triggering cleanup " \ |
d20828de9e39
8181859: Monitor deflation is not checked in cleanup path
rehn
parents:
46540
diff
changeset
|
725 |
"safepoint which deflates monitors (0 is off). " \ |
d20828de9e39
8181859: Monitor deflation is not checked in cleanup path
rehn
parents:
46540
diff
changeset
|
726 |
"The check is performed on GuaranteedSafepointInterval.") \ |
d20828de9e39
8181859: Monitor deflation is not checked in cleanup path
rehn
parents:
46540
diff
changeset
|
727 |
range(0, 100) \ |
d20828de9e39
8181859: Monitor deflation is not checked in cleanup path
rehn
parents:
46540
diff
changeset
|
728 |
\ |
25472
381638db28e6
8047104: cleanup misc issues prior to Contended Locking reorder and cache
dcubed
parents:
25350
diff
changeset
|
729 |
experimental(intx, hashCode, 5, \ |
381638db28e6
8047104: cleanup misc issues prior to Contended Locking reorder and cache
dcubed
parents:
25350
diff
changeset
|
730 |
"(Unstable) select hashCode generation algorithm") \ |
381638db28e6
8047104: cleanup misc issues prior to Contended Locking reorder and cache
dcubed
parents:
25350
diff
changeset
|
731 |
\ |
4434 | 732 |
product(bool, FilterSpuriousWakeups, true, \ |
24931
4bba680186bd
8044339: Update FilterSpuriousWakeups documentation. Review "Solaris only" vm options descriptions
iignatyev
parents:
24921
diff
changeset
|
733 |
"When true prevents OS-level spurious, or premature, wakeups " \ |
4bba680186bd
8044339: Update FilterSpuriousWakeups documentation. Review "Solaris only" vm options descriptions
iignatyev
parents:
24921
diff
changeset
|
734 |
"from Object.wait (Ignored for Windows)") \ |
1 | 735 |
\ |
736 |
develop(bool, UsePthreads, false, \ |
|
737 |
"Use pthread-based instead of libthread-based synchronization " \ |
|
738 |
"(SPARC only)") \ |
|
739 |
\ |
|
740 |
product(bool, ReduceSignalUsage, false, \ |
|
741 |
"Reduce the use of OS signals in Java and/or the VM") \ |
|
742 |
\ |
|
743 |
develop(bool, LoadLineNumberTables, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
744 |
"Tell whether the class file parser loads line number tables") \ |
1 | 745 |
\ |
746 |
develop(bool, LoadLocalVariableTables, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
747 |
"Tell whether the class file parser loads local variable tables") \ |
1 | 748 |
\ |
749 |
develop(bool, LoadLocalVariableTypeTables, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
750 |
"Tell whether the class file parser loads local variable type" \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
751 |
"tables") \ |
1 | 752 |
\ |
753 |
product(bool, AllowUserSignalHandlers, false, \ |
|
754 |
"Do not complain if the application installs signal handlers " \ |
|
755 |
"(Solaris & Linux only)") \ |
|
756 |
\ |
|
757 |
product(bool, UseSignalChaining, true, \ |
|
758 |
"Use signal-chaining to invoke signal handlers installed " \ |
|
759 |
"by the application (Solaris & Linux only)") \ |
|
760 |
\ |
|
761 |
product(bool, RestoreMXCSROnJNICalls, false, \ |
|
762 |
"Restore MXCSR when returning from JNI calls") \ |
|
763 |
\ |
|
764 |
product(bool, CheckJNICalls, false, \ |
|
765 |
"Verify all arguments to JNI calls") \ |
|
766 |
\ |
|
767 |
product(bool, UseFastJNIAccessors, true, \ |
|
768 |
"Use optimized versions of Get<Primitive>Field") \ |
|
769 |
\ |
|
25630
ff281ea14d41
8046919: jni_PushLocalFrame OOM - increase MAX_REASONABLE_LOCAL_CAPACITY
dsimms
parents:
25472
diff
changeset
|
770 |
product(intx, MaxJNILocalCapacity, 65536, \ |
ff281ea14d41
8046919: jni_PushLocalFrame OOM - increase MAX_REASONABLE_LOCAL_CAPACITY
dsimms
parents:
25472
diff
changeset
|
771 |
"Maximum allowable local JNI handle capacity to " \ |
ff281ea14d41
8046919: jni_PushLocalFrame OOM - increase MAX_REASONABLE_LOCAL_CAPACITY
dsimms
parents:
25472
diff
changeset
|
772 |
"EnsureLocalCapacity() and PushLocalFrame(), " \ |
ff281ea14d41
8046919: jni_PushLocalFrame OOM - increase MAX_REASONABLE_LOCAL_CAPACITY
dsimms
parents:
25472
diff
changeset
|
773 |
"where <= 0 is unlimited, default: 65536") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
774 |
range(min_intx, max_intx) \ |
25630
ff281ea14d41
8046919: jni_PushLocalFrame OOM - increase MAX_REASONABLE_LOCAL_CAPACITY
dsimms
parents:
25472
diff
changeset
|
775 |
\ |
1 | 776 |
product(bool, EagerXrunInit, false, \ |
777 |
"Eagerly initialize -Xrun libraries; allows startup profiling, " \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
778 |
"but not all -Xrun libraries may support the state of the VM " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
779 |
"at this time") \ |
1 | 780 |
\ |
781 |
product(bool, PreserveAllAnnotations, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
782 |
"Preserve RuntimeInvisibleAnnotations as well " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
783 |
"as RuntimeVisibleAnnotations") \ |
1 | 784 |
\ |
785 |
develop(uintx, PreallocatedOutOfMemoryErrorCount, 4, \ |
|
786 |
"Number of OutOfMemoryErrors preallocated with backtrace") \ |
|
787 |
\ |
|
1437 | 788 |
product(bool, UseXMMForArrayCopy, false, \ |
789 |
"Use SSE2 MOVQ instruction for Arraycopy") \ |
|
790 |
\ |
|
1 | 791 |
product(intx, FieldsAllocationStyle, 1, \ |
57654
dd0f6703203f
8228753: Deprecate -XX:FieldsAllocationStyle product option
coleenp
parents:
57606
diff
changeset
|
792 |
"(Deprecated) 0 - type based with oops first, " \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
793 |
"1 - with oops last, " \ |
5250
ea743ca75cd9
6940733: allocate non static oop fields in super and sub classes together
kvn
parents:
5249
diff
changeset
|
794 |
"2 - oops in super and sub classes are together") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
795 |
range(0, 2) \ |
1 | 796 |
\ |
797 |
product(bool, CompactFields, true, \ |
|
57654
dd0f6703203f
8228753: Deprecate -XX:FieldsAllocationStyle product option
coleenp
parents:
57606
diff
changeset
|
798 |
"(Deprecated) Allocate nonstatic fields in gaps " \ |
dd0f6703203f
8228753: Deprecate -XX:FieldsAllocationStyle product option
coleenp
parents:
57606
diff
changeset
|
799 |
"between previous fields") \ |
1 | 800 |
\ |
15193
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
801 |
notproduct(bool, PrintFieldLayout, false, \ |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
802 |
"Print field layout for each class") \ |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
803 |
\ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
804 |
/* Need to limit the extent of the padding to reasonable size. */\ |
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
805 |
/* 8K is well beyond the reasonable HW cache line size, even with */\ |
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
806 |
/* aggressive prefetching, while still leaving the room for segregating */\ |
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
807 |
/* among the distinct pages. */\ |
15193
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
808 |
product(intx, ContendedPaddingWidth, 128, \ |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
809 |
"How many bytes to pad the fields/classes marked @Contended with")\ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
810 |
range(0, 8192) \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
811 |
constraint(ContendedPaddingWidthConstraintFunc,AfterErgo) \ |
15193
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
812 |
\ |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
813 |
product(bool, EnableContended, true, \ |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
814 |
"Enable @Contended annotation support") \ |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
815 |
\ |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
816 |
product(bool, RestrictContended, true, \ |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
817 |
"Restrict @Contended to trusted classes") \ |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
15101
diff
changeset
|
818 |
\ |
1 | 819 |
product(bool, UseBiasedLocking, true, \ |
820 |
"Enable biased locking in JVM") \ |
|
821 |
\ |
|
46577
10d018a7edee
8180421: Change default value of BiasedLockingStartupDelay to 0
rehn
parents:
46560
diff
changeset
|
822 |
product(intx, BiasedLockingStartupDelay, 0, \ |
1 | 823 |
"Number of milliseconds to wait before enabling biased locking") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
824 |
range(0, (intx)(max_jint-(max_jint%PeriodicTask::interval_gran))) \ |
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
825 |
constraint(BiasedLockingStartupDelayFunc,AfterErgo) \ |
1 | 826 |
\ |
827 |
diagnostic(bool, PrintBiasedLockingStatistics, false, \ |
|
828 |
"Print statistics of biased locking in JVM") \ |
|
829 |
\ |
|
830 |
product(intx, BiasedLockingBulkRebiasThreshold, 20, \ |
|
831 |
"Threshold of number of revocations per type to try to " \ |
|
832 |
"rebias all objects in the heap of that type") \ |
|
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
833 |
range(0, max_intx) \ |
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
834 |
constraint(BiasedLockingBulkRebiasThresholdFunc,AfterErgo) \ |
1 | 835 |
\ |
836 |
product(intx, BiasedLockingBulkRevokeThreshold, 40, \ |
|
837 |
"Threshold of number of revocations per type to permanently " \ |
|
838 |
"revoke biases of all objects in the heap of that type") \ |
|
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
839 |
range(0, max_intx) \ |
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
840 |
constraint(BiasedLockingBulkRevokeThresholdFunc,AfterErgo) \ |
1 | 841 |
\ |
842 |
product(intx, BiasedLockingDecayTime, 25000, \ |
|
843 |
"Decay time (in milliseconds) to re-enable bulk rebiasing of a " \ |
|
844 |
"type after previous bulk rebias") \ |
|
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
845 |
range(500, max_intx) \ |
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
846 |
constraint(BiasedLockingDecayTimeFunc,AfterErgo) \ |
1 | 847 |
\ |
34670
5ab871b40190
8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
kevinw
parents:
34661
diff
changeset
|
848 |
product(bool, ExitOnOutOfMemoryError, false, \ |
5ab871b40190
8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
kevinw
parents:
34661
diff
changeset
|
849 |
"JVM exits on the first occurrence of an out-of-memory error") \ |
5ab871b40190
8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
kevinw
parents:
34661
diff
changeset
|
850 |
\ |
5ab871b40190
8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
kevinw
parents:
34661
diff
changeset
|
851 |
product(bool, CrashOnOutOfMemoryError, false, \ |
5ab871b40190
8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
kevinw
parents:
34661
diff
changeset
|
852 |
"JVM aborts, producing an error log and core/mini dump, on the " \ |
5ab871b40190
8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
kevinw
parents:
34661
diff
changeset
|
853 |
"first occurrence of an out-of-memory error") \ |
5ab871b40190
8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
kevinw
parents:
34661
diff
changeset
|
854 |
\ |
1 | 855 |
/* tracing */ \ |
856 |
\ |
|
22750
a3c879b18f22
8033528: assert(0 <= i && i < length()) failed: index out of bounds
coleenp
parents:
22556
diff
changeset
|
857 |
develop(bool, StressRewriter, false, \ |
a3c879b18f22
8033528: assert(0 <= i && i < length()) failed: index out of bounds
coleenp
parents:
22556
diff
changeset
|
858 |
"Stress linktime bytecode rewriting") \ |
a3c879b18f22
8033528: assert(0 <= i && i < length()) failed: index out of bounds
coleenp
parents:
22556
diff
changeset
|
859 |
\ |
1402
ccb40ce62b79
6744783: HotSpot segfaults if given -XX options with an empty string argument
never
parents:
1129
diff
changeset
|
860 |
product(ccstr, TraceJVMTI, NULL, \ |
1 | 861 |
"Trace flags for JVMTI functions and events") \ |
862 |
\ |
|
863 |
/* This option can change an EMCP method into an obsolete method. */ \ |
|
864 |
/* This can affect tests that except specific methods to be EMCP. */ \ |
|
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
865 |
/* This option should be used with caution. */ \ |
1 | 866 |
product(bool, StressLdcRewrite, false, \ |
867 |
"Force ldc -> ldc_w rewrite during RedefineClasses") \ |
|
868 |
\ |
|
869 |
/* change to false by default sometime after Mustang */ \ |
|
870 |
product(bool, VerifyMergedCPBytecodes, true, \ |
|
871 |
"Verify bytecodes after RedefineClasses constant pool merging") \ |
|
872 |
\ |
|
54585
3452d108d06d
8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
coleenp
parents:
54322
diff
changeset
|
873 |
product(bool, AllowRedefinitionToAddDeleteMethods, false, \ |
54651
e6e327553024
8222934: mark new VM option AllowRedefinitionToAddOrDeleteMethods as deprecated
sspitsyn
parents:
54631
diff
changeset
|
874 |
"(Deprecated) Allow redefinition to add and delete private " \ |
e6e327553024
8222934: mark new VM option AllowRedefinitionToAddOrDeleteMethods as deprecated
sspitsyn
parents:
54631
diff
changeset
|
875 |
"static or final methods for compatibility with old releases") \ |
54585
3452d108d06d
8192936: RI does not follow the JVMTI RedefineClasses spec that is too strict in the definition
coleenp
parents:
54322
diff
changeset
|
876 |
\ |
1 | 877 |
develop(bool, TraceBytecodes, false, \ |
878 |
"Trace bytecode execution") \ |
|
879 |
\ |
|
880 |
develop(bool, TraceICs, false, \ |
|
881 |
"Trace inline cache changes") \ |
|
882 |
\ |
|
883 |
notproduct(bool, TraceInvocationCounterOverflow, false, \ |
|
884 |
"Trace method invocation counter overflow") \ |
|
885 |
\ |
|
886 |
develop(bool, TraceInlineCacheClearing, false, \ |
|
887 |
"Trace clearing of inline caches in nmethods") \ |
|
888 |
\ |
|
889 |
develop(bool, TraceDependencies, false, \ |
|
890 |
"Trace dependencies") \ |
|
891 |
\ |
|
892 |
develop(bool, VerifyDependencies, trueInDebug, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
893 |
"Exercise and verify the compilation dependency mechanism") \ |
1 | 894 |
\ |
895 |
develop(bool, TraceNewOopMapGeneration, false, \ |
|
896 |
"Trace OopMapGeneration") \ |
|
897 |
\ |
|
898 |
develop(bool, TraceNewOopMapGenerationDetailed, false, \ |
|
899 |
"Trace OopMapGeneration: print detailed cell states") \ |
|
900 |
\ |
|
901 |
develop(bool, TimeOopMap, false, \ |
|
902 |
"Time calls to GenerateOopMap::compute_map() in sum") \ |
|
903 |
\ |
|
904 |
develop(bool, TimeOopMap2, false, \ |
|
905 |
"Time calls to GenerateOopMap::compute_map() individually") \ |
|
906 |
\ |
|
907 |
develop(bool, TraceOopMapRewrites, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
908 |
"Trace rewriting of method oops during oop map generation") \ |
1 | 909 |
\ |
910 |
develop(bool, TraceICBuffer, false, \ |
|
911 |
"Trace usage of IC buffer") \ |
|
912 |
\ |
|
913 |
develop(bool, TraceCompiledIC, false, \ |
|
914 |
"Trace changes of compiled IC") \ |
|
915 |
\ |
|
916 |
develop(bool, FLSVerifyDictionary, false, \ |
|
917 |
"Do lots of (expensive) FLS dictionary verification") \ |
|
918 |
\ |
|
919 |
\ |
|
920 |
notproduct(bool, CheckMemoryInitialization, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
921 |
"Check memory initialization") \ |
1 | 922 |
\ |
923 |
product(uintx, ProcessDistributionStride, 4, \ |
|
924 |
"Stride through processors when distributing processes") \ |
|
34661
9a1d11d88ea0
8142341: GC: current flags need ranges to be implemented
sangheki
parents:
34629
diff
changeset
|
925 |
range(0, max_juint) \ |
1 | 926 |
\ |
927 |
develop(bool, TraceFinalizerRegistration, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
928 |
"Trace registration of final references") \ |
1 | 929 |
\ |
26135
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
930 |
product(bool, IgnoreEmptyClassPaths, false, \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
931 |
"Ignore empty path elements in -classpath") \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
932 |
\ |
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
933 |
product(size_t, InitialBootClassLoaderMetaspaceSize, \ |
15086
2bfd799e9147
8005082: NPG: Add specialized Metachunk sizes for reflection and anonymous classloaders
jmasa
parents:
14835
diff
changeset
|
934 |
NOT_LP64(2200*K) LP64_ONLY(4*M), \ |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13521
diff
changeset
|
935 |
"Initial size of the boot class loader data metaspace") \ |
33144
c56850e328fc
8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
sangheki
parents:
33083
diff
changeset
|
936 |
range(30*K, max_uintx/BytesPerWord) \ |
c56850e328fc
8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
sangheki
parents:
33083
diff
changeset
|
937 |
constraint(InitialBootClassLoaderMetaspaceSizeConstraintFunc, AfterErgo)\ |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13521
diff
changeset
|
938 |
\ |
1 | 939 |
product(bool, PrintHeapAtSIGBREAK, true, \ |
940 |
"Print heap layout in response to SIGBREAK") \ |
|
941 |
\ |
|
942 |
manageable(bool, PrintClassHistogram, false, \ |
|
943 |
"Print a histogram of class instances") \ |
|
944 |
\ |
|
18025 | 945 |
experimental(double, ObjectCountCutOffPercent, 0.5, \ |
946 |
"The percentage of the used heap that the instances of a class " \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
947 |
"must occupy for the class to generate a trace event") \ |
33144
c56850e328fc
8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
sangheki
parents:
33083
diff
changeset
|
948 |
range(0.0, 100.0) \ |
18025 | 949 |
\ |
1 | 950 |
/* JVMTI heap profiling */ \ |
951 |
\ |
|
952 |
diagnostic(bool, TraceJVMTIObjectTagging, false, \ |
|
953 |
"Trace JVMTI object tagging calls") \ |
|
954 |
\ |
|
955 |
diagnostic(bool, VerifyBeforeIteration, false, \ |
|
956 |
"Verify memory system before JVMTI iteration") \ |
|
957 |
\ |
|
958 |
/* compiler interface */ \ |
|
959 |
\ |
|
960 |
develop(bool, CIPrintCompilerName, false, \ |
|
961 |
"when CIPrint is active, print the name of the active compiler") \ |
|
962 |
\ |
|
26587 | 963 |
diagnostic(bool, CIPrintCompileQueue, false, \ |
1 | 964 |
"display the contents of the compile queue whenever a " \ |
965 |
"compilation is enqueued") \ |
|
966 |
\ |
|
967 |
develop(bool, CIPrintRequests, false, \ |
|
968 |
"display every request for compilation") \ |
|
969 |
\ |
|
970 |
product(bool, CITime, false, \ |
|
971 |
"collect timing information for compilation") \ |
|
972 |
\ |
|
26913 | 973 |
develop(bool, CITimeVerbose, false, \ |
974 |
"be more verbose in compilation timings") \ |
|
975 |
\ |
|
1 | 976 |
develop(bool, CITimeEach, false, \ |
977 |
"display timing information after each successful compilation") \ |
|
978 |
\ |
|
13964 | 979 |
develop(bool, CICountOSR, false, \ |
1 | 980 |
"use a separate counter when assigning ids to osr compilations") \ |
981 |
\ |
|
982 |
develop(bool, CICompileNatives, true, \ |
|
983 |
"compile native methods if supported by the compiler") \ |
|
984 |
\ |
|
985 |
develop_pd(bool, CICompileOSR, \ |
|
986 |
"compile on stack replacement methods if supported by the " \ |
|
987 |
"compiler") \ |
|
988 |
\ |
|
989 |
develop(bool, CIPrintMethodCodes, false, \ |
|
990 |
"print method bytecodes of the compiled code") \ |
|
991 |
\ |
|
992 |
develop(bool, CIPrintTypeFlow, false, \ |
|
993 |
"print the results of ciTypeFlow analysis") \ |
|
994 |
\ |
|
995 |
develop(bool, CITraceTypeFlow, false, \ |
|
996 |
"detailed per-bytecode tracing of ciTypeFlow analysis") \ |
|
997 |
\ |
|
8870 | 998 |
develop(intx, OSROnlyBCI, -1, \ |
999 |
"OSR only at this bci. Negative values mean exclude that bci") \ |
|
1000 |
\ |
|
1 | 1001 |
/* compiler */ \ |
1002 |
\ |
|
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1003 |
/* notice: the max range value here is max_jint, not max_intx */ \ |
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1004 |
/* because of overflow issue */ \ |
1 | 1005 |
product(intx, CICompilerCount, CI_COMPILER_COUNT, \ |
1006 |
"Number of compiler threads to run") \ |
|
31959
34180370555e
8130858: CICompilerCount=1 when tiered is off is not allowed any more
roland
parents:
31867
diff
changeset
|
1007 |
range(0, max_jint) \ |
40364
5bf8fa4fddfd
8162881: Effect of -XX:CICompilerCount depends on ordering of other flags
thartmann
parents:
40096
diff
changeset
|
1008 |
constraint(CICompilerCountConstraintFunc, AfterErgo) \ |
1 | 1009 |
\ |
49848 | 1010 |
product(bool, UseDynamicNumberOfCompilerThreads, true, \ |
1011 |
"Dynamically choose the number of parallel compiler threads") \ |
|
1012 |
\ |
|
1013 |
diagnostic(bool, ReduceNumberOfCompilerThreads, true, \ |
|
1014 |
"Reduce the number of parallel compiler threads when they " \ |
|
1015 |
"are not used") \ |
|
1016 |
\ |
|
1017 |
diagnostic(bool, TraceCompilerThreads, false, \ |
|
1018 |
"Trace creation and removal of compiler threads") \ |
|
1019 |
\ |
|
1020 |
develop(bool, InjectCompilerCreationFailure, false, \ |
|
1021 |
"Inject thread creation failures for " \ |
|
1022 |
"UseDynamicNumberOfCompilerThreads") \ |
|
1023 |
\ |
|
1 | 1024 |
develop(bool, UseStackBanging, true, \ |
1025 |
"use stack banging for stack overflow checks (required for " \ |
|
1026 |
"proper StackOverflow handling; disable only to measure cost " \ |
|
1027 |
"of stackbanging)") \ |
|
1028 |
\ |
|
1029 |
develop(bool, UseStrictFP, true, \ |
|
1030 |
"use strict fp if modifier strictfp is set") \ |
|
1031 |
\ |
|
1032 |
develop(bool, GenerateSynchronizationCode, true, \ |
|
1033 |
"generate locking/unlocking code for synchronized methods and " \ |
|
1034 |
"monitors") \ |
|
1035 |
\ |
|
1036 |
develop(bool, GenerateRangeChecks, true, \ |
|
1037 |
"Generate range checks for array accesses") \ |
|
1038 |
\ |
|
39117 | 1039 |
diagnostic_pd(bool, ImplicitNullChecks, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1040 |
"Generate code for implicit null checks") \ |
1 | 1041 |
\ |
22856
03ad2cf18166
8029015: PPC64 (part 216): opto: trap based null and range checks
goetz
parents:
22851
diff
changeset
|
1042 |
product_pd(bool, TrapBasedNullChecks, \ |
03ad2cf18166
8029015: PPC64 (part 216): opto: trap based null and range checks
goetz
parents:
22851
diff
changeset
|
1043 |
"Generate code for null checks that uses a cmp and trap " \ |
03ad2cf18166
8029015: PPC64 (part 216): opto: trap based null and range checks
goetz
parents:
22851
diff
changeset
|
1044 |
"instruction raising SIGTRAP. This is only used if an access to" \ |
03ad2cf18166
8029015: PPC64 (part 216): opto: trap based null and range checks
goetz
parents:
22851
diff
changeset
|
1045 |
"null (+offset) will not raise a SIGSEGV, i.e.," \ |
03ad2cf18166
8029015: PPC64 (part 216): opto: trap based null and range checks
goetz
parents:
22851
diff
changeset
|
1046 |
"ImplicitNullChecks don't work (PPC64).") \ |
03ad2cf18166
8029015: PPC64 (part 216): opto: trap based null and range checks
goetz
parents:
22851
diff
changeset
|
1047 |
\ |
48105
8d15b1369c7a
8167108: inconsistent handling of SR_lock can lead to crashes
dcubed
parents:
48005
diff
changeset
|
1048 |
diagnostic(bool, EnableThreadSMRExtraValidityChecks, true, \ |
8d15b1369c7a
8167108: inconsistent handling of SR_lock can lead to crashes
dcubed
parents:
48005
diff
changeset
|
1049 |
"Enable Thread SMR extra validity checks") \ |
8d15b1369c7a
8167108: inconsistent handling of SR_lock can lead to crashes
dcubed
parents:
48005
diff
changeset
|
1050 |
\ |
48184
aed61a8ce8f9
8192810: EnableThreadSMRStatistics should be default off in release builds
dcubed
parents:
48179
diff
changeset
|
1051 |
diagnostic(bool, EnableThreadSMRStatistics, trueInDebug, \ |
48105
8d15b1369c7a
8167108: inconsistent handling of SR_lock can lead to crashes
dcubed
parents:
48005
diff
changeset
|
1052 |
"Enable Thread SMR Statistics") \ |
8d15b1369c7a
8167108: inconsistent handling of SR_lock can lead to crashes
dcubed
parents:
48005
diff
changeset
|
1053 |
\ |
58503
726a3945e934
8170299: Debugger does not stop inside the low memory notifications code
dtitov
parents:
58438
diff
changeset
|
1054 |
product(bool, UseNotificationThread, true, \ |
726a3945e934
8170299: Debugger does not stop inside the low memory notifications code
dtitov
parents:
58438
diff
changeset
|
1055 |
"Use Notification Thread") \ |
726a3945e934
8170299: Debugger does not stop inside the low memory notifications code
dtitov
parents:
58438
diff
changeset
|
1056 |
\ |
1 | 1057 |
product(bool, Inline, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1058 |
"Enable inlining") \ |
1 | 1059 |
\ |
1060 |
product(bool, ClipInlining, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1061 |
"Clip inlining if aggregate method exceeds DesiredMethodLimit") \ |
1 | 1062 |
\ |
1063 |
develop(bool, UseCHA, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1064 |
"Enable CHA") \ |
1 | 1065 |
\ |
1066 |
product(bool, UseTypeProfile, true, \ |
|
1067 |
"Check interpreter profile for historically monomorphic calls") \ |
|
1068 |
\ |
|
1069 |
diagnostic(bool, PrintInlining, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1070 |
"Print inlining optimizations") \ |
1 | 1071 |
\ |
2255
54abdf3e1055
6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents:
2254
diff
changeset
|
1072 |
product(bool, UsePopCountInstruction, false, \ |
54abdf3e1055
6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents:
2254
diff
changeset
|
1073 |
"Use population count instruction") \ |
54abdf3e1055
6378821: bitCount() should use POPC on SPARC processors and AMD+10h
twisti
parents:
2254
diff
changeset
|
1074 |
\ |
1 | 1075 |
develop(bool, EagerInitialization, false, \ |
1076 |
"Eagerly initialize classes if possible") \ |
|
1077 |
\ |
|
31790 | 1078 |
diagnostic(bool, LogTouchedMethods, false, \ |
1079 |
"Log methods which have been ever touched in runtime") \ |
|
1080 |
\ |
|
1081 |
diagnostic(bool, PrintTouchedMethodsAtExit, false, \ |
|
1082 |
"Print all methods that have been ever touched in runtime") \ |
|
1083 |
\ |
|
1 | 1084 |
develop(bool, TraceMethodReplacement, false, \ |
1085 |
"Print when methods are replaced do to recompilation") \ |
|
1086 |
\ |
|
1087 |
develop(bool, PrintMethodFlushing, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1088 |
"Print the nmethods being flushed") \ |
1 | 1089 |
\ |
22210
b0408ba029f6
8025277: Add -XX: flag to print code cache sweeper statistics
anoll
parents:
21733
diff
changeset
|
1090 |
diagnostic(bool, PrintMethodFlushingStatistics, false, \ |
b0408ba029f6
8025277: Add -XX: flag to print code cache sweeper statistics
anoll
parents:
21733
diff
changeset
|
1091 |
"print statistics about method flushing") \ |
b0408ba029f6
8025277: Add -XX: flag to print code cache sweeper statistics
anoll
parents:
21733
diff
changeset
|
1092 |
\ |
24442
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1093 |
diagnostic(intx, HotMethodDetectionLimit, 100000, \ |
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1094 |
"Number of compiled code invocations after which " \ |
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1095 |
"the method is considered as hot by the flusher") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1096 |
range(1, max_jint) \ |
24442
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1097 |
\ |
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1098 |
diagnostic(intx, MinPassesBeforeFlush, 10, \ |
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1099 |
"Minimum number of sweeper passes before an nmethod " \ |
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1100 |
"can be flushed") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1101 |
range(0, max_intx) \ |
24442
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1102 |
\ |
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1103 |
product(bool, UseCodeAging, true, \ |
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1104 |
"Insert counter to detect warm methods") \ |
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1105 |
\ |
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1106 |
diagnostic(bool, StressCodeAging, false, \ |
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1107 |
"Start with counters compiled in") \ |
4d4ae31dea26
8032463: VirtualDispatch test timeout with DeoptimizeALot
iveresov
parents:
24441
diff
changeset
|
1108 |
\ |
1 | 1109 |
develop(bool, StressCodeBuffers, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1110 |
"Exercise code buffer expansion and other rare state changes") \ |
1 | 1111 |
\ |
1112 |
diagnostic(bool, DebugNonSafepoints, trueInDebug, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1113 |
"Generate extra debugging information for non-safepoints in " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1114 |
"nmethods") \ |
1 | 1115 |
\ |
10990 | 1116 |
product(bool, PrintVMOptions, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1117 |
"Print flags that appeared on the command line") \ |
1 | 1118 |
\ |
2028 | 1119 |
product(bool, IgnoreUnrecognizedVMOptions, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1120 |
"Ignore unrecognized VM options") \ |
2028 | 1121 |
\ |
4579 | 1122 |
product(bool, PrintCommandLineFlags, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1123 |
"Print flags specified on command line or set by ergonomics") \ |
4579 | 1124 |
\ |
1125 |
product(bool, PrintFlagsInitial, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1126 |
"Print all VM flags before argument processing and exit VM") \ |
4579 | 1127 |
\ |
1128 |
product(bool, PrintFlagsFinal, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1129 |
"Print all VM flags after argument and ergonomic processing") \ |
4579 | 1130 |
\ |
6438
ace4f8100e90
6979444: add command line option to print command line flags descriptions
ikrylov
parents:
6419
diff
changeset
|
1131 |
notproduct(bool, PrintFlagsWithComments, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1132 |
"Print all VM flags with default values and descriptions and " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1133 |
"exit") \ |
6438
ace4f8100e90
6979444: add command line option to print command line flags descriptions
ikrylov
parents:
6419
diff
changeset
|
1134 |
\ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1135 |
product(bool, PrintFlagsRanges, false, \ |
54214
0288c6919a20
8221096: Description of -XX:+PrintFlagsRanges is incorrect
hseigel
parents:
54208
diff
changeset
|
1136 |
"Print VM flags and their ranges") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1137 |
\ |
1 | 1138 |
diagnostic(bool, SerializeVMOutput, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1139 |
"Use a mutex to serialize output to tty and LogFile") \ |
1 | 1140 |
\ |
1141 |
diagnostic(bool, DisplayVMOutput, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1142 |
"Display all VM output on the tty, independently of LogVMOutput") \ |
1 | 1143 |
\ |
20010
c66a7254680c
8023134: Rename VM LogFile to hotspot_pid{pid}.log (was hotspot.log)
vlivanov
parents:
19770
diff
changeset
|
1144 |
diagnostic(bool, LogVMOutput, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1145 |
"Save VM output to LogFile") \ |
1 | 1146 |
\ |
1147 |
diagnostic(ccstr, LogFile, NULL, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1148 |
"If LogVMOutput or LogCompilation is on, save VM output to " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1149 |
"this file [default: ./hotspot_pid%p.log] (%p replaced with pid)")\ |
1 | 1150 |
\ |
1151 |
product(ccstr, ErrorFile, NULL, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1152 |
"If an error occurs, save the error data to this file " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1153 |
"[default: ./hs_err_pid%p.log] (%p replaced with pid)") \ |
1 | 1154 |
\ |
52454
9b20fe769046
8211845: A new switch to control verbosity of hs-err files
stuefe
parents:
52361
diff
changeset
|
1155 |
product(bool, ExtensiveErrorReports, \ |
52473
a8389aeabf90
8213592: Misaligned code in globals.hpp after 8211845
stuefe
parents:
52460
diff
changeset
|
1156 |
PRODUCT_ONLY(false) NOT_PRODUCT(true), \ |
a8389aeabf90
8213592: Misaligned code in globals.hpp after 8211845
stuefe
parents:
52460
diff
changeset
|
1157 |
"Error reports are more extensive.") \ |
52454
9b20fe769046
8211845: A new switch to control verbosity of hs-err files
stuefe
parents:
52361
diff
changeset
|
1158 |
\ |
1 | 1159 |
product(bool, DisplayVMOutputToStderr, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1160 |
"If DisplayVMOutput is true, display all VM output to stderr") \ |
1 | 1161 |
\ |
1162 |
product(bool, DisplayVMOutputToStdout, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1163 |
"If DisplayVMOutput is true, display all VM output to stdout") \ |
1 | 1164 |
\ |
54322
cf75ea6af695
8220786: Create new switch to redirect error reporting output to stdout or stderr
stuefe
parents:
54278
diff
changeset
|
1165 |
product(bool, ErrorFileToStderr, false, \ |
cf75ea6af695
8220786: Create new switch to redirect error reporting output to stdout or stderr
stuefe
parents:
54278
diff
changeset
|
1166 |
"If true, error data is printed to stderr instead of a file") \ |
cf75ea6af695
8220786: Create new switch to redirect error reporting output to stdout or stderr
stuefe
parents:
54278
diff
changeset
|
1167 |
\ |
cf75ea6af695
8220786: Create new switch to redirect error reporting output to stdout or stderr
stuefe
parents:
54278
diff
changeset
|
1168 |
product(bool, ErrorFileToStdout, false, \ |
cf75ea6af695
8220786: Create new switch to redirect error reporting output to stdout or stderr
stuefe
parents:
54278
diff
changeset
|
1169 |
"If true, error data is printed to stdout instead of a file") \ |
cf75ea6af695
8220786: Create new switch to redirect error reporting output to stdout or stderr
stuefe
parents:
54278
diff
changeset
|
1170 |
\ |
1 | 1171 |
product(bool, UseHeavyMonitors, false, \ |
1172 |
"use heavyweight instead of lightweight Java monitors") \ |
|
1173 |
\ |
|
13087 | 1174 |
product(bool, PrintStringTableStatistics, false, \ |
1175 |
"print statistics about the StringTable and SymbolTable") \ |
|
1176 |
\ |
|
20053
a12bd7991794
8019835: Strings interned in different threads equal but does not ==
dcubed
parents:
19770
diff
changeset
|
1177 |
diagnostic(bool, VerifyStringTableAtExit, false, \ |
a12bd7991794
8019835: Strings interned in different threads equal but does not ==
dcubed
parents:
19770
diff
changeset
|
1178 |
"verify StringTable contents at exit") \ |
a12bd7991794
8019835: Strings interned in different threads equal but does not ==
dcubed
parents:
19770
diff
changeset
|
1179 |
\ |
1 | 1180 |
notproduct(bool, PrintSymbolTableSizeHistogram, false, \ |
1181 |
"print histogram of the symbol table") \ |
|
1182 |
\ |
|
1183 |
notproduct(bool, ExitVMOnVerifyError, false, \ |
|
1184 |
"standard exit from VM if bytecode verify error " \ |
|
1185 |
"(only in debug mode)") \ |
|
1186 |
\ |
|
33208
5ec6ffa63c57
8136577: Make AbortVMOnException available in product builds
poonam
parents:
33144
diff
changeset
|
1187 |
diagnostic(ccstr, AbortVMOnException, NULL, \ |
1 | 1188 |
"Call fatal if this exception is thrown. Example: " \ |
1189 |
"java -XX:AbortVMOnException=java.lang.NullPointerException Foo") \ |
|
1190 |
\ |
|
33208
5ec6ffa63c57
8136577: Make AbortVMOnException available in product builds
poonam
parents:
33144
diff
changeset
|
1191 |
diagnostic(ccstr, AbortVMOnExceptionMessage, NULL, \ |
6179
4846648c4b7b
6973308: Missing zero length check before repne scas in check_klass_subtype_slow_path()
kvn
parents:
6062
diff
changeset
|
1192 |
"Call fatal if the exception pointed by AbortVMOnException " \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1193 |
"has this message") \ |
6179
4846648c4b7b
6973308: Missing zero length check before repne scas in check_klass_subtype_slow_path()
kvn
parents:
6062
diff
changeset
|
1194 |
\ |
1 | 1195 |
develop(bool, DebugVtables, false, \ |
1196 |
"add debugging code to vtable dispatch") \ |
|
1197 |
\ |
|
1198 |
notproduct(bool, PrintVtableStats, false, \ |
|
1199 |
"print vtables stats at end of run") \ |
|
1200 |
\ |
|
1201 |
develop(bool, TraceCreateZombies, false, \ |
|
1202 |
"trace creation of zombie nmethods") \ |
|
1203 |
\ |
|
1204 |
product(bool, RangeCheckElimination, true, \ |
|
16611 | 1205 |
"Eliminate range checks") \ |
1 | 1206 |
\ |
1207 |
develop_pd(bool, UncommonNullCast, \ |
|
1208 |
"track occurrences of null in casts; adjust compiler tactics") \ |
|
1209 |
\ |
|
1210 |
develop(bool, TypeProfileCasts, true, \ |
|
1211 |
"treat casts like calls for purposes of type profiling") \ |
|
1212 |
\ |
|
1213 |
develop(bool, TraceLivenessGen, false, \ |
|
1214 |
"Trace the generation of liveness analysis information") \ |
|
1215 |
\ |
|
1216 |
notproduct(bool, TraceLivenessQuery, false, \ |
|
1217 |
"Trace queries of liveness analysis information") \ |
|
1218 |
\ |
|
1219 |
notproduct(bool, CollectIndexSetStatistics, false, \ |
|
1220 |
"Collect information about IndexSets") \ |
|
1221 |
\ |
|
1222 |
develop(bool, UseLoopSafepoints, true, \ |
|
1223 |
"Generate Safepoint nodes in every loop") \ |
|
1224 |
\ |
|
1225 |
develop(intx, FastAllocateSizeLimit, 128*K, \ |
|
1226 |
/* Note: This value is zero mod 1<<13 for a cheap sparc set. */ \ |
|
1227 |
"Inline allocations larger than this in doublewords must go slow")\ |
|
1228 |
\ |
|
33628 | 1229 |
product_pd(bool, CompactStrings, \ |
1230 |
"Enable Strings to use single byte chars in backing store") \ |
|
1231 |
\ |
|
20702
bbe0fcde6e13
8023657: New type profiling points: arguments to call
roland
parents:
20292
diff
changeset
|
1232 |
product_pd(uintx, TypeProfileLevel, \ |
21095
1a04f7b3946e
8026251: New type profiling points: parameters to methods
roland
parents:
20735
diff
changeset
|
1233 |
"=XYZ, with Z: Type profiling of arguments at call; " \ |
1a04f7b3946e
8026251: New type profiling points: parameters to methods
roland
parents:
20735
diff
changeset
|
1234 |
"Y: Type profiling of return value at call; " \ |
1a04f7b3946e
8026251: New type profiling points: parameters to methods
roland
parents:
20735
diff
changeset
|
1235 |
"X: Type profiling of parameters to methods; " \ |
1a04f7b3946e
8026251: New type profiling points: parameters to methods
roland
parents:
20735
diff
changeset
|
1236 |
"X, Y and Z in 0=off ; 1=jsr292 only; 2=all methods") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1237 |
constraint(TypeProfileLevelConstraintFunc, AfterErgo) \ |
20702
bbe0fcde6e13
8023657: New type profiling points: arguments to call
roland
parents:
20292
diff
changeset
|
1238 |
\ |
bbe0fcde6e13
8023657: New type profiling points: arguments to call
roland
parents:
20292
diff
changeset
|
1239 |
product(intx, TypeProfileArgsLimit, 2, \ |
bbe0fcde6e13
8023657: New type profiling points: arguments to call
roland
parents:
20292
diff
changeset
|
1240 |
"max number of call arguments to consider for type profiling") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1241 |
range(0, 16) \ |
20702
bbe0fcde6e13
8023657: New type profiling points: arguments to call
roland
parents:
20292
diff
changeset
|
1242 |
\ |
21095
1a04f7b3946e
8026251: New type profiling points: parameters to methods
roland
parents:
20735
diff
changeset
|
1243 |
product(intx, TypeProfileParmsLimit, 2, \ |
1a04f7b3946e
8026251: New type profiling points: parameters to methods
roland
parents:
20735
diff
changeset
|
1244 |
"max number of incoming parameters to consider for type profiling"\ |
1a04f7b3946e
8026251: New type profiling points: parameters to methods
roland
parents:
20735
diff
changeset
|
1245 |
", -1 for all") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1246 |
range(-1, 64) \ |
21095
1a04f7b3946e
8026251: New type profiling points: parameters to methods
roland
parents:
20735
diff
changeset
|
1247 |
\ |
1 | 1248 |
/* statistics */ \ |
1249 |
develop(bool, CountCompiledCalls, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1250 |
"Count method invocations") \ |
1 | 1251 |
\ |
1252 |
notproduct(bool, CountRuntimeCalls, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1253 |
"Count VM runtime calls") \ |
1 | 1254 |
\ |
1255 |
develop(bool, CountJNICalls, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1256 |
"Count jni method invocations") \ |
1 | 1257 |
\ |
1258 |
notproduct(bool, CountJVMCalls, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1259 |
"Count jvm method invocations") \ |
1 | 1260 |
\ |
1261 |
notproduct(bool, CountRemovableExceptions, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1262 |
"Count exceptions that could be replaced by branches due to " \ |
1 | 1263 |
"inlining") \ |
1264 |
\ |
|
1265 |
notproduct(bool, ICMissHistogram, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1266 |
"Produce histogram of IC misses") \ |
1 | 1267 |
\ |
1268 |
/* interpreter */ \ |
|
1269 |
product_pd(bool, RewriteBytecodes, \ |
|
1270 |
"Allow rewriting of bytecodes (bytecodes are not immutable)") \ |
|
1271 |
\ |
|
1272 |
product_pd(bool, RewriteFrequentPairs, \ |
|
1273 |
"Rewrite frequently used bytecode pairs into a single bytecode") \ |
|
1274 |
\ |
|
347
df859fcca515
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
249
diff
changeset
|
1275 |
diagnostic(bool, PrintInterpreter, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1276 |
"Print the generated interpreter code") \ |
1 | 1277 |
\ |
1278 |
product(bool, UseInterpreter, true, \ |
|
1279 |
"Use interpreter for non-compiled methods") \ |
|
1280 |
\ |
|
1281 |
develop(bool, UseFastSignatureHandlers, true, \ |
|
1282 |
"Use fast signature handlers for native calls") \ |
|
1283 |
\ |
|
1284 |
product(bool, UseLoopCounter, true, \ |
|
1285 |
"Increment invocation counter on backward branch") \ |
|
1286 |
\ |
|
1287 |
product_pd(bool, UseOnStackReplacement, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1288 |
"Use on stack replacement, calls runtime if invoc. counter " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1289 |
"overflows in loop") \ |
1 | 1290 |
\ |
1291 |
notproduct(bool, TraceOnStackReplacement, false, \ |
|
1292 |
"Trace on stack replacement") \ |
|
1293 |
\ |
|
1294 |
product_pd(bool, PreferInterpreterNativeStubs, \ |
|
1295 |
"Use always interpreter stubs for native methods invoked via " \ |
|
1296 |
"interpreter") \ |
|
1297 |
\ |
|
1298 |
develop(bool, CountBytecodes, false, \ |
|
1299 |
"Count number of bytecodes executed") \ |
|
1300 |
\ |
|
1301 |
develop(bool, PrintBytecodeHistogram, false, \ |
|
1302 |
"Print histogram of the executed bytecodes") \ |
|
1303 |
\ |
|
1304 |
develop(bool, PrintBytecodePairHistogram, false, \ |
|
1305 |
"Print histogram of the executed bytecode pairs") \ |
|
1306 |
\ |
|
347
df859fcca515
6667042: PrintAssembly option does not work without special plugin
jrose
parents:
249
diff
changeset
|
1307 |
diagnostic(bool, PrintSignatureHandlers, false, \ |
1 | 1308 |
"Print code generated for native method signature handlers") \ |
1309 |
\ |
|
1310 |
develop(bool, VerifyOops, false, \ |
|
1311 |
"Do plausibility checks for oops") \ |
|
1312 |
\ |
|
1313 |
develop(bool, CheckUnhandledOops, false, \ |
|
1314 |
"Check for unhandled oops in VM code") \ |
|
1315 |
\ |
|
1316 |
develop(bool, VerifyJNIFields, trueInDebug, \ |
|
1317 |
"Verify jfieldIDs for instance fields") \ |
|
1318 |
\ |
|
1319 |
notproduct(bool, VerifyJNIEnvThread, false, \ |
|
1320 |
"Verify JNIEnv.thread == Thread::current() when entering VM " \ |
|
1321 |
"from JNI") \ |
|
1322 |
\ |
|
1323 |
develop(bool, VerifyFPU, false, \ |
|
1324 |
"Verify FPU state (check for NaN's, etc.)") \ |
|
1325 |
\ |
|
1326 |
develop(bool, VerifyThread, false, \ |
|
1327 |
"Watch the thread register for corruption (SPARC only)") \ |
|
1328 |
\ |
|
1329 |
develop(bool, VerifyActivationFrameSize, false, \ |
|
1330 |
"Verify that activation frame didn't become smaller than its " \ |
|
1331 |
"minimal size") \ |
|
1332 |
\ |
|
1333 |
develop(bool, TraceFrequencyInlining, false, \ |
|
1334 |
"Trace frequency based inlining") \ |
|
1335 |
\ |
|
1336 |
develop_pd(bool, InlineIntrinsics, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1337 |
"Inline intrinsics that can be statically resolved") \ |
1 | 1338 |
\ |
1339 |
product_pd(bool, ProfileInterpreter, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1340 |
"Profile at the bytecode level during interpretation") \ |
1 | 1341 |
\ |
22836
e7e511228518
8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
22828
diff
changeset
|
1342 |
develop(bool, TraceProfileInterpreter, false, \ |
e7e511228518
8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
22828
diff
changeset
|
1343 |
"Trace profiling at the bytecode level during interpretation. " \ |
e7e511228518
8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
22828
diff
changeset
|
1344 |
"This outputs the profiling information collected to improve " \ |
e7e511228518
8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
22828
diff
changeset
|
1345 |
"jit compilation.") \ |
e7e511228518
8024468: PPC64 (part 201): cppInterpreter: implement bytecode profiling
goetz
parents:
22828
diff
changeset
|
1346 |
\ |
1 | 1347 |
develop_pd(bool, ProfileTraps, \ |
1348 |
"Profile deoptimization traps at the bytecode level") \ |
|
1349 |
\ |
|
1350 |
product(intx, ProfileMaturityPercentage, 20, \ |
|
1351 |
"number of method invocations/branches (expressed as % of " \ |
|
1352 |
"CompileThreshold) before using the method's profile") \ |
|
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1353 |
range(0, 100) \ |
1 | 1354 |
\ |
23526
6851d341ad52
8037970: make PrintMethodData a diagnostic options
roland
parents:
23474
diff
changeset
|
1355 |
diagnostic(bool, PrintMethodData, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1356 |
"Print the results of +ProfileInterpreter at end of run") \ |
1 | 1357 |
\ |
1358 |
develop(bool, VerifyDataPointer, trueInDebug, \ |
|
1359 |
"Verify the method data pointer during interpreter profiling") \ |
|
1360 |
\ |
|
1361 |
develop(bool, VerifyCompiledCode, false, \ |
|
1362 |
"Include miscellaneous runtime verifications in nmethod code; " \ |
|
4434 | 1363 |
"default off because it disturbs nmethod size heuristics") \ |
1 | 1364 |
\ |
4489
514173c9a0c2
6361589: Print out stack trace for target thread of GC crash
minqi
parents:
4434
diff
changeset
|
1365 |
notproduct(bool, CrashGCForDumpingJavaThread, false, \ |
514173c9a0c2
6361589: Print out stack trace for target thread of GC crash
minqi
parents:
4434
diff
changeset
|
1366 |
"Manually make GC thread crash then dump java stack trace; " \ |
514173c9a0c2
6361589: Print out stack trace for target thread of GC crash
minqi
parents:
4434
diff
changeset
|
1367 |
"Test only") \ |
1 | 1368 |
\ |
1369 |
/* compilation */ \ |
|
1370 |
product(bool, UseCompiler, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1371 |
"Use Just-In-Time compilation") \ |
1 | 1372 |
\ |
1373 |
product(bool, UseCounterDecay, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1374 |
"Adjust recompilation counters") \ |
1 | 1375 |
\ |
1376 |
develop(intx, CounterHalfLifeTime, 30, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1377 |
"Half-life time of invocation counters (in seconds)") \ |
1 | 1378 |
\ |
1379 |
develop(intx, CounterDecayMinIntervalLength, 500, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1380 |
"The minimum interval (in milliseconds) between invocation of " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1381 |
"CounterDecay") \ |
1 | 1382 |
\ |
1383 |
product(bool, AlwaysCompileLoopMethods, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1384 |
"When using recompilation, never interpret methods " \ |
1 | 1385 |
"containing loops") \ |
1386 |
\ |
|
1387 |
product(bool, DontCompileHugeMethods, true, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1388 |
"Do not compile methods > HugeMethodLimit") \ |
1 | 1389 |
\ |
1390 |
/* Bytecode escape analysis estimation. */ \ |
|
1391 |
product(bool, EstimateArgEscape, true, \ |
|
1392 |
"Analyze bytecodes to estimate escape state of arguments") \ |
|
1393 |
\ |
|
1394 |
product(intx, BCEATraceLevel, 0, \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1395 |
"How much tracing to do of bytecode escape analysis estimates " \ |
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1396 |
"(0-3)") \ |
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1397 |
range(0, 3) \ |
1 | 1398 |
\ |
1399 |
product(intx, MaxBCEAEstimateLevel, 5, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1400 |
"Maximum number of nested calls that are analyzed by BC EA") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1401 |
range(0, max_jint) \ |
1 | 1402 |
\ |
1403 |
product(intx, MaxBCEAEstimateSize, 150, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1404 |
"Maximum bytecode size of a method to be analyzed by BC EA") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1405 |
range(0, max_jint) \ |
1 | 1406 |
\ |
1407 |
product(intx, AllocatePrefetchStyle, 1, \ |
|
1408 |
"0 = no prefetch, " \ |
|
38220
8d86b82e0ac7
8153340: Disallow misconfiguration and improve the consistency of allocation prefetching
zmajo
parents:
37462
diff
changeset
|
1409 |
"1 = generate prefetch instructions for each allocation, " \ |
5251
f86f7a86d761
6940726: Use BIS instruction for allocation prefetch on Sparc
kvn
parents:
5250
diff
changeset
|
1410 |
"2 = use TLAB watermark to gate allocation prefetch, " \ |
38220
8d86b82e0ac7
8153340: Disallow misconfiguration and improve the consistency of allocation prefetching
zmajo
parents:
37462
diff
changeset
|
1411 |
"3 = generate one prefetch instruction per cache line") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1412 |
range(0, 3) \ |
1 | 1413 |
\ |
1414 |
product(intx, AllocatePrefetchDistance, -1, \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1415 |
"Distance to prefetch ahead of allocation pointer. " \ |
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1416 |
"-1: use system-specific value (automatically determined") \ |
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1417 |
constraint(AllocatePrefetchDistanceConstraintFunc, AfterMemoryInit)\ |
1 | 1418 |
\ |
10267 | 1419 |
product(intx, AllocatePrefetchLines, 3, \ |
1420 |
"Number of lines to prefetch ahead of array allocation pointer") \ |
|
35751
6a057f120b11
8146478: Node limit exceeded with -XX:AllocateInstancePrefetchLines=1073741823
zmajo
parents:
35581
diff
changeset
|
1421 |
range(1, 64) \ |
10267 | 1422 |
\ |
1423 |
product(intx, AllocateInstancePrefetchLines, 1, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1424 |
"Number of lines to prefetch ahead of instance allocation " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1425 |
"pointer") \ |
35751
6a057f120b11
8146478: Node limit exceeded with -XX:AllocateInstancePrefetchLines=1073741823
zmajo
parents:
35581
diff
changeset
|
1426 |
range(1, 64) \ |
1 | 1427 |
\ |
1428 |
product(intx, AllocatePrefetchStepSize, 16, \ |
|
1429 |
"Step size in bytes of sequential prefetch instructions") \ |
|
35751
6a057f120b11
8146478: Node limit exceeded with -XX:AllocateInstancePrefetchLines=1073741823
zmajo
parents:
35581
diff
changeset
|
1430 |
range(1, 512) \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1431 |
constraint(AllocatePrefetchStepSizeConstraintFunc,AfterMemoryInit)\ |
1 | 1432 |
\ |
1433 |
product(intx, AllocatePrefetchInstr, 0, \ |
|
38220
8d86b82e0ac7
8153340: Disallow misconfiguration and improve the consistency of allocation prefetching
zmajo
parents:
37462
diff
changeset
|
1434 |
"Select instruction to prefetch ahead of allocation pointer") \ |
8d86b82e0ac7
8153340: Disallow misconfiguration and improve the consistency of allocation prefetching
zmajo
parents:
37462
diff
changeset
|
1435 |
constraint(AllocatePrefetchInstrConstraintFunc, AfterMemoryInit) \ |
1 | 1436 |
\ |
1437 |
/* deoptimization */ \ |
|
1438 |
develop(bool, TraceDeoptimization, false, \ |
|
1439 |
"Trace deoptimization") \ |
|
1440 |
\ |
|
33160
c59f1676d27e
8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
33083
diff
changeset
|
1441 |
develop(bool, PrintDeoptimizationDetails, false, \ |
c59f1676d27e
8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
33083
diff
changeset
|
1442 |
"Print more information about deoptimization") \ |
c59f1676d27e
8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
33083
diff
changeset
|
1443 |
\ |
1 | 1444 |
develop(bool, DebugDeoptimization, false, \ |
1445 |
"Tracing various information while debugging deoptimization") \ |
|
1446 |
\ |
|
1447 |
product(intx, SelfDestructTimer, 0, \ |
|
1448 |
"Will cause VM to terminate after a given time (in minutes) " \ |
|
1449 |
"(0 means off)") \ |
|
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1450 |
range(0, max_intx) \ |
1 | 1451 |
\ |
1452 |
product(intx, MaxJavaStackTraceDepth, 1024, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1453 |
"The maximum number of lines in the stack trace for Java " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1454 |
"exceptions (0 means all)") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1455 |
range(0, max_jint/2) \ |
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1456 |
\ |
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1457 |
/* notice: the max range value here is max_jint, not max_intx */ \ |
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1458 |
/* because of overflow issue */ \ |
40015
524230a0f4ca
8140723: Remove source code conditionalized on JAVASE_EMBEDDED
dholmes
parents:
40010
diff
changeset
|
1459 |
diagnostic(intx, GuaranteedSafepointInterval, 1000, \ |
1 | 1460 |
"Guarantee a safepoint (at least) every so many milliseconds " \ |
40015
524230a0f4ca
8140723: Remove source code conditionalized on JAVASE_EMBEDDED
dholmes
parents:
40010
diff
changeset
|
1461 |
"(0 means none)") \ |
524230a0f4ca
8140723: Remove source code conditionalized on JAVASE_EMBEDDED
dholmes
parents:
40010
diff
changeset
|
1462 |
range(0, max_jint) \ |
1 | 1463 |
\ |
1464 |
product(intx, SafepointTimeoutDelay, 10000, \ |
|
1465 |
"Delay in milliseconds for option SafepointTimeout") \ |
|
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1466 |
LP64_ONLY(range(0, max_intx/MICROUNITS)) \ |
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1467 |
NOT_LP64(range(0, max_intx)) \ |
1 | 1468 |
\ |
20290
2127dc70bce9
8020151: PSR:PERF Large performance regressions when code cache is filled
anoll
parents:
20288
diff
changeset
|
1469 |
product(intx, NmethodSweepActivity, 10, \ |
2127dc70bce9
8020151: PSR:PERF Large performance regressions when code cache is filled
anoll
parents:
20288
diff
changeset
|
1470 |
"Removes cold nmethods from code cache if > 0. Higher values " \ |
2127dc70bce9
8020151: PSR:PERF Large performance regressions when code cache is filled
anoll
parents:
20288
diff
changeset
|
1471 |
"result in more aggressive sweeping") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1472 |
range(0, 2000) \ |
20290
2127dc70bce9
8020151: PSR:PERF Large performance regressions when code cache is filled
anoll
parents:
20288
diff
changeset
|
1473 |
\ |
9942
2e86734ba620
6996747: SIGSEGV in nmethod::cleanup_inline_caches / CompiledIC::verify
never
parents:
9640
diff
changeset
|
1474 |
notproduct(bool, LogSweeper, false, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1475 |
"Keep a ring buffer of sweeper activity") \ |
9942
2e86734ba620
6996747: SIGSEGV in nmethod::cleanup_inline_caches / CompiledIC::verify
never
parents:
9640
diff
changeset
|
1476 |
\ |
2e86734ba620
6996747: SIGSEGV in nmethod::cleanup_inline_caches / CompiledIC::verify
never
parents:
9640
diff
changeset
|
1477 |
notproduct(intx, SweeperLogEntries, 1024, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1478 |
"Number of records in the ring buffer of sweeper activity") \ |
9942
2e86734ba620
6996747: SIGSEGV in nmethod::cleanup_inline_caches / CompiledIC::verify
never
parents:
9640
diff
changeset
|
1479 |
\ |
1 | 1480 |
notproduct(intx, MemProfilingInterval, 500, \ |
1481 |
"Time between each invocation of the MemProfiler") \ |
|
1482 |
\ |
|
1483 |
develop(intx, MallocCatchPtr, -1, \ |
|
1484 |
"Hit breakpoint when mallocing/freeing this pointer") \ |
|
1485 |
\ |
|
1486 |
notproduct(ccstrlist, SuppressErrorAt, "", \ |
|
1487 |
"List of assertions (file:line) to muzzle") \ |
|
1488 |
\ |
|
1489 |
develop(intx, StackPrintLimit, 100, \ |
|
1490 |
"number of stack frames to print in VM-level stack dump") \ |
|
1491 |
\ |
|
1492 |
notproduct(intx, MaxElementPrintSize, 256, \ |
|
1493 |
"maximum number of elements to print") \ |
|
1494 |
\ |
|
1495 |
notproduct(intx, MaxSubklassPrintSize, 4, \ |
|
1496 |
"maximum number of subklasses to print when printing klass") \ |
|
1497 |
\ |
|
4586
f1c484fca023
6912063: inlining parameters need to be adjusted for some uses of the JVM
jrose
parents:
4579
diff
changeset
|
1498 |
product(intx, MaxInlineLevel, 9, \ |
1 | 1499 |
"maximum number of nested calls that are inlined") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1500 |
range(0, max_jint) \ |
1 | 1501 |
\ |
4586
f1c484fca023
6912063: inlining parameters need to be adjusted for some uses of the JVM
jrose
parents:
4579
diff
changeset
|
1502 |
product(intx, MaxRecursiveInlineLevel, 1, \ |
1 | 1503 |
"maximum number of nested recursive calls that are inlined") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1504 |
range(0, max_jint) \ |
1 | 1505 |
\ |
21582
6c76cdd733fe
8028159: C2: compiler stack overflow during inlining of @ForceInline methods
vlivanov
parents:
21575
diff
changeset
|
1506 |
develop(intx, MaxForceInlineLevel, 100, \ |
23191
5f3c5592f0e8
8035887: VM crashes trying to force inlining the recursive call
vlivanov
parents:
23190
diff
changeset
|
1507 |
"maximum number of nested calls that are forced for inlining " \ |
33069
d8eed614f298
8135068: Extract method matchers from CompilerOracle
neliasso
parents:
33063
diff
changeset
|
1508 |
"(using CompileCommand or marked w/ @ForceInline)") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1509 |
range(0, max_jint) \ |
21582
6c76cdd733fe
8028159: C2: compiler stack overflow during inlining of @ForceInline methods
vlivanov
parents:
21575
diff
changeset
|
1510 |
\ |
2342 | 1511 |
product_pd(intx, InlineSmallCode, \ |
1 | 1512 |
"Only inline already compiled methods if their code size is " \ |
1513 |
"less than this") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1514 |
range(0, max_jint) \ |
1 | 1515 |
\ |
1516 |
product(intx, MaxInlineSize, 35, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1517 |
"The maximum bytecode size of a method to be inlined") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1518 |
range(0, max_jint) \ |
1 | 1519 |
\ |
1520 |
product_pd(intx, FreqInlineSize, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1521 |
"The maximum bytecode size of a frequent method to be inlined") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1522 |
range(0, max_jint) \ |
1 | 1523 |
\ |
4586
f1c484fca023
6912063: inlining parameters need to be adjusted for some uses of the JVM
jrose
parents:
4579
diff
changeset
|
1524 |
product(intx, MaxTrivialSize, 6, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1525 |
"The maximum bytecode size of a trivial method to be inlined") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1526 |
range(0, max_jint) \ |
1 | 1527 |
\ |
4586
f1c484fca023
6912063: inlining parameters need to be adjusted for some uses of the JVM
jrose
parents:
4579
diff
changeset
|
1528 |
product(intx, MinInliningThreshold, 250, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1529 |
"The minimum invocation count a method needs to have to be " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1530 |
"inlined") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1531 |
range(0, max_jint) \ |
1 | 1532 |
\ |
1533 |
develop(intx, MethodHistogramCutoff, 100, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1534 |
"The cutoff value for method invocation histogram (+CountCalls)") \ |
1 | 1535 |
\ |
1536 |
develop(intx, DontYieldALotInterval, 10, \ |
|
1537 |
"Interval between which yields will be dropped (milliseconds)") \ |
|
1538 |
\ |
|
1539 |
notproduct(intx, DeoptimizeALotInterval, 5, \ |
|
1540 |
"Number of exits until DeoptimizeALot kicks in") \ |
|
1541 |
\ |
|
1542 |
notproduct(intx, ZombieALotInterval, 5, \ |
|
1543 |
"Number of exits until ZombieALot kicks in") \ |
|
1544 |
\ |
|
16428
1b55a8d558b8
7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test
rdurbin
parents:
15922
diff
changeset
|
1545 |
diagnostic(uintx, MallocMaxTestWords, 0, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1546 |
"If non-zero, maximum number of words that malloc/realloc can " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1547 |
"allocate (for testing only)") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1548 |
range(0, max_uintx) \ |
16428
1b55a8d558b8
7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test
rdurbin
parents:
15922
diff
changeset
|
1549 |
\ |
33160
c59f1676d27e
8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
33083
diff
changeset
|
1550 |
product(intx, TypeProfileWidth, 2, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1551 |
"Number of receiver types to record in call/cast profile") \ |
33171
25ea04039ff9
8139377: JVM can't be started w/ -XX:+EnableJVMCI -XX:+UseJVMCICompiler and default TypeProfileWidth
zmajo
parents:
33163
diff
changeset
|
1552 |
range(0, 8) \ |
1 | 1553 |
\ |
1554 |
develop(intx, BciProfileWidth, 2, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1555 |
"Number of return bci's to record in ret profile") \ |
1 | 1556 |
\ |
1557 |
product(intx, PerMethodRecompilationCutoff, 400, \ |
|
1558 |
"After recompiling N times, stay in the interpreter (-1=>'Inf')") \ |
|
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1559 |
range(-1, max_intx) \ |
1 | 1560 |
\ |
4754
8aef16f24e16
6614597: Performance variability in jvm2008 xml.validation
kvn
parents:
4750
diff
changeset
|
1561 |
product(intx, PerBytecodeRecompilationCutoff, 200, \ |
1 | 1562 |
"Per-BCI limit on repeated recompilation (-1=>'Inf')") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1563 |
range(-1, max_intx) \ |
1 | 1564 |
\ |
1565 |
product(intx, PerMethodTrapLimit, 100, \ |
|
1566 |
"Limit on traps (of one kind) in a method (includes inlines)") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1567 |
range(0, max_jint) \ |
1 | 1568 |
\ |
22916
582da2ed4dfa
8031752: Failed speculative optimizations should be reattempted when root of compilation is different
roland
parents:
22876
diff
changeset
|
1569 |
experimental(intx, PerMethodSpecTrapLimit, 5000, \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1570 |
"Limit on speculative traps (of one kind) in a method " \ |
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1571 |
"(includes inlines)") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1572 |
range(0, max_jint) \ |
22916
582da2ed4dfa
8031752: Failed speculative optimizations should be reattempted when root of compilation is different
roland
parents:
22876
diff
changeset
|
1573 |
\ |
1 | 1574 |
product(intx, PerBytecodeTrapLimit, 4, \ |
1575 |
"Limit on traps (of one kind) at a particular BCI") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1576 |
range(0, max_jint) \ |
1 | 1577 |
\ |
22916
582da2ed4dfa
8031752: Failed speculative optimizations should be reattempted when root of compilation is different
roland
parents:
22876
diff
changeset
|
1578 |
experimental(intx, SpecTrapLimitExtraEntries, 3, \ |
582da2ed4dfa
8031752: Failed speculative optimizations should be reattempted when root of compilation is different
roland
parents:
22876
diff
changeset
|
1579 |
"Extra method data trap entries for speculation") \ |
582da2ed4dfa
8031752: Failed speculative optimizations should be reattempted when root of compilation is different
roland
parents:
22876
diff
changeset
|
1580 |
\ |
1 | 1581 |
develop(intx, InlineFrequencyRatio, 20, \ |
1582 |
"Ratio of call site execution to caller method invocation") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1583 |
range(0, max_jint) \ |
1 | 1584 |
\ |
39117 | 1585 |
diagnostic_pd(intx, InlineFrequencyCount, \ |
1 | 1586 |
"Count of call site execution necessary to trigger frequent " \ |
1587 |
"inlining") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1588 |
range(0, max_jint) \ |
1 | 1589 |
\ |
1590 |
develop(intx, InlineThrowCount, 50, \ |
|
1591 |
"Force inlining of interpreted methods that throw this often") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1592 |
range(0, max_jint) \ |
1 | 1593 |
\ |
1594 |
develop(intx, InlineThrowMaxSize, 200, \ |
|
1595 |
"Force inlining of throwing methods smaller than this") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1596 |
range(0, max_jint) \ |
1 | 1597 |
\ |
1598 |
develop(intx, ProfilerNodeSize, 1024, \ |
|
1599 |
"Size in K to allocate for the Profile Nodes of each thread") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1600 |
range(0, 1024) \ |
1 | 1601 |
\ |
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
1602 |
product_pd(size_t, MetaspaceSize, \ |
37151
bcda1fb89431
8151845: Comment in globals.hpp for MetaspaceSize is incorrect.
jmasa
parents:
37126
diff
changeset
|
1603 |
"Initial threshold (in bytes) at which a garbage collection " \ |
bcda1fb89431
8151845: Comment in globals.hpp for MetaspaceSize is incorrect.
jmasa
parents:
37126
diff
changeset
|
1604 |
"is done to reduce Metaspace usage") \ |
33144
c56850e328fc
8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
sangheki
parents:
33083
diff
changeset
|
1605 |
constraint(MetaspaceSizeConstraintFunc,AfterErgo) \ |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13521
diff
changeset
|
1606 |
\ |
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
1607 |
product(size_t, MaxMetaspaceSize, max_uintx, \ |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13521
diff
changeset
|
1608 |
"Maximum size of Metaspaces (in bytes)") \ |
33144
c56850e328fc
8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
sangheki
parents:
33083
diff
changeset
|
1609 |
constraint(MaxMetaspaceSizeConstraintFunc,AfterErgo) \ |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
13521
diff
changeset
|
1610 |
\ |
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
1611 |
product(size_t, CompressedClassSpaceSize, 1*G, \ |
19979
ebe1dbb6e1aa
8015107: NPG: Use consistent naming for metaspace concepts
ehelin
parents:
19704
diff
changeset
|
1612 |
"Maximum size of class area in Metaspace when compressed " \ |
ebe1dbb6e1aa
8015107: NPG: Use consistent naming for metaspace concepts
ehelin
parents:
19704
diff
changeset
|
1613 |
"class pointers are used") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1614 |
range(1*M, 3*G) \ |
1 | 1615 |
\ |
22555
ea32f6c51d08
8028391: Make the Min/MaxHeapFreeRatio flags manageable
jwilhelm
parents:
22551
diff
changeset
|
1616 |
manageable(uintx, MinHeapFreeRatio, 40, \ |
20719
ffa4f0de0dad
8024776: Max/MinHeapFreeRatio descriptions should be more precise
jwilhelm
parents:
20406
diff
changeset
|
1617 |
"The minimum percentage of heap free after GC to avoid expansion."\ |
22555
ea32f6c51d08
8028391: Make the Min/MaxHeapFreeRatio flags manageable
jwilhelm
parents:
22551
diff
changeset
|
1618 |
" For most GCs this applies to the old generation. In G1 and" \ |
ea32f6c51d08
8028391: Make the Min/MaxHeapFreeRatio flags manageable
jwilhelm
parents:
22551
diff
changeset
|
1619 |
" ParallelGC it applies to the whole heap.") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1620 |
range(0, 100) \ |
31995
aa4049b4184a
8130459: Add additional validation after heap creation
sangheki
parents:
31989
diff
changeset
|
1621 |
constraint(MinHeapFreeRatioConstraintFunc,AfterErgo) \ |
22555
ea32f6c51d08
8028391: Make the Min/MaxHeapFreeRatio flags manageable
jwilhelm
parents:
22551
diff
changeset
|
1622 |
\ |
ea32f6c51d08
8028391: Make the Min/MaxHeapFreeRatio flags manageable
jwilhelm
parents:
22551
diff
changeset
|
1623 |
manageable(uintx, MaxHeapFreeRatio, 70, \ |
20719
ffa4f0de0dad
8024776: Max/MinHeapFreeRatio descriptions should be more precise
jwilhelm
parents:
20406
diff
changeset
|
1624 |
"The maximum percentage of heap free after GC to avoid shrinking."\ |
22555
ea32f6c51d08
8028391: Make the Min/MaxHeapFreeRatio flags manageable
jwilhelm
parents:
22551
diff
changeset
|
1625 |
" For most GCs this applies to the old generation. In G1 and" \ |
ea32f6c51d08
8028391: Make the Min/MaxHeapFreeRatio flags manageable
jwilhelm
parents:
22551
diff
changeset
|
1626 |
" ParallelGC it applies to the whole heap.") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1627 |
range(0, 100) \ |
31995
aa4049b4184a
8130459: Add additional validation after heap creation
sangheki
parents:
31989
diff
changeset
|
1628 |
constraint(MaxHeapFreeRatioConstraintFunc,AfterErgo) \ |
1 | 1629 |
\ |
37166
8a5f1594e692
8146436: Add -XX:-ShrinkHeapInSteps option (previously -XX:+UseAggressiveHeapShrink)
cjplummer
parents:
37155
diff
changeset
|
1630 |
product(bool, ShrinkHeapInSteps, true, \ |
8a5f1594e692
8146436: Add -XX:-ShrinkHeapInSteps option (previously -XX:+UseAggressiveHeapShrink)
cjplummer
parents:
37155
diff
changeset
|
1631 |
"When disabled, informs the GC to shrink the java heap directly" \ |
8a5f1594e692
8146436: Add -XX:-ShrinkHeapInSteps option (previously -XX:+UseAggressiveHeapShrink)
cjplummer
parents:
37155
diff
changeset
|
1632 |
" to the target size at the next full GC rather than requiring" \ |
8a5f1594e692
8146436: Add -XX:-ShrinkHeapInSteps option (previously -XX:+UseAggressiveHeapShrink)
cjplummer
parents:
37155
diff
changeset
|
1633 |
" smaller steps during multiple full GCs.") \ |
8a5f1594e692
8146436: Add -XX:-ShrinkHeapInSteps option (previously -XX:+UseAggressiveHeapShrink)
cjplummer
parents:
37155
diff
changeset
|
1634 |
\ |
1 | 1635 |
product(intx, SoftRefLRUPolicyMSPerMB, 1000, \ |
1636 |
"Number of milliseconds per MB of free space in the heap") \ |
|
33144
c56850e328fc
8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
sangheki
parents:
33083
diff
changeset
|
1637 |
range(0, max_intx) \ |
c56850e328fc
8134995: [REDO] GC: implement ranges (optionally constraints) for those flags that have them missing
sangheki
parents:
33083
diff
changeset
|
1638 |
constraint(SoftRefLRUPolicyMSPerMBConstraintFunc,AfterMemoryInit) \ |
1 | 1639 |
\ |
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
1640 |
product(size_t, MinHeapDeltaBytes, ScaleForWordSize(128*K), \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1641 |
"The minimum change in heap space due to GC (in bytes)") \ |
34661
9a1d11d88ea0
8142341: GC: current flags need ranges to be implemented
sangheki
parents:
34629
diff
changeset
|
1642 |
range(0, max_uintx) \ |
1 | 1643 |
\ |
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
1644 |
product(size_t, MinMetaspaceExpansion, ScaleForWordSize(256*K), \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1645 |
"The minimum expansion of Metaspace (in bytes)") \ |
34661
9a1d11d88ea0
8142341: GC: current flags need ranges to be implemented
sangheki
parents:
34629
diff
changeset
|
1646 |
range(0, max_uintx) \ |
15610
528d799702c7
8005452: NPG: Create new flags for Metaspace resizing policy
jmasa
parents:
15605
diff
changeset
|
1647 |
\ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1648 |
product(uintx, MaxMetaspaceFreeRatio, 70, \ |
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1649 |
"The maximum percentage of Metaspace free after GC to avoid " \ |
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1650 |
"shrinking") \ |
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1651 |
range(0, 100) \ |
31995
aa4049b4184a
8130459: Add additional validation after heap creation
sangheki
parents:
31989
diff
changeset
|
1652 |
constraint(MaxMetaspaceFreeRatioConstraintFunc,AfterErgo) \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1653 |
\ |
15610
528d799702c7
8005452: NPG: Create new flags for Metaspace resizing policy
jmasa
parents:
15605
diff
changeset
|
1654 |
product(uintx, MinMetaspaceFreeRatio, 40, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1655 |
"The minimum percentage of Metaspace free after GC to avoid " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1656 |
"expansion") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1657 |
range(0, 99) \ |
31995
aa4049b4184a
8130459: Add additional validation after heap creation
sangheki
parents:
31989
diff
changeset
|
1658 |
constraint(MinMetaspaceFreeRatioConstraintFunc,AfterErgo) \ |
1 | 1659 |
\ |
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
1660 |
product(size_t, MaxMetaspaceExpansion, ScaleForWordSize(4*M), \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1661 |
"The maximum expansion of Metaspace without full GC (in bytes)") \ |
34661
9a1d11d88ea0
8142341: GC: current flags need ranges to be implemented
sangheki
parents:
34629
diff
changeset
|
1662 |
range(0, max_uintx) \ |
1 | 1663 |
\ |
1664 |
/* stack parameters */ \ |
|
1665 |
product_pd(intx, StackYellowPages, \ |
|
35201
996db89f378e
8139864: Improve handling of stack protection zones.
goetz
parents:
35171
diff
changeset
|
1666 |
"Number of yellow zone (recoverable overflows) pages of size " \ |
996db89f378e
8139864: Improve handling of stack protection zones.
goetz
parents:
35171
diff
changeset
|
1667 |
"4KB. If pages are bigger yellow zone is aligned up.") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1668 |
range(MIN_STACK_YELLOW_PAGES, (DEFAULT_STACK_YELLOW_PAGES+5)) \ |
1 | 1669 |
\ |
1670 |
product_pd(intx, StackRedPages, \ |
|
35201
996db89f378e
8139864: Improve handling of stack protection zones.
goetz
parents:
35171
diff
changeset
|
1671 |
"Number of red zone (unrecoverable overflows) pages of size " \ |
996db89f378e
8139864: Improve handling of stack protection zones.
goetz
parents:
35171
diff
changeset
|
1672 |
"4KB. If pages are bigger red zone is aligned up.") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1673 |
range(MIN_STACK_RED_PAGES, (DEFAULT_STACK_RED_PAGES+2)) \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1674 |
\ |
35071
a0910b1d3e0d
8046936: JEP 270: Reserved Stack Areas for Critical Sections
fparain
parents:
35061
diff
changeset
|
1675 |
product_pd(intx, StackReservedPages, \ |
35201
996db89f378e
8139864: Improve handling of stack protection zones.
goetz
parents:
35171
diff
changeset
|
1676 |
"Number of reserved zone (reserved to annotated methods) pages" \ |
996db89f378e
8139864: Improve handling of stack protection zones.
goetz
parents:
35171
diff
changeset
|
1677 |
" of size 4KB. If pages are bigger reserved zone is aligned up.") \ |
35071
a0910b1d3e0d
8046936: JEP 270: Reserved Stack Areas for Critical Sections
fparain
parents:
35061
diff
changeset
|
1678 |
range(MIN_STACK_RESERVED_PAGES, (DEFAULT_STACK_RESERVED_PAGES+10))\ |
a0910b1d3e0d
8046936: JEP 270: Reserved Stack Areas for Critical Sections
fparain
parents:
35061
diff
changeset
|
1679 |
\ |
a0910b1d3e0d
8046936: JEP 270: Reserved Stack Areas for Critical Sections
fparain
parents:
35061
diff
changeset
|
1680 |
product(bool, RestrictReservedStack, true, \ |
a0910b1d3e0d
8046936: JEP 270: Reserved Stack Areas for Critical Sections
fparain
parents:
35061
diff
changeset
|
1681 |
"Restrict @ReservedStackAccess to trusted classes") \ |
a0910b1d3e0d
8046936: JEP 270: Reserved Stack Areas for Critical Sections
fparain
parents:
35061
diff
changeset
|
1682 |
\ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1683 |
/* greater stack shadow pages can't generate instruction to bang stack */ \ |
1 | 1684 |
product_pd(intx, StackShadowPages, \ |
35201
996db89f378e
8139864: Improve handling of stack protection zones.
goetz
parents:
35171
diff
changeset
|
1685 |
"Number of shadow zone (for overflow checking) pages of size " \ |
996db89f378e
8139864: Improve handling of stack protection zones.
goetz
parents:
35171
diff
changeset
|
1686 |
"4KB. If pages are bigger shadow zone is aligned up. " \ |
996db89f378e
8139864: Improve handling of stack protection zones.
goetz
parents:
35171
diff
changeset
|
1687 |
"This should exceed the depth of the VM and native call stack.") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1688 |
range(MIN_STACK_SHADOW_PAGES, (DEFAULT_STACK_SHADOW_PAGES+30)) \ |
1 | 1689 |
\ |
1690 |
product_pd(intx, ThreadStackSize, \ |
|
1691 |
"Thread Stack Size (in Kbytes)") \ |
|
46616
66d452cca30f
8178491: -Xss and -XX:ThreadStackSize argument parsing truncates bits
stefank
parents:
46589
diff
changeset
|
1692 |
range(0, 1 * M) \ |
1 | 1693 |
\ |
1694 |
product_pd(intx, VMThreadStackSize, \ |
|
1695 |
"Non-Java Thread Stack Size (in Kbytes)") \ |
|
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1696 |
range(0, max_intx/(1 * K)) \ |
1 | 1697 |
\ |
1698 |
product_pd(intx, CompilerThreadStackSize, \ |
|
1699 |
"Compiler Thread Stack Size (in Kbytes)") \ |
|
35201
996db89f378e
8139864: Improve handling of stack protection zones.
goetz
parents:
35171
diff
changeset
|
1700 |
range(0, max_intx/(1 * K)) \ |
1 | 1701 |
\ |
29697
92501504191b
8074459: Flags handling memory sizes should be of type size_t
jwilhelm
parents:
29459
diff
changeset
|
1702 |
develop_pd(size_t, JVMInvokeMethodSlack, \ |
1 | 1703 |
"Stack space (bytes) required for JVM_InvokeMethod to complete") \ |
1704 |
\ |
|
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1705 |
/* code cache parameters */ \ |
42062 | 1706 |
develop_pd(uintx, CodeCacheSegmentSize, \ |
1 | 1707 |
"Code cache segment size (in bytes) - smallest unit of " \ |
1708 |
"allocation") \ |
|
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1709 |
range(1, 1024) \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1710 |
constraint(CodeCacheSegmentSizeConstraintFunc, AfterErgo) \ |
1 | 1711 |
\ |
1712 |
develop_pd(intx, CodeEntryAlignment, \ |
|
1713 |
"Code entry alignment for generated code (in bytes)") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1714 |
constraint(CodeEntryAlignmentConstraintFunc, AfterErgo) \ |
1 | 1715 |
\ |
5249 | 1716 |
product_pd(intx, OptoLoopAlignment, \ |
1717 |
"Align inner loops to zero relative to this modulus") \ |
|
33744
8dd886109959
8141042: Typos and refactoring in Compiler constraints functions
ddmitriev
parents:
33736
diff
changeset
|
1718 |
range(1, 16) \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1719 |
constraint(OptoLoopAlignmentConstraintFunc, AfterErgo) \ |
5249 | 1720 |
\ |
1 | 1721 |
product_pd(uintx, InitialCodeCacheSize, \ |
1722 |
"Initial code cache size (in bytes)") \ |
|
48118
7f40c1cdde28
8179026: Remove explicit code cache options processing
thartmann
parents:
48105
diff
changeset
|
1723 |
range(os::vm_page_size(), max_uintx) \ |
1 | 1724 |
\ |
18506
af8765fafc07
8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k
anoll
parents:
18025
diff
changeset
|
1725 |
develop_pd(uintx, CodeCacheMinimumUseSpace, \ |
af8765fafc07
8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k
anoll
parents:
18025
diff
changeset
|
1726 |
"Minimum code cache size (in bytes) required to start VM.") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1727 |
range(0, max_uintx) \ |
18506
af8765fafc07
8014972: Crash with specific values for -XX:InitialCodeCacheSize=500K -XX:ReservedCodeCacheSize=500k
anoll
parents:
18025
diff
changeset
|
1728 |
\ |
26796 | 1729 |
product(bool, SegmentedCodeCache, false, \ |
1730 |
"Use a segmented code cache") \ |
|
1731 |
\ |
|
1 | 1732 |
product_pd(uintx, ReservedCodeCacheSize, \ |
1733 |
"Reserved code cache size (in bytes) - maximum code cache size") \ |
|
48118
7f40c1cdde28
8179026: Remove explicit code cache options processing
thartmann
parents:
48105
diff
changeset
|
1734 |
range(os::vm_page_size(), max_uintx) \ |
1 | 1735 |
\ |
26796 | 1736 |
product_pd(uintx, NonProfiledCodeHeapSize, \ |
1737 |
"Size of code heap with non-profiled methods (in bytes)") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1738 |
range(0, max_uintx) \ |
26796 | 1739 |
\ |
1740 |
product_pd(uintx, ProfiledCodeHeapSize, \ |
|
1741 |
"Size of code heap with profiled methods (in bytes)") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1742 |
range(0, max_uintx) \ |
26796 | 1743 |
\ |
26919
361b4b4c92c0
8059468: Fix PrintCodeCache output changed by JDK-8059137
thartmann
parents:
26913
diff
changeset
|
1744 |
product_pd(uintx, NonNMethodCodeHeapSize, \ |
361b4b4c92c0
8059468: Fix PrintCodeCache output changed by JDK-8059137
thartmann
parents:
26913
diff
changeset
|
1745 |
"Size of code heap with non-nmethods (in bytes)") \ |
48118
7f40c1cdde28
8179026: Remove explicit code cache options processing
thartmann
parents:
48105
diff
changeset
|
1746 |
range(os::vm_page_size(), max_uintx) \ |
26796 | 1747 |
\ |
1 | 1748 |
product_pd(uintx, CodeCacheExpansionSize, \ |
1749 |
"Code cache expansion size (in bytes)") \ |
|
48146
646ed97b7e0d
8191996: VM startup fails with CodeCacheExpansionSize=32768 is outside the allowed range
thartmann
parents:
48138
diff
changeset
|
1750 |
range(32*K, max_uintx) \ |
1 | 1751 |
\ |
43945
e7f2e49d2274
8173151: Code heap corruption due to incorrect inclusion test
zmajo
parents:
43935
diff
changeset
|
1752 |
diagnostic_pd(uintx, CodeCacheMinBlockLength, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1753 |
"Minimum number of segments in a code cache block") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1754 |
range(1, 100) \ |
1 | 1755 |
\ |
1756 |
notproduct(bool, ExitOnFullCodeCache, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1757 |
"Exit the VM if we fill the code cache") \ |
1 | 1758 |
\ |
10963 | 1759 |
product(bool, UseCodeCacheFlushing, true, \ |
21575
6a9645992cee
8027593: performance drop with constrained codecache starting with hs25 b111
anoll
parents:
21572
diff
changeset
|
1760 |
"Remove cold/old nmethods from the code cache") \ |
4750 | 1761 |
\ |
27420
04e6f914cce1
8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full.
anoll
parents:
27417
diff
changeset
|
1762 |
product(uintx, StartAggressiveSweepingAt, 10, \ |
04e6f914cce1
8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full.
anoll
parents:
27417
diff
changeset
|
1763 |
"Start aggressive sweeping if X[%] of the code cache is free." \ |
04e6f914cce1
8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full.
anoll
parents:
27417
diff
changeset
|
1764 |
"Segmented code cache: X[%] of the non-profiled heap." \ |
04e6f914cce1
8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full.
anoll
parents:
27417
diff
changeset
|
1765 |
"Non-segmented code cache: X[%] of the total code cache") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1766 |
range(0, 100) \ |
27420
04e6f914cce1
8046809: vm/mlvm/meth/stress/compiler/deoptimize CodeCache is full.
anoll
parents:
27417
diff
changeset
|
1767 |
\ |
42650 | 1768 |
/* AOT parameters */ \ |
57681 | 1769 |
experimental(bool, UseAOT, false, \ |
42650 | 1770 |
"Use AOT compiled files") \ |
1771 |
\ |
|
57681 | 1772 |
experimental(ccstrlist, AOTLibrary, NULL, \ |
42650 | 1773 |
"AOT library") \ |
1774 |
\ |
|
57681 | 1775 |
experimental(bool, PrintAOT, false, \ |
42650 | 1776 |
"Print used AOT klasses and methods") \ |
1777 |
\ |
|
1778 |
notproduct(bool, PrintAOTStatistics, false, \ |
|
1779 |
"Print AOT statistics") \ |
|
1780 |
\ |
|
1781 |
diagnostic(bool, UseAOTStrictLoading, false, \ |
|
1782 |
"Exit the VM if any of the AOT libraries has invalid config") \ |
|
1783 |
\ |
|
46553 | 1784 |
product(bool, CalculateClassFingerprint, false, \ |
1785 |
"Calculate class fingerprint") \ |
|
1786 |
\ |
|
1 | 1787 |
/* interpreter debugging */ \ |
1788 |
develop(intx, BinarySwitchThreshold, 5, \ |
|
1789 |
"Minimal number of lookupswitch entries for rewriting to binary " \ |
|
1790 |
"switch") \ |
|
1791 |
\ |
|
1792 |
develop(intx, StopInterpreterAt, 0, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1793 |
"Stop interpreter execution at specified bytecode number") \ |
1 | 1794 |
\ |
1795 |
develop(intx, TraceBytecodesAt, 0, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1796 |
"Trace bytecodes starting with specified bytecode number") \ |
1 | 1797 |
\ |
1798 |
/* compiler interface */ \ |
|
1799 |
develop(intx, CIStart, 0, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1800 |
"The id of the first compilation to permit") \ |
1 | 1801 |
\ |
22247 | 1802 |
develop(intx, CIStop, max_jint, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1803 |
"The id of the last compilation to permit") \ |
1 | 1804 |
\ |
22247 | 1805 |
develop(intx, CIStartOSR, 0, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1806 |
"The id of the first osr compilation to permit " \ |
1 | 1807 |
"(CICountOSR must be on)") \ |
1808 |
\ |
|
22247 | 1809 |
develop(intx, CIStopOSR, max_jint, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1810 |
"The id of the last osr compilation to permit " \ |
1 | 1811 |
"(CICountOSR must be on)") \ |
1812 |
\ |
|
22247 | 1813 |
develop(intx, CIBreakAtOSR, -1, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1814 |
"The id of osr compilation to break at") \ |
1 | 1815 |
\ |
22247 | 1816 |
develop(intx, CIBreakAt, -1, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1817 |
"The id of compilation to break at") \ |
1 | 1818 |
\ |
1819 |
product(ccstrlist, CompileOnly, "", \ |
|
1820 |
"List of methods (pkg/class.name) to restrict compilation to") \ |
|
1821 |
\ |
|
1822 |
product(ccstr, CompileCommandFile, NULL, \ |
|
1823 |
"Read compiler commands from this file [.hotspot_compiler]") \ |
|
1824 |
\ |
|
33451
0712796e4039
8137167: JEP165: Compiler Control: Implementation task
neliasso
parents:
33198
diff
changeset
|
1825 |
diagnostic(ccstr, CompilerDirectivesFile, NULL, \ |
0712796e4039
8137167: JEP165: Compiler Control: Implementation task
neliasso
parents:
33198
diff
changeset
|
1826 |
"Read compiler directives from this file") \ |
0712796e4039
8137167: JEP165: Compiler Control: Implementation task
neliasso
parents:
33198
diff
changeset
|
1827 |
\ |
1 | 1828 |
product(ccstrlist, CompileCommand, "", \ |
1829 |
"Prepend to .hotspot_compiler; e.g. log,java/lang/String.<init>") \ |
|
1830 |
\ |
|
14477
95e66ea71f71
6830717: replay of compilations would help with debugging
minqi
parents:
14386
diff
changeset
|
1831 |
develop(bool, ReplayCompiles, false, \ |
95e66ea71f71
6830717: replay of compilations would help with debugging
minqi
parents:
14386
diff
changeset
|
1832 |
"Enable replay of compilations from ReplayDataFile") \ |
95e66ea71f71
6830717: replay of compilations would help with debugging
minqi
parents:
14386
diff
changeset
|
1833 |
\ |
17121
e40a97c700d9
8012260: ciReplay: Include PID into the name of replay data file
vlivanov
parents:
16682
diff
changeset
|
1834 |
product(ccstr, ReplayDataFile, NULL, \ |
e40a97c700d9
8012260: ciReplay: Include PID into the name of replay data file
vlivanov
parents:
16682
diff
changeset
|
1835 |
"File containing compilation replay information" \ |
e40a97c700d9
8012260: ciReplay: Include PID into the name of replay data file
vlivanov
parents:
16682
diff
changeset
|
1836 |
"[default: ./replay_pid%p.log] (%p replaced with pid)") \ |
14477
95e66ea71f71
6830717: replay of compilations would help with debugging
minqi
parents:
14386
diff
changeset
|
1837 |
\ |
22243 | 1838 |
product(ccstr, InlineDataFile, NULL, \ |
1839 |
"File containing inlining replay information" \ |
|
1840 |
"[default: ./inline_pid%p.log] (%p replaced with pid)") \ |
|
1841 |
\ |
|
14477
95e66ea71f71
6830717: replay of compilations would help with debugging
minqi
parents:
14386
diff
changeset
|
1842 |
develop(intx, ReplaySuppressInitializers, 2, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1843 |
"Control handling of class initialization during replay: " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1844 |
"0 - don't do anything special; " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1845 |
"1 - treat all class initializers as empty; " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1846 |
"2 - treat class initializers for application classes as empty; " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1847 |
"3 - allow all class initializers to run during bootstrap but " \ |
14477
95e66ea71f71
6830717: replay of compilations would help with debugging
minqi
parents:
14386
diff
changeset
|
1848 |
" pretend they are empty after starting replay") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1849 |
range(0, 3) \ |
14477
95e66ea71f71
6830717: replay of compilations would help with debugging
minqi
parents:
14386
diff
changeset
|
1850 |
\ |
95e66ea71f71
6830717: replay of compilations would help with debugging
minqi
parents:
14386
diff
changeset
|
1851 |
develop(bool, ReplayIgnoreInitErrors, false, \ |
95e66ea71f71
6830717: replay of compilations would help with debugging
minqi
parents:
14386
diff
changeset
|
1852 |
"Ignore exceptions thrown during initialization for replay") \ |
95e66ea71f71
6830717: replay of compilations would help with debugging
minqi
parents:
14386
diff
changeset
|
1853 |
\ |
17121
e40a97c700d9
8012260: ciReplay: Include PID into the name of replay data file
vlivanov
parents:
16682
diff
changeset
|
1854 |
product(bool, DumpReplayDataOnError, true, \ |
e40a97c700d9
8012260: ciReplay: Include PID into the name of replay data file
vlivanov
parents:
16682
diff
changeset
|
1855 |
"Record replay data for crashing compiler threads") \ |
14477
95e66ea71f71
6830717: replay of compilations would help with debugging
minqi
parents:
14386
diff
changeset
|
1856 |
\ |
1 | 1857 |
product(bool, CICompilerCountPerCPU, false, \ |
1858 |
"1 compiler thread for log(N CPUs)") \ |
|
1859 |
\ |
|
17123
a8e62eed2e3e
8011675: adding compilation level to replay data
iignatyev
parents:
17121
diff
changeset
|
1860 |
notproduct(intx, CICrashAt, -1, \ |
a8e62eed2e3e
8011675: adding compilation level to replay data
iignatyev
parents:
17121
diff
changeset
|
1861 |
"id of compilation to trigger assert in compiler thread for " \ |
a8e62eed2e3e
8011675: adding compilation level to replay data
iignatyev
parents:
17121
diff
changeset
|
1862 |
"the purpose of testing, e.g. generation of replay data") \ |
3609
5f16c48e608a
6866585: debug code in ciObjectFactory too slow for large objects
jcoomes
parents:
3605
diff
changeset
|
1863 |
notproduct(bool, CIObjectFactoryVerify, false, \ |
5f16c48e608a
6866585: debug code in ciObjectFactory too slow for large objects
jcoomes
parents:
3605
diff
changeset
|
1864 |
"enable potentially expensive verification in ciObjectFactory") \ |
5f16c48e608a
6866585: debug code in ciObjectFactory too slow for large objects
jcoomes
parents:
3605
diff
changeset
|
1865 |
\ |
52605
b8c88c64abf0
8212070: Introduce diagnostic flag to abort VM on failed JIT compilation
shade
parents:
52596
diff
changeset
|
1866 |
diagnostic(bool, AbortVMOnCompilationFailure, false, \ |
b8c88c64abf0
8212070: Introduce diagnostic flag to abort VM on failed JIT compilation
shade
parents:
52596
diff
changeset
|
1867 |
"Abort VM when method had failed to compile.") \ |
b8c88c64abf0
8212070: Introduce diagnostic flag to abort VM on failed JIT compilation
shade
parents:
52596
diff
changeset
|
1868 |
\ |
1 | 1869 |
/* Priorities */ \ |
1870 |
product_pd(bool, UseThreadPriorities, "Use native thread priorities") \ |
|
1871 |
\ |
|
1872 |
product(intx, ThreadPriorityPolicy, 0, \ |
|
1873 |
"0 : Normal. "\ |
|
1874 |
" VM chooses priorities that are appropriate for normal "\ |
|
1875 |
" applications. On Solaris NORM_PRIORITY and above are mapped "\ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1876 |
" to normal native priority. Java priorities below " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1877 |
" NORM_PRIORITY map to lower native priority values. On "\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1878 |
" Windows applications are allowed to use higher native "\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1879 |
" priorities. However, with ThreadPriorityPolicy=0, VM will "\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1880 |
" not use the highest possible native priority, "\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1881 |
" THREAD_PRIORITY_TIME_CRITICAL, as it may interfere with "\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1882 |
" system threads. On Linux thread priorities are ignored "\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1883 |
" because the OS does not support static priority in "\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1884 |
" SCHED_OTHER scheduling class which is the only choice for "\ |
1 | 1885 |
" non-root, non-realtime applications. "\ |
1886 |
"1 : Aggressive. "\ |
|
1887 |
" Java thread priorities map over to the entire range of "\ |
|
1888 |
" native thread priorities. Higher Java thread priorities map "\ |
|
1889 |
" to higher native thread priorities. This policy should be "\ |
|
1890 |
" used with care, as sometimes it can cause performance "\ |
|
1891 |
" degradation in the application and/or the entire system. On "\ |
|
53155
c3d6035c11f3
8215962: Support ThreadPriorityPolicy mode 1 for non-root users on linux/bsd
mbaesken
parents:
53153
diff
changeset
|
1892 |
" Linux/BSD/macOS this policy requires root privilege or an "\ |
c3d6035c11f3
8215962: Support ThreadPriorityPolicy mode 1 for non-root users on linux/bsd
mbaesken
parents:
53153
diff
changeset
|
1893 |
" extended capability.") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
1894 |
range(0, 1) \ |
1 | 1895 |
\ |
1896 |
product(bool, ThreadPriorityVerbose, false, \ |
|
11601
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1897 |
"Print priority changes") \ |
1 | 1898 |
\ |
1899 |
product(intx, CompilerThreadPriority, -1, \ |
|
11601
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1900 |
"The native priority at which compiler threads should run " \ |
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1901 |
"(-1 means no change)") \ |
33744
8dd886109959
8141042: Typos and refactoring in Compiler constraints functions
ddmitriev
parents:
33736
diff
changeset
|
1902 |
range(min_jint, max_jint) \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1903 |
constraint(CompilerThreadPriorityConstraintFunc, AfterErgo) \ |
1 | 1904 |
\ |
1905 |
product(intx, VMThreadPriority, -1, \ |
|
11601
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1906 |
"The native priority at which the VM thread should run " \ |
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1907 |
"(-1 means no change)") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1908 |
range(-1, 127) \ |
1 | 1909 |
\ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1910 |
product(intx, JavaPriority1_To_OSPriority, -1, \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1911 |
"Map Java priorities to OS priorities") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1912 |
range(-1, 127) \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1913 |
\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1914 |
product(intx, JavaPriority2_To_OSPriority, -1, \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1915 |
"Map Java priorities to OS priorities") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1916 |
range(-1, 127) \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1917 |
\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1918 |
product(intx, JavaPriority3_To_OSPriority, -1, \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1919 |
"Map Java priorities to OS priorities") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1920 |
range(-1, 127) \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1921 |
\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1922 |
product(intx, JavaPriority4_To_OSPriority, -1, \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1923 |
"Map Java priorities to OS priorities") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1924 |
range(-1, 127) \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1925 |
\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1926 |
product(intx, JavaPriority5_To_OSPriority, -1, \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1927 |
"Map Java priorities to OS priorities") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1928 |
range(-1, 127) \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1929 |
\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1930 |
product(intx, JavaPriority6_To_OSPriority, -1, \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1931 |
"Map Java priorities to OS priorities") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1932 |
range(-1, 127) \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1933 |
\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1934 |
product(intx, JavaPriority7_To_OSPriority, -1, \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1935 |
"Map Java priorities to OS priorities") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1936 |
range(-1, 127) \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1937 |
\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1938 |
product(intx, JavaPriority8_To_OSPriority, -1, \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1939 |
"Map Java priorities to OS priorities") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1940 |
range(-1, 127) \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1941 |
\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1942 |
product(intx, JavaPriority9_To_OSPriority, -1, \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1943 |
"Map Java priorities to OS priorities") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1944 |
range(-1, 127) \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1945 |
\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1946 |
product(intx, JavaPriority10_To_OSPriority,-1, \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1947 |
"Map Java priorities to OS priorities") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
1948 |
range(-1, 127) \ |
1 | 1949 |
\ |
11601
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1950 |
experimental(bool, UseCriticalJavaThreadPriority, false, \ |
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1951 |
"Java thread priority 10 maps to critical scheduling priority") \ |
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1952 |
\ |
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1953 |
experimental(bool, UseCriticalCompilerThreadPriority, false, \ |
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1954 |
"Compiler thread(s) run at critical scheduling priority") \ |
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1955 |
\ |
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1956 |
experimental(bool, UseCriticalCMSThreadPriority, false, \ |
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1957 |
"ConcurrentMarkSweep thread runs at critical scheduling priority")\ |
f359304c1856
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
phh
parents:
11487
diff
changeset
|
1958 |
\ |
1 | 1959 |
develop(intx, NewCodeParameter, 0, \ |
1960 |
"Testing Only: Create a dedicated integer parameter before " \ |
|
1961 |
"putback") \ |
|
1962 |
\ |
|
1963 |
/* new oopmap storage allocation */ \ |
|
1964 |
develop(intx, MinOopMapAllocation, 8, \ |
|
1965 |
"Minimum number of OopMap entries in an OopMapSet") \ |
|
1966 |
\ |
|
1967 |
/* Background Compilation */ \ |
|
1968 |
develop(intx, LongCompileThreshold, 50, \ |
|
1969 |
"Used with +TraceLongCompiles") \ |
|
1970 |
\ |
|
1971 |
/* recompilation */ \ |
|
1972 |
product_pd(intx, CompileThreshold, \ |
|
1973 |
"number of interpreted method invocations before (re-)compiling") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1974 |
constraint(CompileThresholdConstraintFunc, AfterErgo) \ |
1 | 1975 |
\ |
27148
a4b542d56e01
8059604: Add CompileThresholdScaling flag to control when methods are first compiled (with and withour TieredCompilation)
zmajo
parents:
27143
diff
changeset
|
1976 |
product(double, CompileThresholdScaling, 1.0, \ |
a4b542d56e01
8059604: Add CompileThresholdScaling flag to control when methods are first compiled (with and withour TieredCompilation)
zmajo
parents:
27143
diff
changeset
|
1977 |
"Factor to control when first compilation happens " \ |
28650
772aaab2582f
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
zmajo
parents:
28477
diff
changeset
|
1978 |
"(both with and without tiered compilation): " \ |
772aaab2582f
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
zmajo
parents:
28477
diff
changeset
|
1979 |
"values greater than 1.0 delay counter overflow, " \ |
772aaab2582f
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
zmajo
parents:
28477
diff
changeset
|
1980 |
"values between 0 and 1.0 rush counter overflow, " \ |
28928
e3815b017664
8072398: assert fails in L1RGenerator::increment_event_counter_impl
zmajo
parents:
28650
diff
changeset
|
1981 |
"value of 1.0 leaves compilation thresholds unchanged " \ |
28650
772aaab2582f
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
zmajo
parents:
28477
diff
changeset
|
1982 |
"value of 0.0 is equivalent to -Xint. " \ |
772aaab2582f
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
zmajo
parents:
28477
diff
changeset
|
1983 |
"" \ |
772aaab2582f
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
zmajo
parents:
28477
diff
changeset
|
1984 |
"Flag can be set as per-method option. " \ |
772aaab2582f
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
zmajo
parents:
28477
diff
changeset
|
1985 |
"If a value is specified for a method, compilation thresholds " \ |
772aaab2582f
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
zmajo
parents:
28477
diff
changeset
|
1986 |
"for that method are scaled by both the value of the global flag "\ |
772aaab2582f
8059606: Enable per-method usage of CompileThresholdScaling (per-method compilation thresholds)
zmajo
parents:
28477
diff
changeset
|
1987 |
"and the value of the per-method flag.") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1988 |
range(0.0, DBL_MAX) \ |
27148
a4b542d56e01
8059604: Add CompileThresholdScaling flag to control when methods are first compiled (with and withour TieredCompilation)
zmajo
parents:
27143
diff
changeset
|
1989 |
\ |
6453 | 1990 |
product(intx, Tier0InvokeNotifyFreqLog, 7, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1991 |
"Interpreter (tier 0) invocation notification frequency") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1992 |
range(0, 30) \ |
6453 | 1993 |
\ |
1994 |
product(intx, Tier2InvokeNotifyFreqLog, 11, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
1995 |
"C1 without MDO (tier 2) invocation notification frequency") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
1996 |
range(0, 30) \ |
6453 | 1997 |
\ |
1998 |
product(intx, Tier3InvokeNotifyFreqLog, 10, \ |
|
1999 |
"C1 with MDO profiling (tier 3) invocation notification " \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2000 |
"frequency") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2001 |
range(0, 30) \ |
6453 | 2002 |
\ |
10569
f5ce1108443b
7096639: Tiered: Incorrect counter overflow handling for inlined methods
iveresov
parents:
10565
diff
changeset
|
2003 |
product(intx, Tier23InlineeNotifyFreqLog, 20, \ |
f5ce1108443b
7096639: Tiered: Incorrect counter overflow handling for inlined methods
iveresov
parents:
10565
diff
changeset
|
2004 |
"Inlinee invocation (tiers 2 and 3) notification frequency") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2005 |
range(0, 30) \ |
10569
f5ce1108443b
7096639: Tiered: Incorrect counter overflow handling for inlined methods
iveresov
parents:
10565
diff
changeset
|
2006 |
\ |
6453 | 2007 |
product(intx, Tier0BackedgeNotifyFreqLog, 10, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2008 |
"Interpreter (tier 0) invocation notification frequency") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2009 |
range(0, 30) \ |
6453 | 2010 |
\ |
2011 |
product(intx, Tier2BackedgeNotifyFreqLog, 14, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2012 |
"C1 without MDO (tier 2) invocation notification frequency") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2013 |
range(0, 30) \ |
6453 | 2014 |
\ |
2015 |
product(intx, Tier3BackedgeNotifyFreqLog, 13, \ |
|
2016 |
"C1 with MDO profiling (tier 3) invocation notification " \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2017 |
"frequency") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2018 |
range(0, 30) \ |
6453 | 2019 |
\ |
2020 |
product(intx, Tier2CompileThreshold, 0, \ |
|
2021 |
"threshold at which tier 2 compilation is invoked") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2022 |
range(0, max_jint) \ |
6453 | 2023 |
\ |
2024 |
product(intx, Tier2BackEdgeThreshold, 0, \ |
|
2025 |
"Back edge threshold at which tier 2 compilation is invoked") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2026 |
range(0, max_jint) \ |
6453 | 2027 |
\ |
2028 |
product(intx, Tier3InvocationThreshold, 200, \ |
|
2029 |
"Compile if number of method invocations crosses this " \ |
|
2030 |
"threshold") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2031 |
range(0, max_jint) \ |
6453 | 2032 |
\ |
2033 |
product(intx, Tier3MinInvocationThreshold, 100, \ |
|
2034 |
"Minimum invocation to compile at tier 3") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2035 |
range(0, max_jint) \ |
6453 | 2036 |
\ |
2037 |
product(intx, Tier3CompileThreshold, 2000, \ |
|
2038 |
"Threshold at which tier 3 compilation is invoked (invocation " \ |
|
33160
c59f1676d27e
8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
33083
diff
changeset
|
2039 |
"minimum must be satisfied)") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2040 |
range(0, max_jint) \ |
6453 | 2041 |
\ |
11566
351229eec596
7132945: Tiered: adjust OSR threshold of level 3
iveresov
parents:
11487
diff
changeset
|
2042 |
product(intx, Tier3BackEdgeThreshold, 60000, \ |
6453 | 2043 |
"Back edge threshold at which tier 3 OSR compilation is invoked") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2044 |
range(0, max_jint) \ |
6453 | 2045 |
\ |
42650 | 2046 |
product(intx, Tier3AOTInvocationThreshold, 10000, \ |
2047 |
"Compile if number of method invocations crosses this " \ |
|
2048 |
"threshold if coming from AOT") \ |
|
2049 |
range(0, max_jint) \ |
|
2050 |
\ |
|
2051 |
product(intx, Tier3AOTMinInvocationThreshold, 1000, \ |
|
2052 |
"Minimum invocation to compile at tier 3 if coming from AOT") \ |
|
2053 |
range(0, max_jint) \ |
|
2054 |
\ |
|
2055 |
product(intx, Tier3AOTCompileThreshold, 15000, \ |
|
2056 |
"Threshold at which tier 3 compilation is invoked (invocation " \ |
|
2057 |
"minimum must be satisfied) if coming from AOT") \ |
|
2058 |
range(0, max_jint) \ |
|
2059 |
\ |
|
2060 |
product(intx, Tier3AOTBackEdgeThreshold, 120000, \ |
|
2061 |
"Back edge threshold at which tier 3 OSR compilation is invoked " \ |
|
2062 |
"if coming from AOT") \ |
|
2063 |
range(0, max_jint) \ |
|
2064 |
\ |
|
6453 | 2065 |
product(intx, Tier4InvocationThreshold, 5000, \ |
2066 |
"Compile if number of method invocations crosses this " \ |
|
2067 |
"threshold") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2068 |
range(0, max_jint) \ |
6453 | 2069 |
\ |
2070 |
product(intx, Tier4MinInvocationThreshold, 600, \ |
|
2071 |
"Minimum invocation to compile at tier 4") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2072 |
range(0, max_jint) \ |
6453 | 2073 |
\ |
2074 |
product(intx, Tier4CompileThreshold, 15000, \ |
|
2075 |
"Threshold at which tier 4 compilation is invoked (invocation " \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2076 |
"minimum must be satisfied") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2077 |
range(0, max_jint) \ |
6453 | 2078 |
\ |
2079 |
product(intx, Tier4BackEdgeThreshold, 40000, \ |
|
2080 |
"Back edge threshold at which tier 4 OSR compilation is invoked") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2081 |
range(0, max_jint) \ |
6453 | 2082 |
\ |
2083 |
product(intx, Tier3DelayOn, 5, \ |
|
2084 |
"If C2 queue size grows over this amount per compiler thread " \ |
|
2085 |
"stop compiling at tier 3 and start compiling at tier 2") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2086 |
range(0, max_jint) \ |
6453 | 2087 |
\ |
2088 |
product(intx, Tier3DelayOff, 2, \ |
|
2089 |
"If C2 queue size is less than this amount per compiler thread " \ |
|
2090 |
"allow methods compiled at tier 2 transition to tier 3") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2091 |
range(0, max_jint) \ |
6453 | 2092 |
\ |
2093 |
product(intx, Tier3LoadFeedback, 5, \ |
|
2094 |
"Tier 3 thresholds will increase twofold when C1 queue size " \ |
|
2095 |
"reaches this amount per compiler thread") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2096 |
range(0, max_jint) \ |
6453 | 2097 |
\ |
2098 |
product(intx, Tier4LoadFeedback, 3, \ |
|
2099 |
"Tier 4 thresholds will increase twofold when C2 queue size " \ |
|
2100 |
"reaches this amount per compiler thread") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2101 |
range(0, max_jint) \ |
6453 | 2102 |
\ |
2103 |
product(intx, TieredCompileTaskTimeout, 50, \ |
|
2104 |
"Kill compile task if method was not used within " \ |
|
2105 |
"given timeout in milliseconds") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2106 |
range(0, max_intx) \ |
6453 | 2107 |
\ |
2108 |
product(intx, TieredStopAtLevel, 4, \ |
|
2109 |
"Stop at given compilation level") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2110 |
range(0, 4) \ |
6453 | 2111 |
\ |
2112 |
product(intx, Tier0ProfilingStartPercentage, 200, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2113 |
"Start profiling in interpreter if the counters exceed tier 3 " \ |
6453 | 2114 |
"thresholds by the specified percentage") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2115 |
range(0, max_jint) \ |
6453 | 2116 |
\ |
17617
4e330bce1812
8012371: Adjust Tiered compile threshold according to available space in code cache
anoll
parents:
17398
diff
changeset
|
2117 |
product(uintx, IncreaseFirstTierCompileThresholdAt, 50, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2118 |
"Increase the compile threshold for C1 compilation if the code " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2119 |
"cache is filled by the specified percentage") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
2120 |
range(0, 99) \ |
17617
4e330bce1812
8012371: Adjust Tiered compile threshold according to available space in code cache
anoll
parents:
17398
diff
changeset
|
2121 |
\ |
6453 | 2122 |
product(intx, TieredRateUpdateMinTime, 1, \ |
2123 |
"Minimum rate sampling interval (in milliseconds)") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2124 |
range(0, max_intx) \ |
6453 | 2125 |
\ |
2126 |
product(intx, TieredRateUpdateMaxTime, 25, \ |
|
2127 |
"Maximum rate sampling interval (in milliseconds)") \ |
|
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2128 |
range(0, max_intx) \ |
1 | 2129 |
\ |
2130 |
product_pd(bool, TieredCompilation, \ |
|
6453 | 2131 |
"Enable tiered compilation") \ |
2132 |
\ |
|
2133 |
product(bool, PrintTieredEvents, false, \ |
|
2134 |
"Print tiered events notifications") \ |
|
1 | 2135 |
\ |
2136 |
product_pd(intx, OnStackReplacePercentage, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2137 |
"NON_TIERED number of method invocations/branches (expressed as " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2138 |
"% of CompileThreshold) before (re-)compiling OSR code") \ |
33163
9e128b399e48
8078554: Compiler: implement ranges (optionally constraints) for those flags that have them missing
zmajo
parents:
33160
diff
changeset
|
2139 |
constraint(OnStackReplacePercentageConstraintFunc, AfterErgo) \ |
1 | 2140 |
\ |
2141 |
product(intx, InterpreterProfilePercentage, 33, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2142 |
"NON_TIERED number of method invocations/branches (expressed as " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2143 |
"% of CompileThreshold) before profiling in the interpreter") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
2144 |
range(0, 100) \ |
1 | 2145 |
\ |
2146 |
develop(intx, DesiredMethodLimit, 8000, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2147 |
"The desired maximum method size (in bytecodes) after inlining") \ |
1 | 2148 |
\ |
2149 |
develop(intx, HugeMethodLimit, 8000, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2150 |
"Don't compile methods larger than this if " \ |
1 | 2151 |
"+DontCompileHugeMethods") \ |
2152 |
\ |
|
2153 |
/* Properties for Java libraries */ \ |
|
2154 |
\ |
|
38118
16e2f219e1b6
8153835: Fix range of flag MaxDirectMemorySize which is parsed at jlong
gziemski
parents:
38103
diff
changeset
|
2155 |
product(uint64_t, MaxDirectMemorySize, 0, \ |
1 | 2156 |
"Maximum total size of NIO direct-buffer allocations") \ |
38118
16e2f219e1b6
8153835: Fix range of flag MaxDirectMemorySize which is parsed at jlong
gziemski
parents:
38103
diff
changeset
|
2157 |
range(0, max_jlong) \ |
1 | 2158 |
\ |
58056
db92a157dd70
8212117: Class.forName may return a reference to a loaded but not linked Class
bchristi
parents:
58044
diff
changeset
|
2159 |
product(bool, ClassForNameDeferLinking, false, \ |
db92a157dd70
8212117: Class.forName may return a reference to a loaded but not linked Class
bchristi
parents:
58044
diff
changeset
|
2160 |
"Revert to not linking in Class.forName()") \ |
db92a157dd70
8212117: Class.forName may return a reference to a loaded but not linked Class
bchristi
parents:
58044
diff
changeset
|
2161 |
\ |
22551 | 2162 |
/* Flags used for temporary code during development */ \ |
1 | 2163 |
\ |
2164 |
diagnostic(bool, UseNewCode, false, \ |
|
2165 |
"Testing Only: Use the new version while testing") \ |
|
2166 |
\ |
|
2167 |
diagnostic(bool, UseNewCode2, false, \ |
|
2168 |
"Testing Only: Use the new version while testing") \ |
|
2169 |
\ |
|
2170 |
diagnostic(bool, UseNewCode3, false, \ |
|
2171 |
"Testing Only: Use the new version while testing") \ |
|
2172 |
\ |
|
2173 |
/* flags for performance data collection */ \ |
|
2174 |
\ |
|
40015
524230a0f4ca
8140723: Remove source code conditionalized on JAVASE_EMBEDDED
dholmes
parents:
40010
diff
changeset
|
2175 |
product(bool, UsePerfData, true, \ |
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2176 |
"Flag to disable jvmstat instrumentation for performance testing "\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2177 |
"and problem isolation purposes") \ |
1 | 2178 |
\ |
2179 |
product(bool, PerfDataSaveToFile, false, \ |
|
2180 |
"Save PerfData memory to hsperfdata_<pid> file on exit") \ |
|
2181 |
\ |
|
2182 |
product(ccstr, PerfDataSaveFile, NULL, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2183 |
"Save PerfData memory to the specified absolute pathname. " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2184 |
"The string %p in the file name (if present) " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2185 |
"will be replaced by pid") \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2186 |
\ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2187 |
product(intx, PerfDataSamplingInterval, 50, \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2188 |
"Data sampling interval (in milliseconds)") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
2189 |
range(PeriodicTask::min_interval, max_jint) \ |
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
2190 |
constraint(PerfDataSamplingIntervalFunc, AfterErgo) \ |
1 | 2191 |
\ |
2192 |
product(bool, PerfDisableSharedMem, false, \ |
|
2193 |
"Store performance data in standard memory") \ |
|
2194 |
\ |
|
35940
b6335181f2c6
8144916: Decrease PerfDataMemorySize back to 32K
redestad
parents:
35918
diff
changeset
|
2195 |
product(intx, PerfDataMemorySize, 32*K, \ |
1 | 2196 |
"Size of performance data memory region. Will be rounded " \ |
2197 |
"up to a multiple of the native os page size.") \ |
|
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
2198 |
range(128, 32*64*K) \ |
1 | 2199 |
\ |
2200 |
product(intx, PerfMaxStringConstLength, 1024, \ |
|
2201 |
"Maximum PerfStringConstant string length before truncation") \ |
|
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
2202 |
range(32, 32*K) \ |
1 | 2203 |
\ |
2204 |
product(bool, PerfAllowAtExitRegistration, false, \ |
|
2205 |
"Allow registration of atexit() methods") \ |
|
2206 |
\ |
|
2207 |
product(bool, PerfBypassFileSystemCheck, false, \ |
|
2208 |
"Bypass Win32 file system criteria checks (Windows Only)") \ |
|
2209 |
\ |
|
2210 |
product(intx, UnguardOnExecutionViolation, 0, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2211 |
"Unguard page and retry on no-execute fault (Win32 only) " \ |
1 | 2212 |
"0=off, 1=conservative, 2=aggressive") \ |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
2213 |
range(0, 2) \ |
1 | 2214 |
\ |
2215 |
/* Serviceability Support */ \ |
|
2216 |
\ |
|
2217 |
product(bool, ManagementServer, false, \ |
|
2218 |
"Create JMX Management Server") \ |
|
2219 |
\ |
|
2220 |
product(bool, DisableAttachMechanism, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2221 |
"Disable mechanism that allows tools to attach to this VM") \ |
1 | 2222 |
\ |
2223 |
product(bool, StartAttachListener, false, \ |
|
2224 |
"Always start Attach Listener at VM startup") \ |
|
2225 |
\ |
|
44993
f61bcd80ec1f
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44522
diff
changeset
|
2226 |
product(bool, EnableDynamicAgentLoading, true, \ |
f61bcd80ec1f
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44522
diff
changeset
|
2227 |
"Allow tools to load agents with the attach mechanism") \ |
f61bcd80ec1f
8178380: Module system implementation refresh (5/2017)
alanb
parents:
44522
diff
changeset
|
2228 |
\ |
1 | 2229 |
manageable(bool, PrintConcurrentLocks, false, \ |
2230 |
"Print java.util.concurrent locks in thread dump") \ |
|
2231 |
\ |
|
2232 |
/* Shared spaces */ \ |
|
2233 |
\ |
|
2234 |
product(bool, UseSharedSpaces, true, \ |
|
15101
58d43bf04c45
8005076: Creating a CDS archive with one alignment and running another causes a crash.
hseigel
parents:
14835
diff
changeset
|
2235 |
"Use shared spaces for metadata") \ |
1 | 2236 |
\ |
27025 | 2237 |
product(bool, VerifySharedSpaces, false, \ |
54838 | 2238 |
"Verify integrity of shared spaces") \ |
27025 | 2239 |
\ |
1 | 2240 |
product(bool, RequireSharedSpaces, false, \ |
15101
58d43bf04c45
8005076: Creating a CDS archive with one alignment and running another causes a crash.
hseigel
parents:
14835
diff
changeset
|
2241 |
"Require shared spaces for metadata") \ |
1 | 2242 |
\ |
2243 |
product(bool, DumpSharedSpaces, false, \ |
|
20404
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2244 |
"Special mode: JVM reads a class list, loads classes, builds " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2245 |
"shared spaces, and dumps the shared spaces to a file to be " \ |
2e17d4cd1fc2
8010506: Typos and errors in descriptions of vm options in globals.hpp
tamao
parents:
20065
diff
changeset
|
2246 |
"used in future JVM runs") \ |
1 | 2247 |
\ |
54927 | 2248 |
product(bool, DynamicDumpSharedSpaces, false, \ |
2249 |
"Dynamic archive") \ |
|
2250 |
\ |
|
26135
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2251 |
product(bool, PrintSharedArchiveAndExit, false, \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2252 |
"Print shared archive file contents") \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2253 |
\ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2254 |
product(bool, PrintSharedDictionary, false, \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2255 |
"If PrintSharedArchiveAndExit is true, also print the shared " \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2256 |
"dictionary") \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2257 |
\ |
34242
e530decd7c63
8138983: Runtime: implement ranges for Shared*** flags
gziemski
parents:
34231
diff
changeset
|
2258 |
product(size_t, SharedBaseAddress, LP64_ONLY(32*G) \ |
16430
882cddc35bec
8008217: CDS: Class data sharing limits the malloc heap on Solaris
coleenp
parents:
16428
diff
changeset
|
2259 |
NOT_LP64(LINUX_ONLY(2*G) NOT_LINUX(0)), \ |
882cddc35bec
8008217: CDS: Class data sharing limits the malloc heap on Solaris
coleenp
parents:
16428
diff
changeset
|
2260 |
"Address to allocate shared memory region for class data") \ |
34242
e530decd7c63
8138983: Runtime: implement ranges for Shared*** flags
gziemski
parents:
34231
diff
changeset
|
2261 |
range(0, SIZE_MAX) \ |
1 | 2262 |
\ |
48138 | 2263 |
product(ccstr, SharedArchiveConfigFile, NULL, \ |
2264 |
"Data to add to the CDS archive file") \ |
|
2265 |
\ |
|
28363
047115468f16
8059510: Compact symbol table layout inside shared archive.
jiangli
parents:
28174
diff
changeset
|
2266 |
product(uintx, SharedSymbolTableBucketSize, 4, \ |
047115468f16
8059510: Compact symbol table layout inside shared archive.
jiangli
parents:
28174
diff
changeset
|
2267 |
"Average number of symbols per bucket in shared table") \ |
33222
e0a340f4ab6e
8078556: Runtime: implement ranges (optionally constraints) for those flags that have them missing.
gziemski
parents:
33208
diff
changeset
|
2268 |
range(2, 246) \ |
28363
047115468f16
8059510: Compact symbol table layout inside shared archive.
jiangli
parents:
28174
diff
changeset
|
2269 |
\ |
52596
dfa02b3f728c
8201375: Add the AllowArchivingWithJavaAgent diagnostic vm option to allow the use of the -javaagent option during CDS dumping
ccheung
parents:
52473
diff
changeset
|
2270 |
diagnostic(bool, AllowArchivingWithJavaAgent, false, \ |
dfa02b3f728c
8201375: Add the AllowArchivingWithJavaAgent diagnostic vm option to allow the use of the -javaagent option during CDS dumping
ccheung
parents:
52473
diff
changeset
|
2271 |
"Allow Java agent to be run with CDS dumping") \ |
dfa02b3f728c
8201375: Add the AllowArchivingWithJavaAgent diagnostic vm option to allow the use of the -javaagent option during CDS dumping
ccheung
parents:
52473
diff
changeset
|
2272 |
\ |
9980
a330de5dea17
7052219: JSR 292: Crash in ~BufferBlob::MethodHandles adapters
never
parents:
9968
diff
changeset
|
2273 |
diagnostic(bool, PrintMethodHandleStubs, false, \ |
a330de5dea17
7052219: JSR 292: Crash in ~BufferBlob::MethodHandles adapters
never
parents:
9968
diff
changeset
|
2274 |
"Print generated stub code for method handles") \ |
a330de5dea17
7052219: JSR 292: Crash in ~BufferBlob::MethodHandles adapters
never
parents:
9968
diff
changeset
|
2275 |
\ |
2534 | 2276 |
develop(bool, TraceMethodHandles, false, \ |
2277 |
"trace internal method handle operations") \ |
|
2278 |
\ |
|
2279 |
diagnostic(bool, VerifyMethodHandles, trueInDebug, \ |
|
2280 |
"perform extra checks when constructing method handles") \ |
|
2281 |
\ |
|
13391
30245956af37
7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents:
13197
diff
changeset
|
2282 |
diagnostic(bool, ShowHiddenFrames, false, \ |
30245956af37
7023639: JSR 292 method handle invocation needs a fast path for compiled code
twisti
parents:
13197
diff
changeset
|
2283 |
"show method handle implementation frames (usually hidden)") \ |
9946
b3d5b50e2289
7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp
never
parents:
9942
diff
changeset
|
2284 |
\ |
4644
2b1a1bc98168
6912065: final fields in objects need to support inlining optimizations for JSR 292
jrose
parents:
4586
diff
changeset
|
2285 |
experimental(bool, TrustFinalNonStaticFields, false, \ |
2b1a1bc98168
6912065: final fields in objects need to support inlining optimizations for JSR 292
jrose
parents:
4586
diff
changeset
|
2286 |
"trust final non-static declarations for constant folding") \ |
2b1a1bc98168
6912065: final fields in objects need to support inlining optimizations for JSR 292
jrose
parents:
4586
diff
changeset
|
2287 |
\ |
23192 | 2288 |
diagnostic(bool, FoldStableValues, true, \ |
2289 |
"Optimize loads from stable fields (marked w/ @Stable)") \ |
|
19770
7cb9f982ea81
8001107: @Stable annotation for constant folding of lazily evaluated variables
vlivanov
parents:
19704
diff
changeset
|
2290 |
\ |
2570
ecc7862946d4
6655646: dynamic languages need dynamically linked call sites
jrose
parents:
2536
diff
changeset
|
2291 |
develop(bool, TraceInvokeDynamic, false, \ |
ecc7862946d4
6655646: dynamic languages need dynamically linked call sites
jrose
parents:
2536
diff
changeset
|
2292 |
"trace internal invoke dynamic operations") \ |
ecc7862946d4
6655646: dynamic languages need dynamically linked call sites
jrose
parents:
2536
diff
changeset
|
2293 |
\ |
48826 | 2294 |
diagnostic(int, UseBootstrapCallInfo, 1, \ |
2295 |
"0: when resolving InDy or ConDy, force all BSM arguments to be " \ |
|
2296 |
"resolved before the bootstrap method is called; 1: when a BSM " \ |
|
2297 |
"that may accept a BootstrapCallInfo is detected, use that API " \ |
|
2298 |
"to pass BSM arguments, which allows the BSM to delay their " \ |
|
2299 |
"resolution; 2+: stress test the BCI API by calling more BSMs " \ |
|
2300 |
"via that API, instead of with the eagerly-resolved array.") \ |
|
2301 |
\ |
|
1 | 2302 |
diagnostic(bool, PauseAtStartup, false, \ |
2303 |
"Causes the VM to pause at startup time and wait for the pause " \ |
|
2304 |
"file to be removed (default: ./vm.paused.<pid>)") \ |
|
2305 |
\ |
|
2306 |
diagnostic(ccstr, PauseAtStartupFile, NULL, \ |
|
2307 |
"The file to create and for whose removal to await when pausing " \ |
|
2308 |
"at startup. (default: ./vm.paused.<pid>)") \ |
|
2309 |
\ |
|
8476
7e34c2d4cf9b
7022037: Pause when exiting if debugger is attached on windows
sla
parents:
8335
diff
changeset
|
2310 |
diagnostic(bool, PauseAtExit, false, \ |
7e34c2d4cf9b
7022037: Pause when exiting if debugger is attached on windows
sla
parents:
8335
diff
changeset
|
2311 |
"Pause and wait for keypress on exit if a debugger is attached") \ |
7e34c2d4cf9b
7022037: Pause when exiting if debugger is attached on windows
sla
parents:
8335
diff
changeset
|
2312 |
\ |
1 | 2313 |
product(bool, ExtendedDTraceProbes, false, \ |
2314 |
"Enable performance-impacting dtrace probes") \ |
|
2315 |
\ |
|
2316 |
product(bool, DTraceMethodProbes, false, \ |
|
2317 |
"Enable dtrace probes for method-entry and method-exit") \ |
|
2318 |
\ |
|
2319 |
product(bool, DTraceAllocProbes, false, \ |
|
2320 |
"Enable dtrace probes for object allocation") \ |
|
2321 |
\ |
|
2322 |
product(bool, DTraceMonitorProbes, false, \ |
|
2323 |
"Enable dtrace probes for monitor events") \ |
|
2324 |
\ |
|
2325 |
product(bool, RelaxAccessControlCheck, false, \ |
|
2326 |
"Relax the access control checks in the verifier") \ |
|
2327 |
\ |
|
14487
9a40ad461ee9
7122219: Passed StringTableSize value not verified
hseigel
parents:
14386
diff
changeset
|
2328 |
product(uintx, StringTableSize, defaultStringTableSize, \ |
50445
bd6b78feb6a3
8195097: Make it possible to process StringTable outside safepoint
rehn
parents:
50416
diff
changeset
|
2329 |
"Number of buckets in the interned String table " \ |
bd6b78feb6a3
8195097: Make it possible to process StringTable outside safepoint
rehn
parents:
50416
diff
changeset
|
2330 |
"(will be rounded to nearest higher power of 2)") \ |
57593
f40a73b61b5e
8227123: Assertion failure when setting SymbolTableSize larger than 2^17 (131,072)
coleenp
parents:
57559
diff
changeset
|
2331 |
range(minimumStringTableSize, 16777216ul /* 2^24 */) \ |
8727 | 2332 |
\ |
20393
0675c0224a5a
8019375: Internal symbol table size should be tunable.
kevinw
parents:
20292
diff
changeset
|
2333 |
experimental(uintx, SymbolTableSize, defaultSymbolTableSize, \ |
0675c0224a5a
8019375: Internal symbol table size should be tunable.
kevinw
parents:
20292
diff
changeset
|
2334 |
"Number of buckets in the JVM internal Symbol table") \ |
57593
f40a73b61b5e
8227123: Assertion failure when setting SymbolTableSize larger than 2^17 (131,072)
coleenp
parents:
57559
diff
changeset
|
2335 |
range(minimumSymbolTableSize, 16777216ul /* 2^24 */) \ |
20393
0675c0224a5a
8019375: Internal symbol table size should be tunable.
kevinw
parents:
20292
diff
changeset
|
2336 |
\ |
23472 | 2337 |
product(bool, UseStringDeduplication, false, \ |
2338 |
"Use string deduplication") \ |
|
2339 |
\ |
|
2340 |
product(uintx, StringDeduplicationAgeThreshold, 3, \ |
|
2341 |
"A string must reach this age (or be promoted to an old region) " \ |
|
2342 |
"to be considered for deduplication") \ |
|
57777
90ead0febf56
8229258: Rework markOop and markOopDesc into a simpler mark word value carrier
stefank
parents:
57681
diff
changeset
|
2343 |
range(1, markWord::max_age) \ |
23472 | 2344 |
\ |
2345 |
diagnostic(bool, StringDeduplicationResizeALot, false, \ |
|
2346 |
"Force table resize every time the table is scanned") \ |
|
2347 |
\ |
|
2348 |
diagnostic(bool, StringDeduplicationRehashALot, false, \ |
|
2349 |
"Force table rehash every time the table is scanned") \ |
|
2350 |
\ |
|
12095 | 2351 |
diagnostic(bool, WhiteBoxAPI, false, \ |
12630
ddf6ee008138
7166894: Add gc cause to GC logging for all collectors
brutisso
parents:
12263
diff
changeset
|
2352 |
"Enable internal testing APIs") \ |
ddf6ee008138
7166894: Add gc cause to GC logging for all collectors
brutisso
parents:
12263
diff
changeset
|
2353 |
\ |
25905
04a3d83cc752
8031323: Optionally align objects copied to survivor spaces
jmasa
parents:
25630
diff
changeset
|
2354 |
experimental(intx, SurvivorAlignmentInBytes, 0, \ |
04a3d83cc752
8031323: Optionally align objects copied to survivor spaces
jmasa
parents:
25630
diff
changeset
|
2355 |
"Default survivor space alignment in bytes") \ |
57606
b81062d47d61
8228855: Test runtime/CommandLine/OptionsValidation/TestOptionsWithRanges fails after JDK-8227123
coleenp
parents:
57602
diff
changeset
|
2356 |
range(8, 256) \ |
31995
aa4049b4184a
8130459: Add additional validation after heap creation
sangheki
parents:
31989
diff
changeset
|
2357 |
constraint(SurvivorAlignmentInBytesConstraintFunc,AfterErgo) \ |
25905
04a3d83cc752
8031323: Optionally align objects copied to survivor spaces
jmasa
parents:
25630
diff
changeset
|
2358 |
\ |
26135
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2359 |
product(ccstr, DumpLoadedClassList, NULL, \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2360 |
"Dump the names all loaded classes, that could be stored into " \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2361 |
"the CDS archive, in the specified file") \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2362 |
\ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2363 |
product(ccstr, SharedClassListFile, NULL, \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2364 |
"Override the default CDS class list") \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2365 |
\ |
49931 | 2366 |
product(ccstr, SharedArchiveFile, NULL, \ |
17375
e9554fd82263
8014138: Add VM option to facilitate the writing of CDS tests
hseigel
parents:
17374
diff
changeset
|
2367 |
"Override the default location of the CDS archive file") \ |
e9554fd82263
8014138: Add VM option to facilitate the writing of CDS tests
hseigel
parents:
17374
diff
changeset
|
2368 |
\ |
54927 | 2369 |
product(ccstr, ArchiveClassesAtExit, NULL, \ |
2370 |
"The path and name of the dynamic archive file") \ |
|
2371 |
\ |
|
26135
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2372 |
product(ccstr, ExtraSharedClassListFile, NULL, \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2373 |
"Extra classlist for building the CDS archive file") \ |
82b516c550f7
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
25950
diff
changeset
|
2374 |
\ |
25959 | 2375 |
experimental(size_t, ArrayAllocatorMallocLimit, \ |
2376 |
SOLARIS_ONLY(64*K) NOT_SOLARIS((size_t)-1), \ |
|
16682
4e30a46f6b76
7197666: java -d64 -version core dumps in a box with lots of memory
brutisso
parents:
16680
diff
changeset
|
2377 |
"Allocation less than this value will be allocated " \ |
18025 | 2378 |
"using malloc. Larger allocations will use mmap.") \ |
2379 |
\ |
|
23189
27cf1316709b
8033380: Experimental VM flag to enforce access atomicity
shade
parents:
22916
diff
changeset
|
2380 |
experimental(bool, AlwaysAtomicAccesses, false, \ |
27cf1316709b
8033380: Experimental VM flag to enforce access atomicity
shade
parents:
22916
diff
changeset
|
2381 |
"Accesses to all variables should always be atomic") \ |
27cf1316709b
8033380: Experimental VM flag to enforce access atomicity
shade
parents:
22916
diff
changeset
|
2382 |
\ |
30209
8ea30dc99369
8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods
aph
parents:
29698
diff
changeset
|
2383 |
diagnostic(bool, UseUnalignedAccesses, false, \ |
33606 | 2384 |
"Use unaligned memory accesses in Unsafe") \ |
30305
b92a97e1e9cb
8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
zmajo
parents:
30302
diff
changeset
|
2385 |
\ |
b92a97e1e9cb
8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
zmajo
parents:
30302
diff
changeset
|
2386 |
product_pd(bool, PreserveFramePointer, \ |
b92a97e1e9cb
8068945: Use RBP register as proper frame pointer in JIT compiled code on x86
zmajo
parents:
30302
diff
changeset
|
2387 |
"Use the FP register for holding the frame pointer " \ |
31587
e48945b7849c
8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
zmajo
parents:
31515
diff
changeset
|
2388 |
"and not as a general purpose register.") \ |
e48945b7849c
8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
zmajo
parents:
31515
diff
changeset
|
2389 |
\ |
31862
8673bd4db4b1
8131326: Enable CheckIntrinsics in all types of builds
zmajo
parents:
31635
diff
changeset
|
2390 |
diagnostic(bool, CheckIntrinsics, true, \ |
31587
e48945b7849c
8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
zmajo
parents:
31515
diff
changeset
|
2391 |
"When a class C is loaded, check that " \ |
e48945b7849c
8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
zmajo
parents:
31515
diff
changeset
|
2392 |
"(1) all intrinsics defined by the VM for class C are present "\ |
e48945b7849c
8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
zmajo
parents:
31515
diff
changeset
|
2393 |
"in the loaded class file and are marked with the " \ |
31862
8673bd4db4b1
8131326: Enable CheckIntrinsics in all types of builds
zmajo
parents:
31635
diff
changeset
|
2394 |
"@HotSpotIntrinsicCandidate annotation, that " \ |
31587
e48945b7849c
8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
zmajo
parents:
31515
diff
changeset
|
2395 |
"(2) there is an intrinsic registered for all loaded methods " \ |
e48945b7849c
8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics
zmajo
parents:
31515
diff
changeset
|
2396 |
"that are annotated with the @HotSpotIntrinsicCandidate " \ |
31862
8673bd4db4b1
8131326: Enable CheckIntrinsics in all types of builds
zmajo
parents:
31635
diff
changeset
|
2397 |
"annotation, and that " \ |
8673bd4db4b1
8131326: Enable CheckIntrinsics in all types of builds
zmajo
parents:
31635
diff
changeset
|
2398 |
"(3) no orphan methods exist for class C (i.e., methods for " \ |
8673bd4db4b1
8131326: Enable CheckIntrinsics in all types of builds
zmajo
parents:
31635
diff
changeset
|
2399 |
"which the VM declares an intrinsic but that are not declared "\ |
8673bd4db4b1
8131326: Enable CheckIntrinsics in all types of builds
zmajo
parents:
31635
diff
changeset
|
2400 |
"in the loaded class C. " \ |
33451
0712796e4039
8137167: JEP165: Compiler Control: Implementation task
neliasso
parents:
33198
diff
changeset
|
2401 |
"Check (3) is available only in debug builds.") \ |
0712796e4039
8137167: JEP165: Compiler Control: Implementation task
neliasso
parents:
33198
diff
changeset
|
2402 |
\ |
39117 | 2403 |
diagnostic_pd(intx, InitArrayShortSize, \ |
36554
a7eb9ee4680c
8146801: Allocating short arrays of non-constant size is slow
shade
parents:
36186
diff
changeset
|
2404 |
"Threshold small size (in bytes) for clearing arrays. " \ |
a7eb9ee4680c
8146801: Allocating short arrays of non-constant size is slow
shade
parents:
36186
diff
changeset
|
2405 |
"Anything this size or smaller may get converted to discrete " \ |
a7eb9ee4680c
8146801: Allocating short arrays of non-constant size is slow
shade
parents:
36186
diff
changeset
|
2406 |
"scalar stores.") \ |
a7eb9ee4680c
8146801: Allocating short arrays of non-constant size is slow
shade
parents:
36186
diff
changeset
|
2407 |
range(0, max_intx) \ |
a7eb9ee4680c
8146801: Allocating short arrays of non-constant size is slow
shade
parents:
36186
diff
changeset
|
2408 |
constraint(InitArrayShortSizeConstraintFunc, AfterErgo) \ |
a7eb9ee4680c
8146801: Allocating short arrays of non-constant size is slow
shade
parents:
36186
diff
changeset
|
2409 |
\ |
33451
0712796e4039
8137167: JEP165: Compiler Control: Implementation task
neliasso
parents:
33198
diff
changeset
|
2410 |
diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false, \ |
0712796e4039
8137167: JEP165: Compiler Control: Implementation task
neliasso
parents:
33198
diff
changeset
|
2411 |
"Disable backwards compatibility for compile commands.") \ |
0712796e4039
8137167: JEP165: Compiler Control: Implementation task
neliasso
parents:
33198
diff
changeset
|
2412 |
\ |
35129
8b93709bf4e5
8144246: adding lots of directives via jcmd may produce OOM crash
neliasso
parents:
35110
diff
changeset
|
2413 |
diagnostic(bool, CompilerDirectivesPrint, false, \ |
8b93709bf4e5
8144246: adding lots of directives via jcmd may produce OOM crash
neliasso
parents:
35110
diff
changeset
|
2414 |
"Print compiler directives on installation.") \ |
8b93709bf4e5
8144246: adding lots of directives via jcmd may produce OOM crash
neliasso
parents:
35110
diff
changeset
|
2415 |
diagnostic(int, CompilerDirectivesLimit, 50, \ |
48153
cfa2c43e58c2
8190308: Implementation: JEP 316: Heap Allocation on Alternative Memory Devices
kkharbas
parents:
48147
diff
changeset
|
2416 |
"Limit on number of compiler directives.") \ |
cfa2c43e58c2
8190308: Implementation: JEP 316: Heap Allocation on Alternative Memory Devices
kkharbas
parents:
48147
diff
changeset
|
2417 |
\ |
cfa2c43e58c2
8190308: Implementation: JEP 316: Heap Allocation on Alternative Memory Devices
kkharbas
parents:
48147
diff
changeset
|
2418 |
product(ccstr, AllocateHeapAt, NULL, \ |
cfa2c43e58c2
8190308: Implementation: JEP 316: Heap Allocation on Alternative Memory Devices
kkharbas
parents:
48147
diff
changeset
|
2419 |
"Path to the directoy where a temporary file will be created " \ |
49405
e88237c5ac83
8199656: Make slow metaspace verifications switchable in debug builds
stuefe
parents:
49381
diff
changeset
|
2420 |
"to use as the backing store for Java Heap.") \ |
e88237c5ac83
8199656: Make slow metaspace verifications switchable in debug builds
stuefe
parents:
49381
diff
changeset
|
2421 |
\ |
53116
bb03098c4dde
8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
sangheki
parents:
53020
diff
changeset
|
2422 |
experimental(ccstr, AllocateOldGenAt, NULL, \ |
bb03098c4dde
8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
sangheki
parents:
53020
diff
changeset
|
2423 |
"Path to the directoy where a temporary file will be " \ |
bb03098c4dde
8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
sangheki
parents:
53020
diff
changeset
|
2424 |
"created to use as the backing store for old generation." \ |
bb03098c4dde
8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
sangheki
parents:
53020
diff
changeset
|
2425 |
"File of size Xmx is pre-allocated for performance reason, so" \ |
bb03098c4dde
8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
sangheki
parents:
53020
diff
changeset
|
2426 |
"we need that much space available") \ |
bb03098c4dde
8211425: Allocation of old generation of java heap on alternate memory devices - G1 GC
sangheki
parents:
53020
diff
changeset
|
2427 |
\ |
53970 | 2428 |
develop(int, VerifyMetaspaceInterval, DEBUG_ONLY(500) NOT_DEBUG(0), \ |
2429 |
"Run periodic metaspace verifications (0 - none, " \ |
|
2430 |
"1 - always, >1 every nth interval)") \ |
|
49405
e88237c5ac83
8199656: Make slow metaspace verifications switchable in debug builds
stuefe
parents:
49381
diff
changeset
|
2431 |
\ |
52761 | 2432 |
diagnostic(bool, ShowRegistersOnAssert, true, \ |
49653
a569cb4425f3
8191101: Show register content in hs-err file on assert
stuefe
parents:
49651
diff
changeset
|
2433 |
"On internal errors, include registers in error report.") \ |
a569cb4425f3
8191101: Show register content in hs-err file on assert
stuefe
parents:
49651
diff
changeset
|
2434 |
\ |
57803
23e3ab980622
8229158: make UseSwitchProfiling non-experimental or false by-default
chagedorn
parents:
57779
diff
changeset
|
2435 |
diagnostic(bool, UseSwitchProfiling, true, \ |
49877
d84f06a0cae1
8200303: C2 should leverage profiling for lookupswitch/tableswitch
roland
parents:
49860
diff
changeset
|
2436 |
"leverage profiling for table/lookup switch") \ |
50113 | 2437 |
\ |
57804 | 2438 |
develop(bool, TraceMemoryWriteback, false, \ |
2439 |
"Trace memory writeback operations") \ |
|
2440 |
\ |
|
50113 | 2441 |
JFR_ONLY(product(bool, FlightRecorder, false, \ |
57803
23e3ab980622
8229158: make UseSwitchProfiling non-experimental or false by-default
chagedorn
parents:
57779
diff
changeset
|
2442 |
"(Deprecated) Enable Flight Recorder")) \ |
50113 | 2443 |
\ |
2444 |
JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL, \ |
|
2445 |
"Flight Recorder options")) \ |
|
2446 |
\ |
|
2447 |
JFR_ONLY(product(ccstr, StartFlightRecording, NULL, \ |
|
2448 |
"Start flight recording with options")) \ |
|
2449 |
\ |
|
2450 |
experimental(bool, UseFastUnorderedTimeStamps, false, \ |
|
2451 |
"Use platform unstable time where supported for timestamps only") |
|
49405
e88237c5ac83
8199656: Make slow metaspace verifications switchable in debug builds
stuefe
parents:
49381
diff
changeset
|
2452 |
|
1 | 2453 |
// Interface macros |
20288
e2d549f40de9
8024545: make develop and notproduct flag values available in product builds
twisti
parents:
20022
diff
changeset
|
2454 |
#define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name; |
e2d549f40de9
8024545: make develop and notproduct flag values available in product builds
twisti
parents:
20022
diff
changeset
|
2455 |
#define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name; |
e2d549f40de9
8024545: make develop and notproduct flag values available in product builds
twisti
parents:
20022
diff
changeset
|
2456 |
#define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name; |
39117 | 2457 |
#define DECLARE_PD_DIAGNOSTIC_FLAG(type, name, doc) extern "C" type name; |
1382
fa3de4068282
6618726: Introduce -XX:+UnlockExperimentalVMOptions flag
ysr
parents:
1380
diff
changeset
|
2458 |
#define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name; |
20288
e2d549f40de9
8024545: make develop and notproduct flag values available in product builds
twisti
parents:
20022
diff
changeset
|
2459 |
#define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name; |
e2d549f40de9
8024545: make develop and notproduct flag values available in product builds
twisti
parents:
20022
diff
changeset
|
2460 |
#define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name; |
1 | 2461 |
#ifdef PRODUCT |
34174
4db2fb26dc49
8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
twisti
parents:
33637
diff
changeset
|
2462 |
#define DECLARE_DEVELOPER_FLAG(type, name, value, doc) const type name = value; |
4db2fb26dc49
8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
twisti
parents:
33637
diff
changeset
|
2463 |
#define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) const type name = pd_##name; |
4db2fb26dc49
8140424: don't prefix developer and notproduct flag variables with CONST_ in product builds
twisti
parents:
33637
diff
changeset
|
2464 |
#define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) const type name = value; |
1 | 2465 |
#else |
20288
e2d549f40de9
8024545: make develop and notproduct flag values available in product builds
twisti
parents:
20022
diff
changeset
|
2466 |
#define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name; |
e2d549f40de9
8024545: make develop and notproduct flag values available in product builds
twisti
parents:
20022
diff
changeset
|
2467 |
#define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type name; |
e2d549f40de9
8024545: make develop and notproduct flag values available in product builds
twisti
parents:
20022
diff
changeset
|
2468 |
#define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) extern "C" type name; |
31371
311143309e73
8122937: [JEP 245] Validate JVM Command-Line Flag Arguments.
gziemski
parents:
31330
diff
changeset
|
2469 |
#endif // PRODUCT |
360
21d113ecbf6a
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
356
diff
changeset
|
2470 |
// Special LP64 flags, product only needed for now. |
21d113ecbf6a
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
356
diff
changeset
|
2471 |
#ifdef _LP64 |
21d113ecbf6a
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
356
diff
changeset
|
2472 |
#define DECLARE_LP64_PRODUCT_FLAG(type, name, value, doc) extern "C" type name; |
21d113ecbf6a
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
356
diff
changeset
|
2473 |
#else |
21d113ecbf6a
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
356
diff
changeset
|
2474 |
#define DECLARE_LP64_PRODUCT_FLAG(type, name, value, doc) const type name = value; |
21d113ecbf6a
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
coleenp
parents:
356
diff
changeset
|
2475 |
#endif // _LP64 |
1 | 2476 |
|
54982 | 2477 |
ALL_FLAGS(DECLARE_DEVELOPER_FLAG, \ |
2478 |
DECLARE_PD_DEVELOPER_FLAG, \ |
|
2479 |
DECLARE_PRODUCT_FLAG, \ |
|
2480 |
DECLARE_PD_PRODUCT_FLAG, \ |
|
2481 |
DECLARE_DIAGNOSTIC_FLAG, \ |
|
2482 |
DECLARE_PD_DIAGNOSTIC_FLAG, \ |
|
2483 |
DECLARE_EXPERIMENTAL_FLAG, \ |
|
2484 |
DECLARE_NOTPRODUCT_FLAG, \ |
|
2485 |
DECLARE_MANAGEABLE_FLAG, \ |
|
2486 |
DECLARE_PRODUCT_RW_FLAG, \ |
|
2487 |
DECLARE_LP64_PRODUCT_FLAG, \ |
|
2488 |
IGNORE_RANGE, \ |
|
2489 |
IGNORE_CONSTRAINT, \ |
|
2490 |
IGNORE_WRITEABLE) |
|
13521
97a23be06f4e
6677625: Move platform specific flags from globals.hpp to globals_<arch>.hpp
twisti
parents:
13479
diff
changeset
|
2491 |
|
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
53238
diff
changeset
|
2492 |
#endif // SHARE_RUNTIME_GLOBALS_HPP |