RFR: 8313901: [TESTBUG] test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java fails with java.lang.VirtualMachineError [v4]
Kimura Yukihiro
duke at openjdk.org
Mon Aug 21 14:26:53 UTC 2023
On Mon, 21 Aug 2023 09:35:43 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Kimura Yukihiro has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8313901: [TESTBUG] test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java fails with java.lang.VirtualMachineError
>
> test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java line 62:
>
>> 60: // Ignore adapter creation failures
>> 61: if (oa.getExitValue() != 0 && !oa.getStderr().contains("Out of space in CodeCache for adapters")) {
>> 62: throw new RuntimeException("VM finished with exit code " + oa.getExitValue());
>
> We also need `oa.reportDiagnosticSummary();` in this block. Otherwise we lose debugging information when throwing this exception.
Thank you for your advice.
I have modified the point you had mentioned.
Thanks,
Kimura Yukihiro
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15329#discussion_r1300179444
More information about the hotspot-compiler-dev
mailing list