Performance/MemShrink/DMD: Difference between revisions

Line 72: Line 72:
The number in the parentheses is the process ID.
The number in the parentheses is the process ID.


=== B2G ===
=== B2G (targeting devices) ===


[todo]
If you built B2G with <tt>export MOZ_DMD=1</tt>, your build will automagically run with DMD enabled.  (The <tt>b2g.sh</tt> script figures out whether to enable DMD by checking for the presence of </tt>libdmd.so</tt> in <tt>/system/b2g</tt>)
 
If DMD is enabled, you'll see a message in logcat when a process starts up:
 
  I/DMD    (  305): $DMD = '1'
  I/DMD    (  305): DMD is enabled
 
The <tt>run-gdb.sh</tt> script also knows to start DMD builds with DMD enabled, so you don't need to do anything special.


== Analyze ==
== Analyze ==
187

edits