Virtual Compaction

17
UNIVERSITY OF NIVERSITY OF MASSACHUSETTS ASSACHUSETTS AMHERST MHERST Department of Computer Science Department of Computer Science 2008 2008 Virtual Compaction Emery Berger University of Massachusetts Amherst

description

Virtual Compaction. Emery Berger University of Massachusetts Amherst. TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A. Segregated Heap. Awesome. Awful. If Only…. If Only…. If Only…. But…. Back to Awful. But Wait…. Wild and Crazy VM. - PowerPoint PPT Presentation

Transcript of Virtual Compaction

Page 1: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Virtual CompactionEmery Berger

University of Massachusetts Amherst

Page 2: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Segregated Heap

Page 3: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Awesome

Page 4: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Awful

Page 5: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

If Only…

Page 6: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

If Only…

Page 7: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

If Only…

Page 8: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

But…

Page 9: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Back to Awful

Page 10: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

But Wait…

Page 11: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Wild and Crazy VM

Page 12: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Wild and Crazy VM

Page 13: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Wild and Crazy VM

Page 14: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Virtual Compaction

Page 15: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Bad

Page 16: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Good

Page 17: Virtual Compaction

UUNIVERSITY OF NIVERSITY OF MMASSACHUSETTS ASSACHUSETTS AAMHERST • MHERST • Department of Computer Science Department of Computer Science • 2008 • 2008

Conclusion

Virtual compaction part of “Plug” memory leak tolerance for C++ [Novark, Berger, Zorn] – in preparation

Not yet part of general-purpose allocator Good for GC?