[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jdt-core-dev] "java indexing" thread causes high cpu load after build
|
Hello,
I am experiencing the reproducible problem that
the java indexing thread causes high cpu load for several minutes
after a build took place.
I am not sure if this should be better posted on a WTP-related list.
If so, please let me know.
Please have a look at the following thread dump which has been taken
after a build finished
(in this phase, I cannot see any active background tasks in the
progress monitor).
As you can see there's lot's of JSP-related code, which wonders me:
("Include JSP matches in Java searches" is disabled)
org.eclipse.jst.jsp.core.internal.parser.internal.JSPTokenizer.primGetNextToken() (line:
2120)
org.eclipse.jst.jsp.core.internal.parser.internal.JSPTokenizer.getNextToken()
(line: 1643)
org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getNextRegion()
(line: 189)
org.eclipse.jst.jsp.core.internal.parser.JSPSourceParser.parseNodes()
(line: 237)
org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getDocumentRegions()
(line: 173)
org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser._core_reparse_text(int,
int)
org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.core_reparse(int, int, org.eclipse.wst.sse.core.internal.text.CoreNodeList, boolean) (line:
710)
org.eclipse.jst.jsp.core.internal.parser.JSPReParser.reparse(org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion, org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion) (line:
143)
org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse()
(line: 1291)
org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.updateModel(java.lang.Object, int, int, java.lang.String) (line:
2709)
org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(java.lang.Object, int, int, java.lang.String, long, boolean) (line:
1923)
org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(java.lang.Object, int, int, java.lang.String, long, boolean) (line:
2419)
org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.setText(java.lang.Object, java.lang.String) (line:
2606)
org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.setText(java.lang.Object, java.lang.String) (line:
188)
org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.set(java.lang.String) (line:
2481)
org.eclipse.jst.jsp.core.internal.java.XMLJSPRegionHelper.parse(java.lang.String) (line:
159)
org.eclipse.jst.jsp.core.internal.java.JSPTranslator.handleIncludeFile(java.lang.String) (line:
2310)
org.eclipse.jst.jsp.core.internal.java.JSPTranslator.translateDirective(java.util.Iterator) (line:
2033)
org.eclipse.jst.jsp.core.internal.java.JSPTranslator.translateJSPNode(org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion, java.util.Iterator, java.lang.String, int) (line:
1766)
org.eclipse.jst.jsp.core.internal.java.JSPTranslator.translateRegionContainer(org.eclipse.wst.sse.core.internal.provisional.text.ITextRegionCollection, int) (line:
1349)
org.eclipse.jst.jsp.core.internal.java.JSPTranslator.translate() (line: 1127)
org.eclipse.jst.jsp.core.internal.java.JSPTranslationAdapter.getJSPTranslation() (line:
153)
org.eclipse.jst.jsp.core.internal.java.search.JSPSearchDocument.getJSPTranslation() (line:
120)
org.eclipse.jst.jsp.core.internal.java.search.JSPSearchDocument.getCharContents() (line:
77)
org.eclipse.jst.jsp.core.internal.java.search.JavaSearchDocumentDelegate.getCharContents()
org.eclipse.jdt.internal.core.search.indexing.SourceIndexer.indexDocument()
(line: 60)
org.eclipse.jdt.internal.core.search.JavaSearchParticipant.indexDocument(org.eclipse.jdt.core.search.SearchDocument, org.eclipse.core.runtime.IPath) (line:
72)
org.eclipse.jst.jsp.core.internal.java.search.JSPSearchParticipant.indexDocument(org.eclipse.jdt.core.search.SearchDocument, org.eclipse.core.runtime.IPath) (line:
72)
org.eclipse.jdt.internal.core.search.indexing.IndexManager.indexDocument(org.eclipse.jdt.core.search.SearchDocument, org.eclipse.jdt.core.search.SearchParticipant, org.eclipse.jdt.internal.core.index.Index, org.eclipse.core.runtime.IPath) (line:
453)
org.eclipse.jdt.internal.core.search.indexing.IndexManager$1.execute(org.eclipse.core.runtime.IProgressMonitor) (line:
853)
org.eclipse.jdt.internal.core.search.processing.JobManager.run() (line: 404)
java.lang.Thread.run() (line: 662)
I am using Eclipse 3.6.2.
My questions:
- What does this java indexing do in my case?
- Is this is bug? Or did I miss an important configuration option?
- Is there a workaround?
Thank you and best regards,
Patric