Very java long strings cause 100% CPU

Hi there,

Using 6.0.2 on Windows XP SP2

I noticed that after pasting a very long multiline string - e.g. 300 lines - in to IDEA (and IDEA splitting it up) CPU would go up to 100%. CPU would return to normal when IDEA not in focus. Sounds like inspection / code analysis

This isn't a massive issue - I wouldn't normally use such long strings, just doing some mock up classes.

Thread dump:

Thread-15" daemon prio=6 tid=0x168ee4d0 nid=0xc30 waiting on condition
at java.lang.Thread.sleep(Native Method)
at org.jivesoftware.smack.PacketWriter$KeepAliveTask.run(PacketWriter.java:456)
at java.lang.Thread.run(Thread.java:595)

Daemon code analyzer" prio=2 tid=0x165f9ab8 nid=0xd40 runnable
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:393)
at java.lang.StringBuilder.append(StringBuilder.java:120)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:312)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.visitBinaryExpression(ConstantExpressionEvaluator.java:402)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:411)
at com.intellij.psi.impl.ConstantExpressionEvaluator.a(ConstantExpressionEvaluator.java:294)
at com.intellij.psi.impl.ConstantExpressionEvaluator.computeConstantExpression(ConstantExpressionEvaluator.java:201)
at com.intellij.psi.impl.PsiConstantEvaluationHelperImpl.computeConstantExpression(PsiConstantEvaluationHelperImpl.java:4)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightUtil.checkConstantExpressionOverflow(HighlightUtil.java:518)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitExpression(HighlightVisitorImpl.java:59)
at com.intellij.psi.JavaElementVisitor.visitBinaryExpression(JavaElementVisitor.java:48)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitBinaryExpression(HighlightVisitorImpl.java:485)
at com.intellij.psi.impl.source.tree.java.PsiBinaryExpressionImpl.accept(PsiBinaryExpressionImpl.java:43)
at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:17)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:160)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.doCollectInformation(GeneralHighlightingPass.java:66)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:59)
at com.intellij.codeInsight.daemon.impl.UpdateThread$2.run(UpdateThread.java:1)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:308)
at com.intellij.codeInsight.daemon.impl.UpdateThread.a(UpdateThread.java:29)
at com.intellij.codeInsight.daemon.impl.UpdateThread.access$100(UpdateThread.java:23)
at com.intellij.codeInsight.daemon.impl.UpdateThread$1.run(UpdateThread.java:3)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:38)
at com.intellij.codeInsight.daemon.impl.UpdateThread.run(UpdateThread.java:35)

Smack Listener Processor" daemon prio=6 tid=0x16619550 nid=0xf70 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a org.jivesoftware.smack.PacketReader$2) at java.lang.Object.wait(Object.java:474) at org.jivesoftware.smack.PacketReader.processListeners(PacketReader.java:248) - locked <0x05dedce0>]]> (a org.jivesoftware.smack.PacketReader$2)
at org.jivesoftware.smack.PacketReader.access$100(PacketReader.java:45)
at org.jivesoftware.smack.PacketReader$2.run(PacketReader.java:76)

Smack Packet Reader" daemon prio=6 tid=0x16619358 nid=0xd28 runnable
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:723)
- locked (a java.lang.Object) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:680) at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) - locked <0x05f71b08> (a com.sun.net.ssl.internal.ssl.AppInputStream) at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411) at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183) - locked <0x05f83408> (a java.io.InputStreamReader) at java.io.InputStreamReader.read(InputStreamReader.java:167) at java.io.BufferedReader.fill(BufferedReader.java:136) at java.io.BufferedReader.read1(BufferedReader.java:187) at java.io.BufferedReader.read(BufferedReader.java:261) - locked <0x05f83408>]]> (a java.io.InputStreamReader)
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2971)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3025)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1144)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:363)
at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:45)
at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:67)

Smack Packet Writer" daemon prio=6 tid=0x1663fa60 nid=0xde8 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.util.LinkedList) at org.jivesoftware.smack.PacketWriter.nextPacket(PacketWriter.java:235) - locked <0x05dedea0>]]> (a java.util.LinkedList)
at org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:256)
at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:39)
at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:79)

EditorCaretThread" prio=6 tid=0x16847240 nid=0x83c waiting on condition
at java.lang.Thread.sleep(Native Method)
at com.intellij.openapi.editor.impl.EditorImpl$RepaintCursorThread.run(EditorImpl.java:23)

pool-3-thread-1" prio=6 tid=0x167ad680 nid=0x9fc waiting on condition
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1767)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:131)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:504)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:497)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:470)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
at java.lang.Thread.run(Thread.java:595)

UserActivityMonitor thread" prio=6 tid=0x1654dda8 nid=0x97c in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at jetbrains.communicator.idea.monitor.UserActivityMonitor.run(UserActivityMonitor.java:129) - locked <0x0447e3b0>]]> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:595)

Thread-8" prio=6 tid=0x15a5ae78 nid=0xcf0 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a org.apache.xmlrpc.WebServer$Runner) at java.lang.Object.wait(Object.java:474) at org.apache.xmlrpc.WebServer$Runner.run(WebServer.java:657) - locked <0x0469e100>]]> (a org.apache.xmlrpc.WebServer$Runner)
at java.lang.Thread.run(Thread.java:595)

/10.0.0.109 IDEtalk Multicast Thread" prio=6 tid=0x16584a18 nid=0xe7c runnable
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
- locked (a java.net.PlainDatagramSocketImpl) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) - locked <0x0466f1a8> (a java.net.PlainDatagramSocketImpl) at java.net.DatagramSocket.receive(DatagramSocket.java:712) - locked <0x05dee080> (a java.net.DatagramPacket) - locked <0x0466f1e8>]]> (a java.net.MulticastSocket)
at jetbrains.communicator.p2p.MulticastPingThread.run(MulticastPingThread.java:112)

User Monitor Thread" prio=6 tid=0x16597748 nid=0xaec in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at jetbrains.communicator.p2p.UserMonitorThread.waitForNextSearch(UserMonitorThread.java:212) - locked <0x0466f2a8>]]> (a java.lang.Object)
at jetbrains.communicator.p2p.UserMonitorThread.run(UserMonitorThread.java:131)

XML-RPC Weblistener" prio=6 tid=0x16555408 nid=0x700 runnable
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked ]]> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.apache.xmlrpc.WebServer.run(WebServer.java:453)
at java.lang.Thread.run(Thread.java:595)

Network Message Dispatcher" prio=6 tid=0x15a313f8 nid=0x4a8 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at java.lang.Object.wait(Object.java:474) at jetbrains.communicator.core.impl.dispatcher.AsyncMessageDispatcherImpl.run(AsyncMessageDispatcherImpl.java:76) - locked <0x0466f448>]]> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:595)

AlarmThread" prio=6 tid=0x1524c008 nid=0xe00 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at java.lang.Object.wait(Object.java:474) at com.intellij.util.Alarm$MyThread.run(Alarm.java:217) - locked <0x045443b0>]]> (a java.lang.Object)

Error Icon Blinker" prio=6 tid=0x158a9188 nid=0x350 waiting on condition
at java.lang.Thread.sleep(Native Method)
at com.intellij.diagnostic.IdeMessagePanel$Blinker.run(IdeMessagePanel.java:6)

Fatal Errors Grouper" prio=6 tid=0x15a84338 nid=0xf50 waiting on condition
at java.lang.Thread.sleep(Native Method)
at com.intellij.diagnostic.MessagePool$MessageGrouper.run(MessagePool.java:30)

TimerQueue" daemon prio=6 tid=0x158d2b70 nid=0x558 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a javax.swing.TimerQueue) at javax.swing.TimerQueue.run(TimerQueue.java:233) - locked <0x04359130>]]> (a javax.swing.TimerQueue)
at java.lang.Thread.run(Thread.java:595)

pool-1-thread-1" prio=6 tid=0x15836020 nid=0xfe8 waiting on condition
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1767)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:359)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:470)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
at java.lang.Thread.run(Thread.java:595)

StoreRefreshStatusThread" daemon prio=2 tid=0x1585a900 nid=0x88 waiting on condition
at java.lang.Thread.sleep(Native Method)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$StoreRefreshStatusThread.run(LocalFileSystemImpl.java:0)

WatchForChangesThread" prio=6 tid=0x15823910 nid=0xd0c runnable
at com.intellij.vfs.local.win32.FileWatcher.waitForChangeImpl(Native Method)
at com.intellij.vfs.local.win32.FileWatcher.waitForChange(FileWatcher.java:142)
at com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$WatchForChangesThread.run(LocalFileSystemImpl.java:10)

Progress Cancel Checker" prio=6 tid=0x15816020 nid=0x8d0 waiting on condition
at java.lang.Thread.sleep(Native Method)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:3)

XML-RPC Weblistener" prio=6 tid=0x151b2a98 nid=0xb80 runnable
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked ]]> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.apache.xmlrpc.WebServer.run(WebServer.java:453)
at java.lang.Thread.run(Thread.java:595)

AWT-EventQueue-1" prio=6 tid=0x150e8480 nid=0x474 in Object.wait()
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:474)
at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
- locked ]]> (a com.intellij.ide.IdeEventQueue)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:189)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

AWT-Shutdown" prio=6 tid=0x15834da8 nid=0xc20 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at java.lang.Object.wait(Object.java:474) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259) - locked <0x03c71600>]]> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:595)

AlarmThread" prio=6 tid=0x1588fe80 nid=0xff8 in Object.wait()
at java.lang.Object.wait(Native Method)
at com.intellij.util.Alarm$MyThread.run(Alarm.java:277)
- locked ]]> (a java.lang.Object)

AlarmThread" prio=6 tid=0x1588fcf8 nid=0x664 in Object.wait()
at java.lang.Object.wait(Native Method)
at com.intellij.util.Alarm$MyThread.run(Alarm.java:277)
- locked ]]> (a java.lang.Object)

Timer-0" daemon prio=6 tid=0x152dfce0 nid=0xb84 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.util.TaskQueue) at java.util.TimerThread.mainLoop(Timer.java:509) - locked <0x03c9de10>]]> (a java.util.TaskQueue)
at java.util.TimerThread.run(Timer.java:462)

SocketListenerThread" prio=6 tid=0x152c8788 nid=0xcec runnable
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
- locked (a java.net.PlainDatagramSocketImpl) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) - locked <0x03ca05f0> (a java.net.PlainDatagramSocketImpl) at java.net.DatagramSocket.receive(DatagramSocket.java:712) - locked <0x03ca0630> (a java.net.DatagramPacket) - locked <0x03ca0650>]]> (a java.net.MulticastSocket)
at com.intellij.a.h.a.e.a(e.java:5)
at com.intellij.a.h.a.h.run(h.java:10)

SocketListenerThread" prio=6 tid=0x152c8570 nid=0x23c runnable
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
- locked (a java.net.PlainDatagramSocketImpl) at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136) - locked <0x03ca2e38> (a java.net.PlainDatagramSocketImpl) at java.net.DatagramSocket.receive(DatagramSocket.java:712) - locked <0x03ca2e78> (a java.net.DatagramPacket) - locked <0x03ca2e98>]]> (a java.net.DatagramSocket)
at com.intellij.a.h.a.e.a(e.java:5)
at com.intellij.a.h.a.h.run(h.java:10)

MessageDeliveryThread" prio=6 tid=0x152bc288 nid=0xd10 in Object.wait()
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.Object) at java.lang.Object.wait(Object.java:474) at com.intellij.a.h.r.run(r.java:26) - locked <0x03ca2f38>]]> (a java.lang.Object)

AWT-Windows" daemon prio=6 tid=0x152a46e0 nid=0xb4c runnable
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:269)
at java.lang.Thread.run(Thread.java:595)

Java2D Disposer" daemon prio=10 tid=0x15246e18 nid=0xdec in Object.wait()
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked ]]> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at sun.java2d.Disposer.run(Disposer.java:107)
at java.lang.Thread.run(Thread.java:595)

Lock thread" prio=6 tid=0x15100d98 nid=0xccc runnable
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked ]]> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at com.intellij.idea.SocketLock$MyRunnable.run(SocketLock.java:4)
at java.lang.Thread.run(Thread.java:595)

DestroyJavaVM" prio=6 tid=0x00036ff8 nid=0x544 waiting on condition

Low Memory Detector" daemon prio=6 tid=0x00c85a38 nid=0xcbc runnable

CompilerThread0" daemon prio=10 tid=0x00c84560 nid=0x2e4 waiting on condition

Signal Dispatcher" daemon prio=10 tid=0x00c838e8 nid=0xe5c waiting on condition

Finalizer" daemon prio=8 tid=0x00c7a688 nid=0x4bc in Object.wait()
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked ]]> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

Reference Handler" daemon prio=10 tid=0x00c79220 nid=0xd78 in Object.wait()
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:474)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked ]]> (a java.lang.ref.Reference$Lock)

VM Thread" prio=10 tid=0x00c76770 nid=0xe6c runnable

VM Periodic Task Thread" prio=10 tid=0x00c83728 nid=0x9f8 waiting on condition

2 comments
Comment actions Permalink

Please vote for http://www.jetbrains.net/jira/browse/IDEADEV-11901 if you want this fixed. Note also that IntelliJ IDEA 5.1 did not have a problem with large strings.

Bas

0
Comment actions Permalink

Should be fixed in 6.0.3. Thank you for reporting.

0

Please sign in to leave a comment.