RFR: 8293166: jdk/jfr/jvm/TestDumpOnCrash.java fails on Linux ppc64le and Linux aarch64

Ralf Schmelter rschmelter at openjdk.org
Wed Nov 2 08:43:59 UTC 2022


Disabling tiered compilation avoids the sporadic failures of the test.

On ppc64 and aarch64 a trap-based mechanism is used to switch from tier 1 to higher tiers. In the test a crash is provoked and a secondary error handler is installed at the start of error reporting, which doesn't handle these traps anymore and just stops the thread. But since the thread state is 'in Java', this prevents any safepoint to be executed. And this causes the JFR emergency dump to hang in a native to VM transition, so the dump is not written and the test fails (see the  bug report for more details).

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

Commit messages:
 - Avoid secondary crashes in JFR emergency dump test

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

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


More information about the hotspot-jfr-dev mailing list