mono / monodevelop

MonoDevelop is a cross platform .NET IDE
http://www.monodevelop.com
2.84k stars 1.02k forks source link

SetEnv MONO_DEBUG=disable_omit_fp #9446

Closed DavidKarlas closed 4 years ago

DavidKarlas commented 4 years ago

This option tells Mono Jitter to set FramePointer register for managed stack frames, this register is important for native profilers and other native tools when unwinding call stack otherwise they don't know how to continue unwinding past managed stack frame and bail... I asked mono performance/benchmark team to run their tests with and without this environment variable and results were same, hence conclusion is there is no performance difference. This will help with getting before sampling data when using "Profile for 5 seconds" and other similar tools.