[讨论] jstack dump 线程状态很诡异。

xgj1988 2015-08-06
下面是线程dump的内容(有问题的部分。)
"Thread-0" prio=10 tid=0x0000000000da5d800 nid=0xe28 [color=red]wating on condition[/color] [0x000000001191e000]
	[color=red]java.lang.Thread.State. RUNNABLE[/color]
	at java.util.Arrays.copy0f(Unknown Source)
	at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
	at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
	at java.lang.AbstractStringBuilder.append(Unknown Source)  
	at java.lang.StringBuilder.append(Unknown Source)
	at java.lang.StringBuilder.append(Unknown Source)
	at java.lang.StringBuilder.append(Unknown Source)
	at java.util.Formatter$EheedString.print(Unknown Source)  
	at java.utiI.Formatter.format(Unknown Source)
	at java.utiI.Formatter.format(Unknown Source)  
	at java.lang.String.format(Unknown Source)


从红色的地方可以看到。为什么一个是wating on condition,而另一个是java.lang.Thread.State.RUNNABLE呢?
xgj1988 2015-08-09
别沉啊!!!!
xgj1988 2015-08-11
别沉啊!!!!
Global site tag (gtag.js) - Google Analytics