Hi,

tangentially, is there any reason the Compact Strings work chose
to revert to checking value.length > 0 rather than not writing to hash
if the calculated hash code is 0?

http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/6837759aa403

/Claes

On 2016-09-28 14:47, Aleksey Shipilev wrote:
On 09/28/2016 02:44 PM, Peter Levart wrote:
http://cr.openjdk.java.net/~plevart/jdk9-dev/8166842_String.hashCode/webrev.01/
+1, thanks. This is partially my fault for not spotting it earlier
during the Compact Strings work.

-Aleksey


Reply via email to