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

Matthias Baesken mbaesken at openjdk.org
Wed Nov 2 08:55:26 UTC 2022


On Wed, 2 Nov 2022 08:35:42 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:

> 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).

Looks good to me, please adjust as well the Copyright header of the changed file.

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

Marked as reviewed by mbaesken (Reviewer).

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


More information about the hotspot-jfr-dev mailing list