The problem here is that ‘jinfo -flags’ only looks at the command line, but if 
a user has changed a flag after the VM started (for example by using ‘jinfo 
-flag’) that new value does not show up.

I am changing the output so that ‘jinfo -flags’ now prints something like this:

Non-default VM flags: -XX:InitialHeapSize=268435456 -XX:MaxHeapSize=4294967296 
-XX:+PrintGCDetails -XX:+UseCompressedClassPointers -XX:+UseCompressedOops 
-XX:+UseParallelGC
Command line: -XX:+PrintGCDetails


webrev: http://cr.openjdk.java.net/~sla/6606002/webrev.00/
bug: https://bugs.openjdk.java.net/browse/JDK-6606002

Thanks,
/Staffan

Reply via email to