Bug 273295 - ReferenceAnalyzer needs to handle different search scopes
Summary: ReferenceAnalyzer needs to handle different search scopes
Status: RESOLVED INVALID
Alias: None
Product: PDE
Classification: Eclipse Project
Component: API Tools (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6   Edit
Assignee: Michael Rennie CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks: 233643
  Show dependency tree
 
Reported: 2009-04-22 12:03 EDT by Michael Rennie CLA
Modified: 2010-03-25 10:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2009-04-22 12:03:25 EDT
FUP to bug 271684

Our ReferenceAnalyzer needs some refactoring to be able to specify what types are passed to the different kinds of usage scanning. This is needed so that we do not scan too many types for the leak usage checks which do not care about dependent types. With separate analysis we could also leverage meta-data about API description changes to know if the normal usage scan should be a no-op.

A first step would be to have the analyzer accept a build context instead of a search scope, that way the analyzer could created scopes as it sees fit and pass them to the various scans.
Comment 1 Michael Rennie CLA 2009-05-06 11:37:25 EDT
moving to 3.6 as the partial solution so far is too large for an RC fix this late in the game
Comment 2 Michael Rennie CLA 2009-11-30 10:32:44 EST
Depending on the performance impact from bug 296482, this will be invalid.
Comment 3 Michael Rennie CLA 2010-03-25 10:19:22 EDT
this bug is no longer valid as we now compute CRCs to detect if we should perform use scans or not - and our BuildContext has been optimized with the fix for bug 233643