Hey, @softwarebrahma. Thanks for the feedback. AtomicInteger#getAndIncrement() and AtomicInteger#incrementAndGet() are indeed the standard way of using atomic variables. We'll take this to the team ...
I use 2 AtomicInteger arrays for 2 million indexes each. This causes about 200 milliseconds to prepare and extract these arrays. Is it possible to avoid preparation and extraction at each execution of ...