RFR: 8329351: add runtime/Monitor/TestRecursiveLocking.java for recursive Java monitor stress testing

Mikhailo Seledtsov mseledtsov at openjdk.org
Tue Apr 16 23:12:00 UTC 2024


On Thu, 11 Apr 2024 23:04:53 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> The first stress test to be added is:
>> 
>> runtime/Monitor/TestRecursiveLocking.java
>> 
>> It has been tested with a couple of 12 hour runs on my MBP13:
>>   - 3 build configs: release, fastdebug, slowdebug, 4 hours each, total 12 hours
>>   - 18 test configs, 800 seconds each, total 4 hours
>> 
>> The default configuration has been tested in Mach5 Tier2 and the
>> StressWrapper_TestRecursiveLocking_36M.java version has been
>> tested in Mach5 Tier3.
>
> test/hotspot/jtreg/runtime/Monitor/StressWrapper_TestRecursiveLocking_36M.java line 56:
> 
>> 54: 
>> 55: /*
>> 56:  * @test id=Xint_alternate_AB
> 
> I have a question to Misha (@ can't find name) to ask if these are in different files, will the tests run in parallel?  Or does the separate @ test's do that.

AFAIK the files should not matter in this case, the @test matters. Got same info from the quality team.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18664#discussion_r1568026619


More information about the hotspot-runtime-dev mailing list