commit | 2b584b92165f8dc711a2a4dfb00d49af8fe84a3a | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Thu Nov 10 12:58:13 2011 -0800 |
committer | Dave Borowitz <dborowitz@google.com> | Mon Nov 14 10:27:45 2011 -0800 |
tree | be237e1712e50e81a93f281545a084e2f704d5a3 | |
parent | f26b79d04453b64ab9eead7130b099c7c90fd9ab [diff] |
Keep track of a static collection of all PackWriter instances Stored in a weak concurrent hash map, which we clean up while iterating. Usually the weak reference behavior should not be necessary because PackWriters should be released with release(), but we still want to avoid leaks when dealing with broken client code. Change-Id: I337abb952ac6524f7f920fedf04065edf84d01d2