private void ReadLogFileChunk_Resize(BinaryReader reader) { Resize r; r = new Resize(); r.Read(reader, i_gc); if (i_resize > 0) { r.PreviousSize = resizes [i_resize - 1].NewSize; } Spew("Resize to {0}, {1} live bytes, {2} live objects", r.NewSize, r.TotalLiveBytes, r.TotalLiveObjects); resizes [i_resize] = r; ++i_resize; }
private void ReadSummary_Resizes(BinaryReader reader) { reader.BaseStream.Seek(resize_data_offset, SeekOrigin.Begin); for (int i = 0; i < resizes.Length; ++i) { Resize r; r = new Resize(); r.Read(reader, -1); if (i > 0) { r.PreviousSize = resizes [i - 1].NewSize; } resizes [i] = r; } }
private void ReadSummary_Resizes(BinaryReader reader) { reader.BaseStream.Seek (resize_data_offset, SeekOrigin.Begin); for (int i = 0; i < resizes.Length; ++i) { Resize r; r = new Resize (); r.Read (reader, -1); if (i > 0) r.PreviousSize = resizes [i-1].NewSize; resizes [i] = r; } }
private void ReadLogFileChunk_Resize(BinaryReader reader) { Resize r; r = new Resize (); r.Read (reader, i_gc); if (i_resize > 0) r.PreviousSize = resizes [i_resize-1].NewSize; Spew ("Resize to {0}, {1} live bytes, {2} live objects", r.NewSize, r.TotalLiveBytes, r.TotalLiveObjects); resizes [i_resize] = r; ++i_resize; }