On 11/16/2015 10:46 PM, Martin Buchholz wrote: > https://bugs.openjdk.java.net/browse/JDK-8029574 > http://cr.openjdk.java.net/~martin/webrevs/openjdk9/TreeMap-optimization/
+1, cute. Need to mention this only works for non-negative "sz"? It's hard to define what is the result for negative "sz", but I think it is a good style to comment the conditions in bit-twiddling methods. Thanks, -Aleksey