[profiler] Acquire the exclusive buffer lock after the suspend lock.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Wed, 17 Aug 2016 05:01:25 +0000 (07:01 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 30 Aug 2016 08:01:05 +0000 (10:01 +0200)
commit4f62b5af43856e1103b065493347e4ca4ecdabe7
tree2fe76958cfece4d4b48d21007850e1b635dbfa38
parent25edbd406fc83b4c62167eb303b0cf4916b3b5b8
[profiler] Acquire the exclusive buffer lock after the suspend lock.

This prevents possible STW deadlocks.
libgc/include/gc.h
mono/metadata/boehm-gc.c
mono/metadata/profiler.h
mono/metadata/sgen-stw.c
mono/profiler/decode.c
mono/profiler/proflog.c
mono/profiler/proflog.h