Skip to content

Commit 5551cb6

Browse files
committed
8293166: jdk/jfr/jvm/TestDumpOnCrash.java fails on Linux ppc64le and Linux aarch64
Reviewed-by: mbaesken, stuefe
1 parent 8a9eabb commit 5551cb6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/jdk/jdk/jfr/jvm/TestDumpOnCrash.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -123,6 +123,7 @@ private static long runProcess(Class<?> crasher, String signal, boolean disk, St
123123
List<String> options = new ArrayList<>();
124124
options.add("-Xmx64m");
125125
options.add("-XX:-CreateCoredumpOnCrash");
126+
options.add("-XX:-TieredCompilation"); // Avoid secondary crashes (see JDK-8293166)
126127
options.add("--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED");
127128
options.add("-XX:StartFlightRecording:dumponexit=true,disk=" + Boolean.toString(disk));
128129
if (dumppath != null) {

0 commit comments

Comments
 (0)