public void ReadSnapshot() { if (items == null) { model.heapEventProcessor.RecordAllocations = true; model.Reader.ReadBlock(heapBlock).Decode(model.heapEventProcessor, model.Reader); snapshot = model.heapEventProcessor.LastHeapSnapshot; items = new HeapObjectSetFromSnapshot(snapshot); model.Model.SetValue(TreeIter, 0, this); } }
public SnapshotNode(HeapExplorerTreeModel model, SeekableLogFileReader.Block heapBlock, AllocationsNode previousAllocationsNode) : base(model, null, previousAllocationsNode) { this.heapBlock = heapBlock; this.items = null; this.snapshot = null; }