RFR: JDK-8003890: modify test scripts to pass VMOPTIONS

Chris Hegarty chris.hegarty at oracle.com
Mon Dec 10 11:13:46 UTC 2012


Thank you Mark, this is a really useful contribution.

I noticed that a few tests (below) specify either -client or -server. If 
the vmoptions contain either of these arguments, and this seems to be 
the way our test/Makefile is passing them, then it may result in the 
test using the wrong vm. I think we should remove TESTVMOPTS from these 
tests, but then we lose other potential opts, like heap size, etc.

   java/rmi/reliability/benchmark/runRmiBench.sh
   java/rmi/reliability/benchmark/runSerialBench.sh
   sun/management/jmxremote/startstop/JMXStartStopTest.sh

-Chris.

On 07/12/2012 16:57, Mark Sheppard wrote:
>
>
>
> test scripts have been updated to invoke the JVM with an env variable TESTVMOPTS
> which carries the vm options to be passed when the jvm is invoked in the test.
>
> webrev location:
>
>       http://cr.openjdk.java.net/~chegar/8003890/webrev.00/
>
> regards
> Mark



More information about the core-libs-dev mailing list