RFR: 8364004: Add an option for delayed crash tests

Thomas Stuefe stuefe at openjdk.org
Thu Jul 24 11:44:11 UTC 2025


Pretty simple small addition to make `-XX:ErrorHandlerTest` work with an optional delay. This is a preparatory patch for some future planned refinements/additions to the error handler tests. It makes it possible to let the JVM warm up for a second or three, then to crash, in order to then observe an error log from a warmed-up JVM.

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

Commit messages:
 - adapt test
 - start

Changes: https://git.openjdk.org/jdk/pull/26453/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26453&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8364004
  Stats: 40 lines in 5 files changed: 31 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/26453.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26453/head:pull/26453

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


More information about the hotspot-dev mailing list