Skip to content

Commit 0534fb7

Browse files
committed
do not translate stack trace for cause in systemic compilation failure warning
1 parent ab89a68 commit 0534fb7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/src/jdk.graal.compiler/src/jdk/graal/compiler/core/CompilationWrapper.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,10 +499,9 @@ private static boolean detectCompilationFailureRateTooHigh(OptionValues options,
499499
failed, total, rate, TimeUnit.NANOSECONDS.toMillis(periodNS), option, maxRateValue);
500500
msg.format("To mitigate systemic compilation failure detection, set %s to a higher value. ", option);
501501
msg.format("To disable systemic compilation failure detection, set %s to 0. ", option);
502-
msg.format("To get more information on compilation failures, set %s to Print or Diagnose. ", GraalCompilerOptions.CompilationFailureAction.getName());
503502
StringWriter sw = new StringWriter();
504503
cause.printStackTrace(new PrintWriter(sw));
505-
msg.format("Current failure: %s", sw.toString().replace("\n", "\\n").replace("\t", "\\t"));
504+
msg.format("Current failure: %s", sw);
506505
TTY.println(msg.toString());
507506

508507
if (maxRateValue < 0) {

0 commit comments

Comments
 (0)