[sgen] Fix check-nursery-pinned debug option (mono/mono#15865)
authorVlad Brezae <brezaevlad@gmail.com>
Thu, 1 Aug 2019 18:48:23 +0000 (21:48 +0300)
committerGitHub <noreply@github.com>
Thu, 1 Aug 2019 18:48:23 +0000 (21:48 +0300)
commita6b7d6f88815930102ce9f9e5a76211348abb1f6
tree41d9dc2287f08e7df74fd1f20caed446a680bcd9
parent791534aa6d616edc8e83d48c8bce12e24d2a907f
[sgen] Fix check-nursery-pinned debug option (mono/mono#15865)

* [sgen] Remove dead unpin_queue argument

* [sgen] Fix check-nursery-pinned debug option

And rename it to better reflect what is is doing now (which is to check that we don't leave any vtables tagged at the end of a collection). It used to also check that nursery objects are pinned, back when we were doing a nursery collection as part of the finishing pause of a concurrent collection.

Commit migrated from https://github.com/mono/mono/commit/87ba12e13f98a24eb140e933876a25b45fd806b8
src/mono/mono/sgen/sgen-debug.c
src/mono/mono/sgen/sgen-gc.c
src/mono/mono/sgen/sgen-gc.h
src/mono/mono/sgen/sgen-nursery-allocator.c