jcstress 0.2
Aleksey Shipilev
shade at redhat.com
Mon Mar 6 20:43:15 UTC 2017
Hi,
jcstress 0.2 is available at Maven Central. It includes a few major improvements:
*) We used to bootclasspath the entire jcstress.jar to get access to WhiteBox
API. This is excessive, and sometimes gets in the way, for example when testing
libraries that do not like to be loaded by system classloaders. This is fixed by
the patch from Jerzy Krolak:
https://bugs.openjdk.java.net/browse/CODETOOLS-7901907
*) Rehashed VM modes we are running with. With JDK 8+, the distinction between
-client and -server is unnecessary. Removing -client configs allows to trim
total run time by 25%:
http://hg.openjdk.java.net/code-tools/jcstress/rev/27a6322b5857
*) Buffer incoming results for printing and writing out to disk. This avoids
bottleneck on very large machines, sometimes claiming 10x of run time:
http://hg.openjdk.java.net/code-tools/jcstress/rev/623f0f01fa13
*) Expect.ACCEPTABLE_SPEC is dropped in favor of Expect.ACCEPTABLE_INTERESTING.
It was never very useful, and only added confusion to users and complexity to
the handling code:
http://hg.openjdk.java.net/code-tools/jcstress/rev/6d05ba34c4e9
*) HTML test report touchups. The main page is now sorted. Individual test
result page now uncluttered, and mention test environment.
http://hg.openjdk.java.net/code-tools/jcstress/rev/020a3bf820bc
http://hg.openjdk.java.net/code-tools/jcstress/rev/475d2625493e
*) Binary log file is now compressed and has saner timestamp in its name:
http://hg.openjdk.java.net/code-tools/jcstress/rev/825888394706
*) Various performance micro-optimizations: avoiding interface calls to infra
classes, allocating counters by worker threads, trimming down
frequently-allocated instance sizes, optimizing memory accesses.
Enjoy!
Thanks,
-Aleksey
More information about the jcstress-dev
mailing list