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

Tobias Hartmann thartmann at openjdk.org
Thu Aug 17 11:17:31 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.

`compiler/startup/StartupOutput.java` does the same and should then probably be improved as well. I think we can simply assert that the output contains "Out of space in CodeCache for adapters" in this case.

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

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


More information about the hotspot-compiler-dev mailing list