-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 6
-
Component/s: core-libs
-
b86
-
generic
-
generic
The ThreadLocal implementation uses an inefficient lock approach to protecting hash code generation. This causes needless contention overhead. Replacing the lock usage with an atomic get-add provides a clear performance boost for cases where contention is significant.
- relates to
-
JDK-6254531 (thread) Provide reclaimable thread local values without Thread termination
-
- Open
-