RFR: 8329351: add runtime/Monitor/TestRecursiveLocking.java for recursive Java monitor stress testing
Daniel D. Daugherty
dcubed at openjdk.org
Sat Apr 6 12:41:07 UTC 2024
On Sat, 6 Apr 2024 08:48:10 GMT, Alan Bateman <alanb 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.
>
> Have you thought about expanding this test to virtual threads?
@AlanBateman - No I haven't. I'm just "productizing" tests that I use in my stress kit.
For this particular test, I adapted an existing lock stack test from @xmas92 and made
it into a stress test for recursive locking.
I haven't given any thought to adding virtual threads stress to my stress kit, but that
does sound like an "interesting" addition.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18664#issuecomment-2041071431
More information about the hotspot-runtime-dev
mailing list