Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/globals.hpp @ 1161:1fc01a2425ce
Merge
author | iveresov |
---|---|
date | Tue, 12 Jan 2010 13:54:40 -0800 |
parents | 504830073409 c3b315a0d58a |
children | c4d722788ed6 |
comparison
equal
deleted
inserted
replaced
1149:0579c695832f | 1161:1fc01a2425ce |
---|---|
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")\ |
2051 \ | 2048 \ |
2052 product(uintx, CMSYieldSleepCount, 0, \ | 2049 product(uintx, CMSYieldSleepCount, 0, \ |
2053 "number of times a GC thread (minus the coordinator) " \ | 2050 "number of times a GC thread (minus the coordinator) " \ |
2054 "will sleep while yielding before giving up and resuming GC") \ | 2051 "will sleep while yielding before giving up and resuming GC") \ |
2055 \ | 2052 \ |
2056 notproduct(bool, PrintFlagsFinal, false, \ | |
2057 "Print all command line flags after argument processing") \ | |
2058 \ | |
2059 /* gc tracing */ \ | 2053 /* gc tracing */ \ |
2060 manageable(bool, PrintGC, false, \ | 2054 manageable(bool, PrintGC, false, \ |
2061 "Print message at garbage collect") \ | 2055 "Print message at garbage collect") \ |
2062 \ | 2056 \ |
2063 manageable(bool, PrintGCDetails, false, \ | 2057 manageable(bool, PrintGCDetails, false, \ |
2353 \ | 2347 \ |
2354 diagnostic(bool, DebugInlinedCalls, true, \ | 2348 diagnostic(bool, DebugInlinedCalls, true, \ |
2355 "If false, restricts profiled locations to the root method only") \ | 2349 "If false, restricts profiled locations to the root method only") \ |
2356 \ | 2350 \ |
2357 product(bool, PrintVMOptions, trueInDebug, \ | 2351 product(bool, PrintVMOptions, trueInDebug, \ |
2358 "print VM flag settings") \ | 2352 "Print flags that appeared on the command line") \ |
2359 \ | 2353 \ |
2360 product(bool, IgnoreUnrecognizedVMOptions, false, \ | 2354 product(bool, IgnoreUnrecognizedVMOptions, false, \ |
2361 "Ignore unrecognized VM options") \ | 2355 "Ignore unrecognized VM options") \ |
2356 \ | |
2357 product(bool, PrintCommandLineFlags, false, \ | |
2358 "Print flags specified on command line or set by ergonomics") \ | |
2359 \ | |
2360 product(bool, PrintFlagsInitial, false, \ | |
2361 "Print all VM flags before argument processing and exit VM") \ | |
2362 \ | |
2363 product(bool, PrintFlagsFinal, false, \ | |
2364 "Print all VM flags after argument and ergonomic processing") \ | |
2362 \ | 2365 \ |
2363 diagnostic(bool, SerializeVMOutput, true, \ | 2366 diagnostic(bool, SerializeVMOutput, true, \ |
2364 "Use a mutex to serialize output to tty and hotspot.log") \ | 2367 "Use a mutex to serialize output to tty and hotspot.log") \ |
2365 \ | 2368 \ |
2366 diagnostic(bool, DisplayVMOutput, true, \ | 2369 diagnostic(bool, DisplayVMOutput, true, \ |
2756 "maximum number of elements to print") \ | 2759 "maximum number of elements to print") \ |
2757 \ | 2760 \ |
2758 notproduct(intx, MaxSubklassPrintSize, 4, \ | 2761 notproduct(intx, MaxSubklassPrintSize, 4, \ |
2759 "maximum number of subklasses to print when printing klass") \ | 2762 "maximum number of subklasses to print when printing klass") \ |
2760 \ | 2763 \ |
2761 develop(intx, MaxInlineLevel, 9, \ | 2764 product(intx, MaxInlineLevel, 9, \ |
2762 "maximum number of nested calls that are inlined") \ | 2765 "maximum number of nested calls that are inlined") \ |
2763 \ | 2766 \ |
2764 develop(intx, MaxRecursiveInlineLevel, 1, \ | 2767 product(intx, MaxRecursiveInlineLevel, 1, \ |
2765 "maximum number of nested recursive calls that are inlined") \ | 2768 "maximum number of nested recursive calls that are inlined") \ |
2766 \ | 2769 \ |
2767 product_pd(intx, InlineSmallCode, \ | 2770 product_pd(intx, InlineSmallCode, \ |
2768 "Only inline already compiled methods if their code size is " \ | 2771 "Only inline already compiled methods if their code size is " \ |
2769 "less than this") \ | 2772 "less than this") \ |
2772 "maximum bytecode size of a method to be inlined") \ | 2775 "maximum bytecode size of a method to be inlined") \ |
2773 \ | 2776 \ |
2774 product_pd(intx, FreqInlineSize, \ | 2777 product_pd(intx, FreqInlineSize, \ |
2775 "maximum bytecode size of a frequent method to be inlined") \ | 2778 "maximum bytecode size of a frequent method to be inlined") \ |
2776 \ | 2779 \ |
2777 develop(intx, MaxTrivialSize, 6, \ | 2780 product(intx, MaxTrivialSize, 6, \ |
2778 "maximum bytecode size of a trivial method to be inlined") \ | 2781 "maximum bytecode size of a trivial method to be inlined") \ |
2779 \ | 2782 \ |
2780 develop(intx, MinInliningThreshold, 250, \ | 2783 product(intx, MinInliningThreshold, 250, \ |
2781 "min. invocation count a method needs to have to be inlined") \ | 2784 "min. invocation count a method needs to have to be inlined") \ |
2782 \ | 2785 \ |
2783 develop(intx, AlignEntryCode, 4, \ | 2786 develop(intx, AlignEntryCode, 4, \ |
2784 "aligns entry code to specified value (in bytes)") \ | 2787 "aligns entry code to specified value (in bytes)") \ |
2785 \ | 2788 \ |