On Thu, 2 Feb 2023 09:26:55 GMT, j3graham <d...@openjdk.org> wrote:

>> We can but that entails special handling to ensure thread-safety. I will 
>> provide such a solution. Thanks.
>
> If you need the thread-safety, perhaps sticking with `AtomicReferenceArray` 
> is a simpler solution than the regular array one.

As I used a regular array, I realized I could provide better performance with 
not much added complexity. See the use of `@Stable` for the components in the 
array.

-------------

PR: https://git.openjdk.org/jdk/pull/12346

Reply via email to