RFR 8017540: Improve multi-threaded contention behavior of BigInteger.toString() radix conversion cache
peter.levart at gmail.com
Tue Jun 25 19:38:04 UTC 2013
On 06/25/2013 09:12 PM, Aleksey Shipilev wrote:
> It might be a good idea to turn $powerCache final, not volatile, since
> the code will recover anyway. The trouble I'm seeing is weak enough
> hardware, which will never see the updated value of cacheLine, always
> falling back. Hence, I'm keen to keep "volatile".
The worst thing that could happen is that each thread would effectively
have it's private cache.
More information about the core-libs-dev