RFR: JDK-8275608: runtime/Metaspace/elastic/TestMetaspaceAllocationMT2 too slow [v4]
Aleksey Shipilev
shade at openjdk.java.net
Fri Oct 29 10:00:04 UTC 2021
On Fri, 29 Oct 2021 09:55:53 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> Small tweaks to make these elastic metaspace stress tests faster.
>>
>> Before, runtime for individual tests was wobbling between 40+ seconds and some rare timeouts at 3+ minutes, depending on machine load and random luck. Now, we get a steadfast 35-37 seconds.
>>
>> I tested this manually, checking the numbers that we really test what we want to test (a lot of arena activity). Also GHAs and SAP nightlies.
>>
>> Thanks, Thomas
>
> Thomas Stuefe has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
>
> - feedback alexey
> - Merge
> - Update test/hotspot/jtreg/runtime/Metaspace/elastic/RandomAllocator.java
>
> Co-authored-by: Aleksey Shipilëv <shade at redhat.com>
> - Update test/hotspot/jtreg/runtime/Metaspace/elastic/RandomAllocator.java
>
> Co-authored-by: Aleksey Shipilëv <shade at redhat.com>
> - adapt copyrights
> - tweaks to improve runtime
test/hotspot/jtreg/runtime/Metaspace/elastic/TestMetaspaceAllocationMT2.java line 44:
> 42:
> 43: /*
> 44: * @test id=debugdefault
Why these changes?
-------------
PR: https://git.openjdk.java.net/jdk/pull/6041
More information about the hotspot-runtime-dev
mailing list