From mike.duigou at oracle.com Mon Jan 24 13:01:03 2011 From: mike.duigou at oracle.com (Mike Duigou) Date: Mon, 24 Jan 2011 13:01:03 -0800 Subject: jtreg -vmoption(s) vs. -javaoption(s) Message-ID: <5C0A4538-FB5F-476E-8E45-95A7331FC613@oracle.com> I'm trying to understand what differences in usage there are for the -vmoption and -javaoption flags. From my reading of RegressionParameters.getTestVMJavaOptions() it would seem than in practice the two options are interchangeable. Is there some other distinction I am missing? The command line help includes a see also for each to the other but doesn't explain any difference. Mike From jonathan.gibbons at oracle.com Mon Jan 24 15:48:56 2011 From: jonathan.gibbons at oracle.com (Jonathan Gibbons) Date: Mon, 24 Jan 2011 15:48:56 -0800 Subject: jtreg -vmoption(s) vs. -javaoption(s) In-Reply-To: <5C0A4538-FB5F-476E-8E45-95A7331FC613@oracle.com> References: <5C0A4538-FB5F-476E-8E45-95A7331FC613@oracle.com> Message-ID: <4D3E0FE8.6010105@oracle.com> On 01/24/2011 01:01 PM, Mike Duigou wrote: > I'm trying to understand what differences in usage there are for the -vmoption and -javaoption flags. From my reading of RegressionParameters.getTestVMJavaOptions() it would seem than in practice the two options are interchangeable. Is there some other distinction I am missing? The command line help includes a see also for each to the other but doesn't explain any difference. > > Mike Mike, VM options you specify with -vmoption are used for all JVMs created by jtreg, for both javac and java commands. In contrast, VM options you specify with -javaoption are only used for JVMs for java commands. -- Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20110124/8fac7423/attachment.html