[Java] Optimize the copy performance of some thread-safe classes
Open
enhancement
- Dominant language
- Java
- Stars
- 4.5k
- Forks
- 443
- Avg merge
- 5h 59m
- Merged PRs (30d)
- 77
Description
## 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


Contributor guide
Assessment
This issue has not been assessed yet.