Summary: | Endless loop? in DefaultCommentMapper.storeLeadingComments | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Michael Valenta <Michael.Valenta> | ||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||
Status: | RESOLVED DUPLICATE | QA Contact: | |||||
Severity: | critical | ||||||
Priority: | P3 | CC: | daniel_megert, markus.kell.r | ||||
Version: | 3.0 | ||||||
Target Milestone: | 3.1 M3 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Michael Valenta
2004-10-05 10:46:36 EDT
Created attachment 15006 [details]
VM dump
Changing to critical. The build is unusable for me. *** Bug 75651 has been marked as a duplicate of this bug. *** I just run into this as well (editing ASTProvider.java), the CPU stays at 100% and the stack trace is always at the same place (while creating an AST). Endless loop? org/eclipse/jdt/core/dom/DefaultCommentMapper.storeLeadingComments(DefaultCommentMapper.java:321) This bug uncovered some other minor issues that need to be improved: - instead of n waiting SelectionListenerWithASTManager jobs of which n-1 will be cancelled immediately when invoked only create one waiting job (filed bug 75710) - if the SelectionListenerWithASTManager waits for an AST and the editor closes we should not create an AST for that one but return null (filed bug 75711) Is there some way to disable this background job? I am still trying to use yesterdays build but too many operations are adversly affected. For example, performing an Open Types (CTRL-SHIFT-T) shows a progress dialog for an extremely long time before opening the types dialog. Others don't seem to have the same issue so I'm wondering if they have some preference configuration that bypasses this problem. Nothing you can do: the AST gets created during reconcile and this is synchronized with the compilation unit. Every operation that synchronizes on that same CU has to wait. |