gecko-dev/memory/replace/dmd
Nicholas Nethercote 98688c1a41 Bug 1100851 - Tweak DMD to account for the fact that $DMD can now be undefined. r=glandium.
Now that defining $DMD is no longer necessary to run DMD, this patch does the
following.
- Removes all the places where we set DMD=1 (test harnesses, etc.)
- Still handles DMD=1, for backwards compatibility.
- Prints "$DMD is undefined" at DMD start-up if appropriate.
- Writes a |null| value for |dmdEnvVar| in the JSON if $DMD is undefined. Bumps
  the DMD output version number accordingly.
- Changes a bunch of the test files accordingly, including changing the mode of
  script-ignore-alloc-fns.json in order to test a case where $DMD is undefined.

--HG--
extra : rebase_source : eb1ef5722410734ce6d7658465ff6f442ee4ed49
2014-11-27 21:04:46 -08:00
..
test Bug 1100851 - Tweak DMD to account for the fact that $DMD can now be undefined. r=glandium. 2014-11-27 21:04:46 -08:00
DMD.cpp Bug 1100851 - Tweak DMD to account for the fact that $DMD can now be undefined. r=glandium. 2014-11-27 21:04:46 -08:00
DMD.h Bug 1100851 - Tweak DMD to account for the fact that $DMD can now be undefined. r=glandium. 2014-11-27 21:04:46 -08:00
dmd.py Bug 1100851 - Tweak DMD to account for the fact that $DMD can now be undefined. r=glandium. 2014-11-27 21:04:46 -08:00
moz.build Bug 1076446 (attempt 2) - Make the DMD test work on Windows. r=glandium. 2014-10-09 19:28:33 -07:00
README

This is DMD.  See https://wiki.mozilla.org/Performance/MemShrink/DMD for
details on how to use it.