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 206635 - CppSymbolProvider is not cancellable [LowPerformance took 8360 ms.]
Summary: CppSymbolProvider is not cancellable [LowPerformance took 8360 ms.]
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-12-22 08:34 UTC by Vladimir Voskresensky
Modified: 2011-12-23 08:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 183943


Attachments
nps snapshot (55.27 KB, application/nps)
2011-12-22 08:34 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2011-12-22 08:34:31 UTC
This issue was reported manually by vv159170.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20111219-df7175193e70)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Linux

User Comments:
vv159170: removed last character in GoToSymbol field



Maximum slowness yet reported was 8360 ms, average is 8360
Comment 1 Vladimir Voskresensky 2011-12-22 08:34:36 UTC
Created attachment 114402 [details]
nps snapshot
Comment 2 Tomas Zezula 2011-12-22 08:58:44 UTC
All the time spent in the CppSymbolProvider.computeSymbolNames()
Comment 3 Vladimir Voskresensky 2011-12-22 13:34:53 UTC
This is due to sync methods which prevents cancel to be called while computeSymbolNames is in progress. I will change locking
Comment 4 Vladimir Voskresensky 2011-12-22 13:51:48 UTC
fixed
http://hg.netbeans.org/cnd-main/rev/3eca019327fb
Comment 5 Quality Engineering 2011-12-23 08:32:50 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/3eca019327fb
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #206635 - CppSymbolProvider is not cancellable [LowPerformance took 8360 ms.]