ThreadLocal nextHashCode

Aleksey Shipilev shipilev at amazon.de
Tue Dec 5 20:08:46 UTC 2023


On 05.12.23 21:02, Brett Okken wrote:
> Should the private static AtomicInteger nextHashCode also be final?
> 
> https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/ThreadLocal.java#L100

Yes, I think so. Feel free to submit a PR!

-Aleksey



Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879




More information about the core-libs-dev mailing list