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 221658 - read lock in the method CsmCompletionQuery.query() [LowPerformance took 5086 ms.]
Summary: read lock in the method CsmCompletionQuery.query() [LowPerformance took 5086 ...
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
Depends on: 223984
  Show dependency tree
Reported: 2012-11-07 15:17 UTC by Exceptions Reporter
Modified: 2012-12-19 02:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194704

nps snapshot (143.20 KB, application/nps)
2012-11-07 15:17 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-11-07 15:17:53 UTC
This issue was reported manually by mkristofic.
It already has 1 duplicates 

Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows 7
Maximum slowness yet reported was 5086 ms, average is 5086
Comment 1 Exceptions Reporter 2012-11-07 15:17:58 UTC
Created attachment 127324 [details]
nps snapshot
Comment 2 Milutin Kristofic 2012-11-07 15:19:22 UTC
Moving to cnd team for evaluation
Comment 3 Alexander Simon 2012-12-17 08:52:11 UTC
Too long document read lock in the method CsmCompletionQuery.query() (5 seconds) prevents to get write lock in EDT
Comment 4 Alexander Simon 2012-12-17 10:22:13 UTC
It looks as P2.
Comment 5 Vladimir Voskresensky 2012-12-18 17:48:50 UTC
Comment 6 Quality Engineering 2012-12-19 02:47:02 UTC
Integrated into 'main-golden', will be available in build *201212190001* on (upload may still be in progress)
User: Vladimir Voskresensky <>
Log: fixed #221658 - read lock in the method CsmCompletionQuery.query() [LowPerformance took 5086 ms.]
- introduced blocking-with-update/non-blocking access to macro expansition
- initialize before working with token sequence under document's read lock
- in token processor use non-blocking access to existing macro table