Bug 378255: Information about JS_DumpDebug to replace GC_MARK_DEBUG info.
authorigor@mir2.org
Wed, 25 Apr 2007 12:39:15 -0700
changeset 800 1bb60fcee9cc3b909a5fad66c03d2debcb14666a
parent 799 4b30c74394523727fca322f50ccab74435d8d94b
child 801 19ec2ac384b77b599bd10661585f110319d533e3
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs378255
milestone1.9a4pre
Bug 378255: Information about JS_DumpDebug to replace GC_MARK_DEBUG info.
js/src/README.html
--- a/js/src/README.html
+++ b/js/src/README.html
@@ -179,20 +179,18 @@ Use '<tt>gmake -f Makefile.ref nsinstall
 <a NAME="Debugging"></a>Debugging notes</h2>
 
 <ul>
 <li>
 To turn on GC instrumentation, define <tt>JS_GCMETER</tt>.</li>
 
 <ul>
 <li>
-To turn on GC mark-phase debugging, useful to find leaked objects by their
-address, and to dump the GC heap, define <tt>GC_MARK_DEBUG</tt>.
-See the code in jsgc.c around the declaration and use of
-<tt>js_LiveThingToFind</tt>.</li>
+To dump JS heap use JS_DumpHeap API, available in DEBUG builds. For an example
+how to call it see DumpHeap implementation in js.c.</li>
 
 <li>
 To turn on the arena package's instrumentation, define <tt>JS_ARENAMETER</tt>.</li>
 
 <li>
 To turn on the hash table package's metering, define <tt>JS_HASHMETER</tt>.</li>
 </ul>