Request for Review : 7175464 : entrySetView field is never updated in NavigableSubMap (original) (raw)
Mike Duigou mike.duigou at oracle.com
Wed Nov 14 17:49:42 UTC 2012
- Previous message: Review Request: 8001533: Java launcher must launch JavaFX applications
- Next message: Request for Review : 7175464 : entrySetView field is never updated in NavigableSubMap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Review Request: 8001533: Java launcher must launch JavaFX applications
- Next message: Request for Review : 7175464 : entrySetView field is never updated in NavigableSubMap
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]