fury
fury copied to clipboard
[Java] Optimize the copy performance of some thread-safe classes
Is your feature request related to a problem? Please describe.
Some thread-safe classes use a generic copyElements() method, for example: CopyOnWriteArrayList...
when adding elements, locking operations are performed, which is very time-consuming.
Describe the solution you'd like
Optimize the performance of these copy classes
Additional context
I will deal with it. If there is anything to add, please let me know. @chaokunyang