mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
This avoids MozStackWalk(), which has become unusably slow on Mac due to changes in libunwind, and gets us back to decent speed. The code for getting the frame pointer and stack end was copied from the Gecko Profiler, which also uses FramePointerStackWalk() on Mac.
This is DMD. See https://wiki.mozilla.org/Performance/MemShrink/DMD for details on how to use it.