RFR: 8166790: Add stress test GCBasher

Leonid Mesnik leonid.mesnik at oracle.com
Tue Oct 4 09:47:20 UTC 2016


Very nice. Thank you for implementing this.

Leonid


On 04.10.2016 12:42, Erik Helin wrote:
> On 2016-09-30, Leonid Mesnik wrote:
>> Hi
>>
>> 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 explicitly.
>>
>> So there is no way to run this with additional G1/CMS/ParGC specific options
>> now.
> Ok, I've split the test into four "tests" (they just run GCBasher with
> different GCs). Please see new patches:
>
> - incremental: http://cr.openjdk.java.net/~ehelin/8166790/hotspot/00-01/
> - full: http://cr.openjdk.java.net/~ehelin/8166790/hotspot/01/
>
> Thanks,
> Erik
>
>> Leonid
>>
>>
>> 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.
>>>
>>> Enhancement:
>>> https://bugs.openjdk.java.net/browse/JDK-8166790
>>>
>>> Webrev:
>>> - hotspot: http://cr.openjdk.java.net/~ehelin/8166790/hotspot/00/
>>> - top: http://cr.openjdk.java.net/~ehelin/8166790/top/00/
>>>
>>> Testing:
>>> - 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
>>>
>>> Thanks,
>>> Erik



More information about the hotspot-dev mailing list