| Summary: | JDT creates ASTs for generic classes very slow | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Ivan Ivan <stoshins> | ||||||
| Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | stephan.herrmann | ||||||
| Version: | 4.7 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows NT | ||||||||
| Whiteboard: | stalebug | ||||||||
| Attachments: |
|
||||||||
Created attachment 269768 [details]
Use it to build ASTs
> JDT creates ASTs for parenthesized classes very slow
what's the relation to parentheses?
Also: have you seen that ASTParser has methods createASTs() (plural)? Specifically, with setResolveBindings(true) this could make a significant difference.
Oh sorry, it was late evening, I wanted to say generic classes. BTW I use createASTs() method, but not createAST() (In reply to Sergey Toshin from comment #3) > BTW I use createASTs() method, but not createAST() My time to say sorry :) Didn't correctly read your source code. While the JDT team is more than busy with Java 9 work, can you already say a but about where the time is spent? I never looked under the hood of your library. So no, I cannot :( Java 10 will release and only then I maybe find out This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Created attachment 269767 [details] Sources Hi, I was creating ASTs for ReactiveX Java Library sources and noticed that the building process takes years. It's only 700 files, usually it's built within 10 seconds (max), on my PC building of these files took around 15 minutes. Please check my PoC and verify that it's ok