RFR: 8289764: gc/lock tests failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects" [v2]
Ramkumar Sunderbabu
rsunderbabu at openjdk.org
Mon Aug 8 15:53:04 UTC 2022
On Mon, 8 Aug 2022 15:39:32 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> stresser runs for the duration of the test, I believe. Loop completes when test duration is complete.
>
> ough, yes, I mean that loop was completed only once, so we have only one iteration per test, while the goal is to run a lot of lock/GC/unlock iterations.
Loop won't run for just once. It will run for the duration of the test. If the test is configured to run, say, 2 mins, stresser.continueExecution() will be false after 2 mins.
-------------
PR: https://git.openjdk.org/jdk/pull/9658
More information about the hotspot-dev
mailing list