[profiler] Don't call mono_gc_base_init () before loading profilers.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Thu, 13 Jul 2017 22:36:19 +0000 (00:36 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Mon, 17 Jul 2017 17:22:47 +0000 (19:22 +0200)
commit982e1549fd3e0346715f122e93b026b453c82f7a
tree33459267a464bd3acdf7ff6f6fb0231d5d16ea6b
parentdb1476e1cbcca16642779ee2ea4146b6f32910c3
[profiler] Don't call mono_gc_base_init () before loading profilers.

Calling this function could cause us to miss some profiler events.

In the past, we needed to call this function so that SMR and mono-threads were
initialized. Since then, 8dec9848f6208531ae14ea08f123c01da0357c42 changed
profiler initialization to happen later during startup, so this is no longer
necessary.
mono/metadata/profiler.c