JDK-6914622 : Print values of all flags for product VM
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs17
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2010-01-06
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u21Fixed 7Fixed OpenJDK6,hs17Fixed
There are 2 debug flags which print all flags values only for debug VM:
 -Xprintflags prints default values and flags setting specified on command line before it, after printing VM exit.
 -XX:+PrintFlagsFinal prints final state of all flags which could be different from default due to ergonomic and platform specific settings, after printing VM continue execution.

It would be nice to print all flags values for product VM.

PUBLIC COMMENTS Change the flag -XX:+PrintFlagsFinal to product. Add new product flag -XX:+PrintFlagsInitial to print all VM flags before arguments processing, it is duplicate of debug flag -Xprintflags. Move all related print flags together.

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/f62a22282a47