Review request 7157734 testcase corrections (use TESTVMOPTS).

Kevin Walls kevin.walls at oracle.com
Fri Mar 30 07:30:44 PDT 2012


Hi,

Various hotpsot .sh testcase scripts do not use the env var TESTVMOPTS, 
which is passed by jtreg.  They therefore don't set -d64 when we want to 
test a 64-bit JVM and on Solaris at least this means we don't test what 
we think we're testing.  We actually run a 32-bit JVM, and likely not 
even the one we just built to test.

What some testcases do do, is to read $HOME/JDK64BIT if it exists, and 
use the file contents as command-line arguments, or even just as a flag 
to know that we should set -d64 when we run java.  It seems best to get 
rid of this practice.  I have asked around and found nobody who can say 
that technique is still in use.

http://cr.openjdk.java.net/~kevinw/7157734.1/webrev/

Thanks
Kevin


More information about the hotspot-runtime-dev mailing list