From 79515c9d19d6406911140349de53d333aa47d3bb Mon Sep 17 00:00:00 2001 From: Egor Ushakov Date: Mon, 9 Sep 2019 12:30:52 +0300 Subject: [PATCH] do not use too many lines to avoid folding in EA plugin GitOrigin-RevId: f65f138e155f6c596d2da4f44edc61f973bcfb99 --- .../src/com/intellij/diagnostic/IdeaFreezeReporter.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/diagnostic/IdeaFreezeReporter.java b/platform/platform-impl/src/com/intellij/diagnostic/IdeaFreezeReporter.java index bdbbeff3f7f2..596b4c1107b5 100644 --- a/platform/platform-impl/src/com/intellij/diagnostic/IdeaFreezeReporter.java +++ b/platform/platform-impl/src/com/intellij/diagnostic/IdeaFreezeReporter.java @@ -219,13 +219,12 @@ final class IdeaFreezeReporter implements IdePerformanceListener { long sampled = dumpTask.getSampledTime(); long gcTime = dumpTask.getGcTime(); String message = "Freeze " + edtNote + "for " + lengthInSeconds + " seconds\n" + - "Sampled time: " + sampled + "ms\n" + - "Sampling rate: " + dumpTask.myDumpInterval + "ms"; + "Sampled time: " + sampled + "ms, sampling rate: " + dumpTask.myDumpInterval + "ms"; if (sampled > 0) { - message += "\nGC time: " + gcTime + "ms (" + gcTime * 100 / sampled + "%)"; + message += " ,GC time: " + gcTime + "ms (" + gcTime * 100 / sampled + "%)"; } if (DebugAttachDetector.isDebugEnabled()) { - message += "\nDebug agent: on"; + message += " ,debug agent: on"; } if (nonEdt) { message += "\n\nThe stack is from the thread that was blocking EDT";