RFR: 8221836: Avoid recalculating String.hash when zero

Claes Redestad claes.redestad at oracle.com
Tue Apr 9 12:21:05 UTC 2019



On 2019-04-09 11:05, Andrew Dinn wrote:
> It would probably also be good if you extended the comment to document
> the status quo i.e. as Peter noted that the assigned values are computed
> deterministically from immutable state.

How about this:
http://cr.openjdk.java.net/~redestad/8221836/open.03/

Thanks!

/Claes



More information about the hotspot-gc-dev mailing list