RFR: 8321400: java/foreign/TestStubAllocFailure.java fails with code cache exhaustion

David Holmes dholmes at openjdk.org
Fri Dec 15 05:17:50 UTC 2023


On Wed, 13 Dec 2023 13:29:43 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

>> test/jdk/java/foreign/TestStubAllocFailure.java line 51:
>> 
>>> 49:         runInNewProcess(UpcallRunner.class, true, List.of("-XX:ReservedCodeCacheSize=3M"), List.of())
>>> 50:                 .shouldNotHaveExitValue(0)
>>> 51:                 .shouldNotHaveFatalError();
>> 
>> Just curious what non-zero exit value is actually expected here and below?
>
> Any non-zero exit value is acceptable. The intent here is to check that the process didn't complete normally.

A non-zero non-crashing value. Just wondering what that actually would be?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17056#discussion_r1427557140


More information about the core-libs-dev mailing list