RFR: 8329351: add runtime/Monitor/TestRecursiveLocking.java for recursive Java monitor stress testing
Daniel D. Daugherty
dcubed at openjdk.org
Fri Apr 19 21:37:31 UTC 2024
On Thu, 18 Apr 2024 21:37:38 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
>> test/hotspot/jtreg/runtime/Monitor/StressWrapper_TestRecursiveLocking_36M.java line 119:
>>
>>> 117: * @test id=C1_alternate_AB
>>> 118: * @requires vm.flagless
>>> 119: * @requires vm.compiler1.enabled
>>
>> Is this the same as giving option -Xcomp and -XX:TieredStopAtLevel=1 ? to make sure it only runs c1? Same question below for c2.
>
> I got this mechanism from a C1 targeted compiler test, but I'll double check what I've done here.
This part is here: `* @requires vm.compiler1.enabled` but we're missing
this part in this file: `-XX:TieredStopAtLevel=1`.
I somehow missed that when I created this wrapper. The same bug likely
exists in the other wrapper also.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18664#discussion_r1572991454
More information about the hotspot-runtime-dev
mailing list