Request for Review : 7175464 : entrySetView field is never updated in NavigableSubMap

Mike Duigou mike.duigou at oracle.com
Wed Nov 14 17:49:42 UTC 2012


Hello all;

A small but useful performance fix for sub-maps of TreeMap:

http://cr.openjdk.java.net/~mduigou/7175464/0/webrev/

The entrySetView was not being cached.

There is no unit test because either implementation is permissible under the specification. The fix only has the effect of improving performance and reducing duplicate objects.

Mike


More information about the core-libs-dev mailing list