Chromium Code Reviews
DescriptionFix cache corruption in incremental resolver
- Add an element Modifier indicating that it's a cache key.
- Don't allow the hashCode to change while it's in the cache.
- Add code in the incremental resolver to remove the cache entry
first if the hashCode will change.
Also, there appears to be a memory leak in AnalysisCache where
CacheEntry.dispose() was not usually called, so I also fixed
that.
BUG=
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/6715573c6eb5e5a3c2b8257fef02e88a7d707d9f
Patch Set 1 #
Total comments: 12
Patch Set 2 : post-review cleanup #
Total comments: 3
Messages
Total messages: 13 (2 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||