Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353739 - MemoryCache continues iterating through all the cache after finding the result
Summary: MemoryCache continues iterating through all the cache after finding the result
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-edc (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Ken Ryall CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 07:43 EDT by Daniel Thomas CLA
Modified: 2012-05-22 20:38 EDT (History)
2 users (show)

See Also:


Attachments
Patch to break when we have the answer. (1.62 KB, patch)
2011-08-03 07:44 EDT, Daniel Thomas CLA
cdtdoug: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Thomas CLA 2011-08-03 07:43:27 EDT
Build Identifier: 

MemoryCache#getMemoryBlockFromCache(IAddress,int) keeps on iterating through all of its cached blocks after it has found the result. This means it takes longer than necessary.

Reproducible: Always
Comment 1 Daniel Thomas CLA 2011-08-03 07:44:10 EDT
Created attachment 200801 [details]
Patch to break when we have the answer.
Comment 2 Kirk Beitz CLA 2011-08-06 06:48:05 EDT
the patch has been merged and nominally tested in our local source base.  waiting for final review and merge to eclipse edc git repository by committer Ken Ryall.