Integrated: 8279294: NonblockingQueue::try_pop may improperly indicate queue is empty
Kim Barrett
kbarrett at openjdk.java.net
Wed Jan 26 17:12:10 UTC 2022
On Wed, 19 Jan 2022 22:43:25 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this improvement to NonblockingQueue::try_pop. The old code
> returned an indication that the queue was empty in some cases where that
> wasn't true. In particular, contending try_pop operations could result in
> some incorrectly indicating empty. The change fixes that and improves the
> interaction between contending try_pops.
>
> Testing:
> mach5 tier1-3
>
> Lots of testing of this change in conjunction with others as part of
> investigating and fixing JDK-8273383.
This pull request has now been integrated.
Changeset: 4b2370e5
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4b2370e57698e7413fef053afe9d22bb0bc86041
Stats: 44 lines in 1 file changed: 23 ins; 3 del; 18 mod
8279294: NonblockingQueue::try_pop may improperly indicate queue is empty
Reviewed-by: iwalulya, tschatzl
-------------
PR: https://git.openjdk.java.net/jdk/pull/7149
More information about the hotspot-dev
mailing list