diff options
author | kvn <none@none> | 2010-01-07 16:24:17 -0800 |
---|---|---|
committer | kvn <none@none> | 2010-01-07 16:24:17 -0800 |
commit | 347468782652f7a38bebde01786e637442771e52 (patch) | |
tree | a83c721d3a5692418f6d5998577fa0705386ea80 /src/share/vm/runtime/globals.cpp | |
parent | 3235e4938610176b60dc6a552dd3df5bb97de582 (diff) |
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
Diffstat (limited to 'src/share/vm/runtime/globals.cpp')
-rw-r--r-- | src/share/vm/runtime/globals.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/vm/runtime/globals.cpp b/src/share/vm/runtime/globals.cpp index 03e068dea..32a43d6e2 100644 --- a/src/share/vm/runtime/globals.cpp +++ b/src/share/vm/runtime/globals.cpp @@ -468,6 +468,8 @@ void CommandLineFlags::verify() { assert(Arguments::check_vm_args_consistency(), "Some flag settings conflict"); } +#endif // PRODUCT + void CommandLineFlags::printFlags() { // Print the flags sorted by name // note: this method is called before the thread structure is in place @@ -493,5 +495,3 @@ void CommandLineFlags::printFlags() { } FREE_C_HEAP_ARRAY(Flag*, array); } - -#endif |