IDEA-187063 During debugging IntelliJ IDEA gets extremely slow

This commit is contained in:
Egor Ushakov
2018-03-05 16:17:49 +03:00
parent 39b781128c
commit eaa39aa270
@@ -105,6 +105,13 @@ public class XDebuggerFramesList extends DebuggerFramesList {
return null;
}
});
// This is a workaround for the performance issue IDEA-187063
// default font generates too much garbage in deriveFont
Font font = getFont();
if (font != null) {
setFont(new Font(font.getName(), font.getStyle(), font.getSize()));
}
}
@Override