On Wed, 16 Nov 2022 08:51:01 GMT, Sergey Bylokhov <[email protected]> wrote:
> One of the issues is that the flags are updated in the "meta()" on one thread > and checked on another thread. I can make counter and boolean flag volatile but looking at the logic of the updates i do not think it is a problem since both counter and flag updates happens on the same thread and we do not access counter on another thread until the flag is changed. ------------- PR: https://git.openjdk.org/jdk/pull/11157
