Ensure special static slots respect alignment. (#20506)
commit93a7fe77e8e586ccc742b421113dbd0ac6e89bc7
authormonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 22 Oct 2020 19:19:40 +0000 (22 15:19 -0400)
committerGitHub <noreply@github.com>
Thu, 22 Oct 2020 19:19:40 +0000 (22 15:19 -0400)
tree68f550c84074bcf4ffbe3334e4b45faeffbe065a
parent3db5b3584135cf636b95d4b3aa56be522dee2257
Ensure special static slots respect alignment. (#20506)

Without proper alignment, this may lead to reference types
being stored at non-pointer aligned offsets. Among other
issues this may lead to the GC not scanning those pointers
properly.

Co-authored-by: Jonathan Chambers <joncham@gmail.com>
mono/metadata/threads.c