summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2012-02-29 15:54:47 +0100
committerIulian Dragos <jaguarul@gmail.com>2012-02-29 16:18:36 +0100
commit568546ef3f1073febc9bfc6baf63eceaf92213b6 (patch)
tree49e73e424cf4cb4bbd20366e9aefaa15c40b76f3 /test
parentfc2866efee1bcf17aee18d427ed41e172f440f62 (diff)
downloadscala-568546ef3f1073febc9bfc6baf63eceaf92213b6.tar.gz
scala-568546ef3f1073febc9bfc6baf63eceaf92213b6.tar.bz2
scala-568546ef3f1073febc9bfc6baf63eceaf92213b6.zip
Better fix for presentation compiler memory leaks, take 2. The previous fix (explicit call to
`perRunCaches.clearAll()` introduced subtle bugs since maps in `Namer` *are* needed between runs. I added a simple implementation of a `WeakHashMap`, and use it in SpecializedTypes. This fixes the memory leak without the explicit call to `clearAll` in the presentation compiler.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions