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 210340 - Improve 'scan canceled' information
Summary: Improve 'scan canceled' information
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks: 210526 210527
  Show dependency tree
 
Reported: 2012-03-29 08:49 UTC by Svata Dedic
Modified: 2012-04-06 14:26 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 Svata Dedic 2012-03-29 08:49:20 UTC
The 'scan canceled' logs do not contain enough information to pinpoint the root of excessive or long scanning. The report should contain:

* thread dump (at least 2) to hint a possible deadlock, or the time-consuming code
* proper "absorbed" chain of updater works
* classpath changes leading to the update work
* time spent in individual Indexers
* the root being indexed at the time scanning was canceled + time spent on that root

Tresholds on rate of events that trigger scanning should be added, and rate of scanning start/stop exceeds that treshold, the above information should be dumped to the log file.
Comment 2 Jiri Prox 2012-04-02 11:52:13 UTC
verified in trunk
Comment 3 Jiri Prox 2012-04-05 12:36:41 UTC
Please integrate the fixes into 7.1.2, thanks

http://wiki.netbeans.org/NetBeansPatchesProcess
Comment 4 Svata Dedic 2012-04-05 12:42:54 UTC
tranplanted into 7.1.2 in changesets (+ solving merge conflicts):
8f11c11baa35
a56ce786b257
9e827a0c1ed8
e00b2d29d966
a21f2aa09598
2f36e30192d5
485bc0ac6a4d
cdfa092001bd
cc5d7cd9bf34
7c718d4446ff
1f39f9d8bc56

e8a6a1158a9e
a666e073e8fc