Upgraded to jtreg version 4.0 b02 - huge make check-langtools speedup!

Mark Wielaard mark at klomp.org
Sun Nov 9 13:59:38 PST 2008


Hi,

I upgraded the jtreg part of our (stripped) merged jtharness/jtreg
source code to version 4.0 b02. This has a couple of nice improvements
as described at: http://blogs.sun.com/jjg/entry/jtreg_update

2008-11-09  Mark Wielaard  <mark at klomp.org>

   * test/jtreg/README,
   test/jtreg/com/sun/javatest/diff/HTMLReporter.java,
   test/jtreg/com/sun/javatest/diff/Main.java,
   test/jtreg/com/sun/javatest/diff/MultiMap.java,
   test/jtreg/com/sun/javatest/diff/ReportReader.java,
   test/jtreg/com/sun/javatest/diff/WorkDirectoryReader.java,
   test/jtreg/com/sun/javatest/diff/i18n.properties,
   test/jtreg/com/sun/javatest/regtest/Main.java,
   test/jtreg/com/sun/javatest/regtest/MainAction.java,
   test/jtreg/com/sun/javatest/regtest/RegressionSecurityManager.java,
   test/jtreg/com/sun/javatest/regtest/RegressionTestFinder.java,
   test/jtreg/com/sun/javatest/regtest/i18n.properties,
   test/jtreg/com/sun/javatest/diff/Diff.java,
   test/jtreg/com/sun/javatest/diff/Fault.java,
   test/jtreg/com/sun/javatest/diff/HTMLWriter.java,
   test/jtreg/com/sun/javatest/diff/StandardDiff.java,
   test/jtreg/com/sun/javatest/diff/SuperDiff.java,
   Upgrade to jtreg-4_0-src-b02-15_oct_2008.

This is basically just the diff between b01 and b02 applied to our
sources ignoring any ant tasks that we don't support.

The biggest thing is the addition of -samevm (-svm, -s) to make all the
tests run by default in the same JVM. This is now enabled for make
check-langtools and it is really, really, really, a lot faster. The
tests should now run in less than 25% of the time without -s.
(aka 10 minutes instead of 45 minutes!)

2008-11-09  Mark Wielaard  <mark at klomp.org>

   * Makefile.am (check-langtools): Run jtreg with -samevm.

As Jonathan Gibbons wrote: 
http://blogs.sun.com/jjg/entry/speeding_up_tests_a_langtools

        Can we do the same for the main jdk repository? In principle
        yes, but it will take someone to do it. The good news is that
        jtreg now supports the samevm feature well, and the payoff is
        clear. It does not have to be done all at once: as we did in the
        langtools workspace, all it takes is someone interested to work
        on it section by section. The payoff is worthwhile. 

He is right. This would be really great to have. So if you are looking
for a fun hack job with a very high payoff. Please, go for it!

Cheers,

Mark




More information about the distro-pkg-dev mailing list