I'm not sure I understand why you say an IdentityHashMap is "weak" by definition, can you explain?
http://gwt-code-reviews.appspot.com/1388803/diff/3004/dev/core/src/com/google/gwt/dev/resource/impl/ZipFileClassPathEntry.java File dev/core/src/com/google/gwt/dev/resource/impl/ZipFileClassPathEntry.java (right): http://gwt-code-reviews.appspot.com/1388803/diff/3004/dev/core/src/com/google/gwt/dev/resource/impl/ZipFileClassPathEntry.java#newcode97 dev/core/src/com/google/gwt/dev/resource/impl/ZipFileClassPathEntry.java:97: private final Map<PathPrefixSet, ZipFileSnapshot> cachedSnapshots = new ReferenceIdentityMap( I'm not sure I understand why this map is set up to use weak references to keys and hard refs to values (can't they both be weak?). Can you explain? Perhaps add a comment here (and above explaining use of hard references to keys and soft references to values in the entryCache). http://gwt-code-reviews.appspot.com/1388803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
