Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/globals.hpp @ 1150:f62a22282a47
6914622: Print values of all flags for product VM
Summary: Change the flag -XX:+PrintFlagsFinal to product and add new product flag -XX:+PrintFlagsInitial.
Reviewed-by: phh, ysr
Contributed-by: gbenson@redhat.com
author | kvn |
---|---|
date | Thu, 07 Jan 2010 16:24:17 -0800 |
parents | 547f81740344 |
children | c3b315a0d58a |
comparison
equal
deleted
inserted
replaced
1144:9b9c1ee9b3f6 | 1150:f62a22282a47 |
---|---|
209 | 209 |
210 // Returns false if name is not a command line flag. | 210 // Returns false if name is not a command line flag. |
211 static bool wasSetOnCmdline(const char* name, bool* value); | 211 static bool wasSetOnCmdline(const char* name, bool* value); |
212 static void printSetFlags(); | 212 static void printSetFlags(); |
213 | 213 |
214 static void printFlags() PRODUCT_RETURN; | 214 static void printFlags(); |
215 | 215 |
216 static void verify() PRODUCT_RETURN; | 216 static void verify() PRODUCT_RETURN; |
217 }; | 217 }; |
218 | 218 |
219 // use this for flags that are true by default in the debug version but | 219 // use this for flags that are true by default in the debug version but |
325 * removal testing. It was supposed to be removed before FCS but has \ | 325 * removal testing. It was supposed to be removed before FCS but has \ |
326 * been re-added (see 6401008) */ \ | 326 * been re-added (see 6401008) */ \ |
327 product(bool, UseMembar, false, \ | 327 product(bool, UseMembar, false, \ |
328 "(Unstable) Issues membars on thread state transitions") \ | 328 "(Unstable) Issues membars on thread state transitions") \ |
329 \ | 329 \ |
330 product(bool, PrintCommandLineFlags, false, \ | |
331 "Prints flags that appeared on the command line") \ | |
332 \ | |
333 diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug, \ | 330 diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug, \ |
334 "Enable normal processing of flags relating to field diagnostics")\ | 331 "Enable normal processing of flags relating to field diagnostics")\ |
335 \ | 332 \ |
336 experimental(bool, UnlockExperimentalVMOptions, false, \ | 333 experimental(bool, UnlockExperimentalVMOptions, false, \ |
337 "Enable normal processing of flags relating to experimental features")\ | 334 "Enable normal processing of flags relating to experimental features")\ |
1965 \ | 1962 \ |
1966 product(uintx, CMSYieldSleepCount, 0, \ | 1963 product(uintx, CMSYieldSleepCount, 0, \ |
1967 "number of times a GC thread (minus the coordinator) " \ | 1964 "number of times a GC thread (minus the coordinator) " \ |
1968 "will sleep while yielding before giving up and resuming GC") \ | 1965 "will sleep while yielding before giving up and resuming GC") \ |
1969 \ | 1966 \ |
1970 notproduct(bool, PrintFlagsFinal, false, \ | |
1971 "Print all command line flags after argument processing") \ | |
1972 \ | |
1973 /* gc tracing */ \ | 1967 /* gc tracing */ \ |
1974 manageable(bool, PrintGC, false, \ | 1968 manageable(bool, PrintGC, false, \ |
1975 "Print message at garbage collect") \ | 1969 "Print message at garbage collect") \ |
1976 \ | 1970 \ |
1977 manageable(bool, PrintGCDetails, false, \ | 1971 manageable(bool, PrintGCDetails, false, \ |
2267 \ | 2261 \ |
2268 diagnostic(bool, DebugInlinedCalls, true, \ | 2262 diagnostic(bool, DebugInlinedCalls, true, \ |
2269 "If false, restricts profiled locations to the root method only") \ | 2263 "If false, restricts profiled locations to the root method only") \ |
2270 \ | 2264 \ |
2271 product(bool, PrintVMOptions, trueInDebug, \ | 2265 product(bool, PrintVMOptions, trueInDebug, \ |
2272 "print VM flag settings") \ | 2266 "Print flags that appeared on the command line") \ |
2273 \ | 2267 \ |
2274 product(bool, IgnoreUnrecognizedVMOptions, false, \ | 2268 product(bool, IgnoreUnrecognizedVMOptions, false, \ |
2275 "Ignore unrecognized VM options") \ | 2269 "Ignore unrecognized VM options") \ |
2270 \ | |
2271 product(bool, PrintCommandLineFlags, false, \ | |
2272 "Print flags specified on command line or set by ergonomics") \ | |
2273 \ | |
2274 product(bool, PrintFlagsInitial, false, \ | |
2275 "Print all VM flags before argument processing and exit VM") \ | |
2276 \ | |
2277 product(bool, PrintFlagsFinal, false, \ | |
2278 "Print all VM flags after argument and ergonomic processing") \ | |
2276 \ | 2279 \ |
2277 diagnostic(bool, SerializeVMOutput, true, \ | 2280 diagnostic(bool, SerializeVMOutput, true, \ |
2278 "Use a mutex to serialize output to tty and hotspot.log") \ | 2281 "Use a mutex to serialize output to tty and hotspot.log") \ |
2279 \ | 2282 \ |
2280 diagnostic(bool, DisplayVMOutput, true, \ | 2283 diagnostic(bool, DisplayVMOutput, true, \ |