This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Editor chokes on large java source files | ||
---|---|---|---|
Product: | java | Reporter: | scott_pavetti <scott_pavetti> |
Component: | Navigation | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | Windows Vista | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
File that causes unresponsive IDE
messages.log Profiler screenshot |
Description
scott_pavetti
2009-03-11 20:46:54 UTC
Created attachment 78075 [details]
File that causes unresponsive IDE
Thanks for the file. I tried it in current dev build and it really makes the IDE froze, there is no deadlock though. I managed to open the file successfully, but I had to close the Navigator window. Even after that there still were some java tasks running on background (computing hints, maybe others), but the IDE was reasonably responsive. Could you please capture several threaddumps when the IDE is frozen and attach them here. Also please attach your <ide-userdir>/var/log/messages.log file. Created attachment 78163 [details]
messages.log
I have submitted the messages.log. Thank you for looking at this, I appreciate it! The performance was improved for the attached file. See attached screenshot. The parsing + attribution of the file 1.752s (SourceCache.getResult) Editor tasks (which are cancellable and do not block the IDE, when more priority requests come they are cancelled) 6.4s, most time taken by Hints: 4.9s We may set some limit and disable some editor features when file is bigger then some limit. But it will not be very helpful as the long taking tasks are cancellable and disabling non cancellable parsing will disable all navigation. Created attachment 152522 [details]
Profiler screenshot
|