Closed GoogleCodeExporter closed 8 years ago
Further fix from tonio:
diff -r 76c20922f040 src/tools/pmHeapDump.py
--- a/src/tools/pmHeapDump.py Sun Jan 09 08:53:58 2011 -0600
+++ b/src/tools/pmHeapDump.py Tue Jan 18 09:55:50 2011 +0100
@@ -280,8 +280,8 @@
self.addr = self.fp.tell()
od = unpack_fp(heap.endianchr + "H", fp, False)[0]
- self.mark = (' ','M')[(od & 0x4000) == 0x4000]
- self.free = (' ','F')[(od & 0x8000) == 0x8000]
+ self.mark = (' ','M')[(od & 0x1) == 0x1]
+ self.free = (' ','F')[(od & 0x2) == 0x2]
Original comment by dwhall...@gmail.com
on 18 Jan 2011 at 12:31
This issue was updated by revision 4a737231a3.
Patches from tonio that fix the pmHeapDump.py tool:
- Writes the base properly in src/vm/heap.c
- Mask the Mark and Free bits properly in pmHeapDump.py
Original comment by dwhall...@gmail.com
on 18 Jan 2011 at 12:52
r4a737231a305
Tonio's two fixes work. I tested by dumping an ipm session that went long
enough to cause one GC.
Original comment by dwhall...@gmail.com
on 18 Jan 2011 at 12:53
Original comment by dwhall...@gmail.com
on 18 Jan 2011 at 12:56
Original issue reported on code.google.com by
dwhall...@gmail.com
on 18 Jan 2011 at 2:57