Summary: | AllTypeCache thread dies on runtime exceptions | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dirk Baeumer <dirk_baeumer> | ||||
Component: | UI | Assignee: | Andre Weinand <andre_weinand> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | major | ||||||
Priority: | P3 | CC: | douglas.pollock, eclipse, Michael.Valenta, Olivier_Thomann, philippe_mulet | ||||
Version: | 3.0 | ||||||
Target Milestone: | 3.1 M2 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Dirk Baeumer
2004-09-03 12:17:02 EDT
Created attachment 14401 [details]
The VM dump
Wrong component.... Philippe, you might be interested in the exception. The cause is similar. The reason for this PR is that we want to protect the thread against these failures. *** Bug 74082 has been marked as a duplicate of this bug. *** I've seen a similar exception. java.lang.IllegalMonitorStateException at java.lang.Object.notifyAll(Native Method) at org.eclipse.jdt.internal.core.search.indexing.ReadWriteMonitor.exitRead(Unknown Source) at org.eclipse.jdt.internal.core.search.PatternSearchJob.search(Unknown Source) at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(Unknown Source) at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(Unknown Source) at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(Unknown Source) at org.eclipse.jdt.internal.corext.util.AllTypesCache.search(Unknown Source) at org.eclipse.jdt.internal.corext.util.AllTypesCache$TypeCacher.doSearchTypes(Unknown Source) at org.eclipse.jdt.internal.corext.util.AllTypesCache$TypeCacher.run(Unknown Source) Is this fix still going to make its way into M2? I think it is somewhat important, as I get this once or twice a day. Sometimes, it seems to require restarting to restore sanity. Oh, and I'm running on a hyper-threading Linux-GTK+ box. This bug makes using M2 pretty brutal. +1 Are you using a J9 VM? This looks like a duplicate of bug 73226. J9 with JXEs. Plain old vanilla Sun here. I cannot fix this, I can only try to protect the thread against the failure. The failure seems to be new. It occurs in search/indexing. It did not occur in M1 or 3.0 and we did not change anything in the AllTypesCache since then. For 3.1 M2: Added code so that AllTypeCacher thread no longer dies. |