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

Ralf Schmelter rschmelter at openjdk.org
Tue Nov 15 07:37:48 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).

This pull request has now been integrated.

Changeset: 5551cb66
Author:    Ralf Schmelter <rschmelter at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5551cb66ba58cadce7291a95c5af662ade2cb7b8
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

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

Reviewed-by: mbaesken, stuefe

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

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


More information about the hotspot-jfr-dev mailing list