Project: JDT
Bug 135515 2 ASTs created while typing
Reported: 2006-04-07 06:35:25 | Status: verified fixed

N20060407 1. Check out org.eclipse.jdt.tests.compiler 2. Open GenericTypeTest 3. Position cursor just before the last closing curly braket 4. Start CPU profiling 5. In GenericTypeTest.java, type 'a', wait 1s, type another 'a', wait 1s, etc. (do this for 15s) 6. Stop profiling Observe: It appears that 2 threads are creating ASTs (the reconciler thread and a SelectionListenerWithASTManager thread)

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ASTProvider.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java