RFR: 8334907: Test ExceptionDuringDumpAtObjectsInitPhase.java fail to initialize archive heap

SendaoYan syan at openjdk.org
Tue Jun 25 04:08:35 UTC 2024


Hi all,
Test runtime/cds/appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java fails after [JDK-8306580](https://bugs.openjdk.org/browse/JDK-8306580). The PR in [JDK-8306580](https://bugs.openjdk.org/browse/JDK-8306580) change behavior from `exits the VM` to `MetaspaceShared::writing_error() to report errors without exiting the VM`. So we need to change this testcase to adopt the behavior change.
Only change the testcase, the change has been verified locally, no risk.

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

Commit messages:
 - 8334907: Test ExceptionDuringDumpAtObjectsInitPhase.java fail to initialize archive heap

Changes: https://git.openjdk.org/jdk/pull/19875/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19875&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8334907
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/19875.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19875/head:pull/19875

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


More information about the hotspot-runtime-dev mailing list