[webkit-dev] If you like writing memory smashers, you'll love this

Geoffrey Garen ggaren at apple.com
Mon Dec 15 17:31:55 PST 2014


As of r177317, FastMalloc can be disabled at runtime. This means that you can use system memory analysis tools like GuardMalloc, MallocScribble, Instruments allocation tracking, leaks, and heap to debug memory issues in WebKit nightly builds, spade builds, and release builds.

FastMalloc automatically disables itself in the presence of environment variables that enable Malloc debugging APIs. For giggles, you can also manually disable FastMalloc by setting the “Malloc” environment variable to “1”.

Happy memory smashing.

Geoff


More information about the webkit-dev mailing list