RFR: 8306583: Add JVM crash check in CDSTestUtils.executeAndLog [v2]

Calvin Cheung ccheung at openjdk.org
Fri May 5 17:46:15 UTC 2023


On Fri, 5 May 2023 15:38:32 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

>> The JVM may sometimes crash when using -Xshare:dump but some CDS tests can pass due to only expecting the error code and a certain output. This adds a check for a VM crash in `executeAndLog()` which is used consistently among CDS tests as well as a new test to verify that this feature works. Verified with tier1-5 tests.
>
> Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed copyright

Marked as reviewed by ccheung (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/13817#pullrequestreview-1415204799


More information about the hotspot-runtime-dev mailing list