RFR(s): 8156079: make empty instances singletons (original) (raw)
Claes Redestad claes.redestad at oracle.com
Fri Nov 4 15:34:45 UTC 2016
- Previous message: RFR(s): 8156079: make empty instances singletons
- Next message: RFR(s): 8156079: make empty instances singletons
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
+1
/Claes
On 2016-11-04 03:08, Stuart Marks wrote:
Hi all,
Please review this small set of changes to the immutable collections to make the zero-size instances singletons. (JDK-8156079) This also includes a couple other small optimizations (JDK-8169222) to change the expansion factor from floating point to integer, and also to avoid creating a single-use Random instance to compute the hash salt value at startup. Webrev: http://cr.openjdk.java.net/~smarks/reviews/8156079/webrev.0/ Thanks, s'marks
- Previous message: RFR(s): 8156079: make empty instances singletons
- Next message: RFR(s): 8156079: make empty instances singletons
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]