Visualizing the Allocation and Death of Objects Raoul L. Veroy, - - PowerPoint PPT Presentation

visualizing the allocation and death of objects
SMART_READER_LITE
LIVE PREVIEW

Visualizing the Allocation and Death of Objects Raoul L. Veroy, - - PowerPoint PPT Presentation

Visualizing the Allocation and Death of Objects Raoul L. Veroy, Nathan P. Ricci, Samuel Z. Guyer Redline Research Group Tufts University 1 Death of Objects In a garbage collected language, where do objects die? Relate death to


slide-1
SLIDE 1

1

Visualizing the Allocation and Death of Objects

Raoul L. Veroy, Nathan P. Ricci, Samuel Z. Guyer Redline Research Group Tufts University

slide-2
SLIDE 2

2

Death of Objects

  • In a garbage collected language, where do objects

die?

  • Relate death to allocation
  • Understanding death behavior improves program

comprehension

  • Check our design assumptions
  • Find memory leaks
  • Solution: visualization
slide-3
SLIDE 3

3

What are we visualizing?

  • Use Elephant Tracks 1 to generate a detailed trace
  • f allocations/reclamations for Java programs
  • ET computes when object becomes unreachable

1 http://www.cs.tufts.edu/research/redline/elephantTracks/

slide-4
SLIDE 4

4

What are we visualizing?

  • Use Elephant Tracks to generate a detailed trace of

allocations/reclamations for Java programs

  • ET computes when object becomes unreachable
slide-5
SLIDE 5

5

What are we visualizing?

  • Use Elephant Tracks to generate a detailed trace
  • f allocations/reclamations for Java programs
  • ET computes when object becomes unreachable
  • Lots of objects! Rendering all is challenging.
slide-6
SLIDE 6

6

Hive plot

  • Hive plots - rational approach to visualizing

networks

– M. Krzywinski, I. Birol, S. J. Jones, and M. A. Marra.

Briefings in Bioinformatics 2012.

  • HiveR - http://academic.depauw.edu/~hanson/HiveR/HiveR.html
slide-7
SLIDE 7

7

slide-8
SLIDE 8

8

slide-9
SLIDE 9

9

slide-10
SLIDE 10

10

Hive plot future work

  • Hairball

– Need edge bundling

  • Address scalability
  • Arrangement along axis

– Using context, but which context? – Anything else?

slide-11
SLIDE 11

11

Matrix plot

  • Suggested by reviewer
  • Uses time as context
  • Column – allocation time
  • Row – death time
slide-12
SLIDE 12

12

slide-13
SLIDE 13

13

slide-14
SLIDE 14

14

slide-15
SLIDE 15

15

slide-16
SLIDE 16

16

slide-17
SLIDE 17

17

slide-18
SLIDE 18

18

Matrix plot future work

  • Lower triangular matrix by definition

– Eliminate wasted space?

  • Need better rendering techniques
  • Need clustering

– Automatic – Interactive

slide-19
SLIDE 19

Thank you. Questions, suggestions and comments? rveroy@cs.tufts.edu