Integrated: 8306583: Add JVM crash check in CDSTestUtils.executeAndLog

Matias Saavedra Silva matsaave at openjdk.org
Fri May 5 18:09:31 UTC 2023


On Thu, 4 May 2023 21:19:08 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.

This pull request has now been integrated.

Changeset: 27764e60
Author:    Matias Saavedra Silva <matsaave at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/27764e60357b018b4f403d63cb54f95604b0cb8c
Stats:     75 lines in 2 files changed: 74 ins; 0 del; 1 mod

8306583: Add JVM crash check in CDSTestUtils.executeAndLog

Reviewed-by: iklam, ccheung

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

PR: https://git.openjdk.org/jdk/pull/13817


More information about the hotspot-runtime-dev mailing list