Integrated: 8263551: Provide shared lock-free FIFO queue implementation
Man Cao
manc at openjdk.java.net
Wed Mar 31 18:32:28 UTC 2021
On Sat, 13 Mar 2021 10:41:44 GMT, Man Cao <manc at openjdk.org> wrote:
> Hi all,
>
> Could anyone review this change that is mainly code motion? It creates a generalized lock-free queue implementation based on G1DirtyCardQueueSet::Queue, which will be used by JDK-8236485 in the future.
>
> The shared LockFreeQueue is similar to the existing LockFreeStack. The notable difference is that the LockFreeQueue has an additional template parameter for whether to use GlobalCounter::CriticalSection to avoid ABA problem.
>
> -Man
This pull request has now been integrated.
Changeset: e2ec997b
Author: Man Cao <manc at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/e2ec997b
Stats: 783 lines in 5 files changed: 631 ins; 146 del; 6 mod
8263551: Provide shared lock-free FIFO queue implementation
Create a generalized lock-free queue implementation based on G1DirtyCardQueueSet::Queue.
Reviewed-by: kbarrett, iwalulya
-------------
PR: https://git.openjdk.java.net/jdk/pull/2986
More information about the hotspot-gc-dev
mailing list