Lines Matching full:heap
47 heap. Code objects are disassembled and the addresses linked from the
460 def FormatDisasmLine(start, heap, line):
462 stack_slot = heap.stack_map.get(line_address)
466 code = AnnotateAddresses(heap, line[1])
470 def AnnotateAddresses(heap, line):
474 object = heap.FindObject(maybe_address)
482 def __init__(self, heap, map, address):
483 self.heap = heap
498 heap.reader.ReadU32(self.address + offset)
499 return self.heap.FindObjectOrSmi(field_value)
502 field_value = self.heap.reader.ReadU32(self.address + offset)
510 def __init__(self, heap, map, address):
511 HeapObject.__init__(self, heap, map, address)
513 heap.reader.ReadU8(self.address + Map.INSTANCE_TYPE_OFFSET)
519 def __init__(self, heap, map, address):
520 HeapObject.__init__(self, heap, map, address)
536 def __init__(self, heap, map, address):
537 String.__init__(self, heap, map, address)
538 self.chars = heap.reader.ReadBytes(self.address + SeqString.CHARS_OFFSET,
551 def __init__(self, heap, map, address):
552 String.__init__(self, heap, map, address)
553 reader = heap.reader
578 def __init__(self, heap, map, address):
579 String.__init__(self, heap, map, address)
590 def __init__(self, heap, map, address):
591 HeapObject.__init__(self, heap, map, address)
605 def __init__(self, heap, map, address):
606 HeapObject.__init__(self, heap, map, address)
627 def __init__(self, heap, map, address):
628 HeapObject.__init__(self, heap, map, address)
630 heap.reader.ReadU32(self.address + JSFunction.CODE_ENTRY_OFFSET)
631 self.code = heap.FindObject(code_entry - Code.ENTRY_OFFSET + 1)
674 def __init__(self, heap, map, address):
675 HeapObject.__init__(self, heap, map, address)
690 def __init__(self, heap, map, address):
691 HeapObject.__init__(self, heap, map, address)
700 def __init__(self, heap, map, address):
701 HeapObject.__init__(self, heap, map, address)
704 heap.reader.ReadU32(self.address + Code.INSTRUCTION_SIZE_OFFSET)
707 lines = self.heap.reader.GetDisasmLines(self.entry, self.instruction_size)
716 return FormatDisasmLine(self.entry, self.heap, line)
813 heap = V8Heap(reader, stack_map)
819 print FormatDisasmLine(start, heap, line)
825 heap_object = heap.FindObject(maybe_address)