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.
Alexander's test shows regression between 7.1 code base and trunk. Needs investigation
Unable to reproduce, please remeasure
regression in comparison with 7.0.1: current trunk with 500mb and 4 threads: Unresolved 913 (0.16%) where MacroBased 831 (0.15%) of 561696 checkpoints [TemplateBased warnings 2 (0.00%), Builtin 0 (0.00%)] Line count: 545114, time 222629 ms, speed 2448.53 lines/sec, 2523.01 refs/sec Analyzing ccfe_701 took 222678ms NB 7.0.1 with 500mb and 4 threads: Unresolved 953 (0.17%) where MacroBased 831 (0.15%) of 561696 checkpoints [TemplateBased warnings 2 (0.00%), Builtin 0 (0.00%)] Line count: 545190, time 132401 ms, speed 4117.72 lines/sec, 4242.39 refs/sec Analyzing ccfe_701 took 132449ms
it looks like we're consuming much more memory and thus spend too much time in GC. From the snapshot it seems that fix for the bug 202681 caused that: probably notifyClosed is not being called during find usages and the cache in CppEditorSupportProvider holds CppEditorSupport that has a reference to DataObject somewhere inside and so never gets GCed. Backing out this fix brings memory usage and performance to normal.
performance loss with 1Gb memory caused by the C++11 support introduction in http://hg.netbeans.org/cnd-main/rev/214342 and is predictable. Small improvement in: http://hg.netbeans.org/cnd-main/rev/f805f9251023 keeping as a P3 until we find out what to do with the bug 202681
let's keep it as P2 to be on radar; memory leak is rather big and either bug #202681 has to be fixed or we need workaround again.
#202681 is now fixed, so this one can be marked as fixed too
Integrated into 'main-golden', will be available in build *201206090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f805f9251023 User: Egor Ushakov <gorrus@netbeans.org> Log: fixing #213072 - [regression] find usages is slower comparing with 7.0.1