Roy Solberg Roy Solberg - 3 months ago 25
Android Question

Meaning of icons in HPROF Viewer in Android Studio

From time to time I use the Memory Monitor and HPROF Viewer in Android Studio to check for any memory leaks and memory usage in general.

I believe I know the meaning of most symbols and colours used in the Viewer, but I would like to be sure and not just have my own understanding of them. I haven't found any explanations on web, but I'm sure the answers to my questions are pretty straight forward.

What do the follwing symbols in the reference three mean?

1: Symbol #1

2: Symbol #2

3: Symbol #3

4: Symbol #4

What does it mean when the font colour of the instance is blue?

Sometimes the symbols 1, 2 and 3 can be combined in the same instance. Does that mean something special?

My feature request for the HPROF Viewer is a tooltip when hovering the different icons..

Answer

What do the follwing symbols in the reference three mean?

  1. The dominator icon
  2. A gc root icon
  3. F stands for Field (see JetBrains' icons reference)
  4. Object

What does it mean when the font colour of the instance is blue?

Here's you can find a font-colors schema: Android Studio HPROF Viewer

My feature request for the HPROF Viewer is a tooltip when hovering the different icons..

Passed to Android-folks. Not sure it'd help though.