On 10/3/2013 6:40 AM, Aleksey Shipilev wrote:
Hi,

Please take a look at the potential fix for:
   https://bugs.openjdk.java.net/browse/JDK-8025700

The webrev is here:
   http://cr.openjdk.java.net/~shade/8025700/webrev.01/

Rationale: when doing the Java tools which need to replicate the VM
launch, e.g. fork the JVM with the same set of command line options, we
need the exact command line. Otherwise we miss the significant part of
configuration, which confuses people. So far we miss "-server",
"-client", "-d32", and "-d64" options from there. I have seen troubles
with jmh and jcstress stemming from this very issue.

What other command-line options are missing besides -server/-client/-d32/-d64?

RuntimeMXBean.getVmName() tells you whether server or client, 32-bit or 64-bit JVM is running. Would that satisfy your need?

Mandy

Reply via email to