do not use too many lines to avoid folding in EA plugin

GitOrigin-RevId: f65f138e155f6c596d2da4f44edc61f973bcfb99
This commit is contained in:
Egor Ushakov
2019-09-09 10:02:33 +00:00
committed by intellij-monorepo-bot
parent e03f7fc922
commit 79515c9d19
@@ -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";