I used propertieEditor for a long time. and it's really pretty good.
when I updated to JUNO I found some times cpu 100%. not always but some time.
so I dump thread via visual vm.
and found that:
java.lang.Thread.State: RUNNABLE
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73)
at org.eclipse.jface.text.AbstractDocument.getStore(AbstractDocument.java:199)
at org.eclipse.jface.text.AbstractDocument.getLength(AbstractDocument.java:842)
at org.eclipse.jface.text.AbstractDocument.getChar(AbstractDocument.java:805)
at org.eclipse.core.internal.filebuffers.SynchronizableDocument.getChar(SynchronizableDocument.java:152)
- locked <0x1a949c90> (a java.lang.Object)
at jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.jdt.hover.PropertiesHover.getHoverInfo(PropertiesHover.java:66)
at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:169)
at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:85)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
paltform:Juno SR2
I used propertieEditor for a long time. and it's really pretty good. when I updated to JUNO I found some times cpu 100%. not always but some time.
so I dump thread via visual vm. and found that:
java.lang.Thread.State: RUNNABLE at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73) at org.eclipse.jface.text.AbstractDocument.getStore(AbstractDocument.java:199) at org.eclipse.jface.text.AbstractDocument.getLength(AbstractDocument.java:842) at org.eclipse.jface.text.AbstractDocument.getChar(AbstractDocument.java:805) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.getChar(SynchronizableDocument.java:152) - locked <0x1a949c90> (a java.lang.Object) at jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.jdt.hover.PropertiesHover.getHoverInfo(PropertiesHover.java:66) at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:169) at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129) at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:85) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
This cause some lock?