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 253572 - Resolving assignments from index can be unlimited deep
Summary: Resolving assignments from index can be unlimited deep
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2015-07-20 08:39 UTC by Petr Pisl
Modified: 2015-07-21 01:19 UTC (History)
0 users

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 Petr Pisl 2015-07-20 08:39:32 UTC
Resolving assignments from JsIndex is done recursively. The problem is that usually the resolving could be 2 - 5 level deep. There is no any boundary and it seems that sometimes it could be the recursion called 300 and more level deeps. This is performance problem, every level is new call to the index and processing results.
Comment 1 Petr Pisl 2015-07-20 09:42:06 UTC
Fixed in web-main.
Comment 2 Quality Engineering 2015-07-21 01:19:24 UTC
Integrated into 'main-silver', will be available in build *201507210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b8c0c52c5136
User: Petr Pisl <ppisl@netbeans.org>
Log: #253572 - Resolving assignments from index can be unlimited deep