RFR: 8313901: [TESTBUG] test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java fails with java.lang.VirtualMachineError

Aleksey Shipilev shade at openjdk.org
Thu Aug 17 15:14:38 UTC 2023


On Thu, 17 Aug 2023 10:48:49 GMT, Kimura Yukihiro <duke at openjdk.org> wrote:

> I would like to fix this issue because it is difficult for testers to understand why the test failed.
> There is no risk as I just added an assertion message instead of exit code error.
> I would appreciate it if someone could review the fix.

Ah, I misread the intent of the fix, I think. I agree we should just check the output contains `Out of space in CodeCache for adapters`, and ignore the exit code.

Or better: accept exit code 0; otherwise check the output contains the failing message. This would not fail the test if it does not reach the code cache exhaustion for some reason.

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

PR Comment: https://git.openjdk.org/jdk/pull/15329#issuecomment-1682456288
PR Comment: https://git.openjdk.org/jdk/pull/15329#issuecomment-1682458629


More information about the hotspot-compiler-dev mailing list