RFR: 8166790: Add stress test GCBasher
leonid.mesnik at oracle.com
Fri Sep 30 10:18:48 UTC 2016
I think that it would be better to split this test into 4 tests.
Currently this test is going to be skipped if any specific GCare set. Or
it could even fail if any G1 specific options is set without setting G1
So there is no way to run this with additional G1/CMS/ParGC specific
On 28.09.2016 18:01, Erik Helin wrote:
> Hi all,
> this patch adds a new GC stress test called GCBasher. GCBasher builds up
> large (well, for some definiton of large) object graphs by figuring out
> the relations between classes in the JDK. The test usually stresses the
> GC quite a lot, especially when run with a smaller heap.
> The changes in the top-level repository are for JPRT. JPRT will now run
> the jtreg test GCBasher instead of the old version.
> - hotspot: http://cr.openjdk.java.net/~ehelin/8166790/hotspot/00/
> - top: http://cr.openjdk.java.net/~ehelin/8166790/top/00/
> - Running the new jtreg test locally on Linux x86-64:
> $ jtreg -jdk:build/fastdebug/jdk hotspot/test/gc/stress/TestGCBasher.java
> (can also be run via: $ make test TEST=hotspot_fast_gc_gcbasher)
> - JPRT
More information about the hotspot-dev