This identity map guarantees object identity. Because it uses weak references, it does not in itself impose memory requirements on the server. The SoftCacheWeakIdentityMap is available only if your VM supports the Java 2 API.
See CanonicalizedMapping