Files
sdk/pkg/analyzer/lib
Konstantin Shcheglov dab5318fad Clear StringToken.canonicalizer after each parsing.
Otherwise the canonicalizer grows without limit, and if the user
edits files, we constantly parse new strings, so constantly add new
entries into the cananonicalizer. Basically, it is not friendly for
long running processes. I'm not quite sure why we need to makes it
static anyway, if it can be used only for the same file content. Once
we're done with a file, that is it, we don't need its entries.

Anyway, this fixes a leak in Analysis Server.

R=ahe@google.com, brianwilkerson@google.com, danrubel@google.com, paulberry@google.com
BUG=

Review-Url: https://codereview.chromium.org/3003753002 .
2017-08-23 10:57:27 -07:00
..
2017-08-22 07:42:56 -04:00
2017-06-24 13:41:39 +02:00
2016-09-15 07:49:27 -07:00