[sgen] Disable concurrent queue redirection
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 28 Sep 2016 21:40:06 +0000 (00:40 +0300)
committerVlad Brezae <brezaevlad@gmail.com>
Thu, 19 Jan 2017 22:45:11 +0000 (00:45 +0200)
commit9915f47f6212de9d208b818be8a012d05db79771
tree489efc3077e7db1370f8b223581349895aab28c5
parent6dd609be32144c149f4b51b4f5eea79a4c3e0b44
[sgen] Disable concurrent queue redirection

We used to support the case where workers are running and when the main gc thread populates the redirected gray queue, these queue sections are moved to the workers distribute gray queue from where they are distributed to all the workers. In order to simplify the process, the main gc thread should never do any relevant gc work concurrently with the workers. This means that we no longer need to handle the above case.
mono/sgen/sgen-gc.c
mono/sgen/sgen-gray.c
mono/sgen/sgen-gray.h
mono/sgen/sgen-workers.c
mono/sgen/sgen-workers.h