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.

Bug 186889 - Low performance of editing file
Summary: Low performance of editing file
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Alexander Simon
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-05-28 11:21 UTC by Alexander Simon
Modified: 2010-06-01 12:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2010-05-28 11:21:00 UTC
Step to reproduce:
- Open large project (for example ACE TAO)
- Open Object.cpp from tao folder
- wait parsing finished and showing override annotations
- start editing file
- see 100% of CPUs utilization.

Thread dump show several threads with fake registration.
Comment 1 Alexander Simon 2010-05-28 11:42:44 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/2b1f01ef4065
Comment 2 Alexander Simon 2010-05-28 12:02:09 UTC
VV: please review fix. Is it show stopper?
Comment 3 Alexander Pepin 2010-05-28 12:39:30 UTC
I propose to target the fix to 6.9.1 but in case we have more 6.9 rc candidates we'll be able to push it to 6.9 then.
Comment 4 Vladimir Voskresensky 2010-05-28 14:17:48 UTC
fix is safe and correct. I'd recommend to include into 6.9
Comment 5 Quality Engineering 2010-05-30 07:11:00 UTC
Integrated into 'main-golden', will be available in build *201005300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2b1f01ef4065
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed #186889 Low performance of editing file
Comment 6 Alexander Simon 2010-05-31 08:04:35 UTC
additional fix for resolver:
http://hg.netbeans.org/cnd-main/rev/0be187cd4433
Comment 7 Alexander Simon 2010-05-31 16:40:05 UTC
(In reply to comment #6)
> additional fix for resolver:
> http://hg.netbeans.org/cnd-main/rev/0be187cd4433
Additional fix does not belong to the issue.
Ignore it.
Comment 8 Alexander Pepin 2010-05-31 17:37:45 UTC
The fix is verified in rc2 build with provided jar file. Please push the fix into release69 clone.
Comment 9 Alexander Simon 2010-05-31 17:52:41 UTC
fixed in release69 branch:
http://hg.netbeans.org/release69/rev/8573c32a0026
Comment 10 Alexander Pepin 2010-06-01 12:22:17 UTC
verified in rc2 build (20100531)
Comment 11 Quality Engineering 2010-06-01 12:28:16 UTC
Integrated into 'main-golden', will be available in build *201006011333* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0be187cd4433
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed #186889 Low performance of editing file
- improve performance of resolver