Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

5:Symbol #5

What does it mean when the font colour of the instance is blue, red, bold or italic ?

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

6: Symbol Comb

7: Symbol Comb

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

like image 697
Roy Solberg Avatar asked Aug 05 '16 07:08

Roy Solberg


1 Answers

What do the follwing symbols in the reference three mean?

  1. The dominator icon
  2. A gc root icon (1 & 2 icons definitions can be found here)
  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: What do the Android Studio HPROF reference tree element colours represent?

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.

like image 54
Konstantin Loginov Avatar answered Sep 20 '22 17:09

Konstantin Loginov