diff options
author | Martin Odersky <odersky@gmail.com> | 2016-11-19 13:42:36 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-11-19 13:42:36 +0100 |
commit | ca8def4b01369ffbb367b9bb6531dfc1ae4e7936 (patch) | |
tree | 37d669377c9c0c00eaa4d3198961909f20a6ed0b /bridge/src/sbt-test | |
parent | ddec688b6e165c68cdd9a33dac968ee4a09b447a (diff) | |
download | dotty-ca8def4b01369ffbb367b9bb6531dfc1ae4e7936.tar.gz dotty-ca8def4b01369ffbb367b9bb6531dfc1ae4e7936.tar.bz2 dotty-ca8def4b01369ffbb367b9bb6531dfc1ae4e7936.zip |
Plug another space leak.
`initInfo` was retained in Symbols. When called from `Namer`, `initInfo` referred to
a completer, which referred to a context.
With this space leak plugged, we can now compile 1000 times core/Comments.scala (460lines)
with -Xmx400M.
There still seems to be a space leak on the order of 200KB per run, though. But that seems
to have to do with symbols, not contexts.
Diffstat (limited to 'bridge/src/sbt-test')
0 files changed, 0 insertions, 0 deletions