RFR: 8306583: Add JVM crash check in CDSTestUtils.executeAndLog
Matias Saavedra Silva
matsaave at openjdk.org
Fri May 5 03:16:18 UTC 2023
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.
-------------
Commit messages:
- 8306583: Add JVM crash check in CDSTestUtils.executeAndLog
Changes: https://git.openjdk.org/jdk/pull/13817/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13817&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8306583
Stats: 74 lines in 2 files changed: 74 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/13817.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13817/head:pull/13817
PR: https://git.openjdk.org/jdk/pull/13817
More information about the hotspot-runtime-dev
mailing list