"instances of" must displayes "retained size&

Questions about YourKit Java Profiler
Post Reply
javi
Posts: 5
Joined: Tue Mar 15, 2005 6:26 pm

"instances of" must displayes "retained size&

Post by javi »

hi,

i think that "instances of" screen, must displayes "retained size" on each line, and elements must be ordered by "retained size" (although they are grouped in 500 elements)

thanks.
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Unfortunately, calculation of retained size is _very_ CPU consuming task. I'm affraid that whole view will be unusable if retained sizes are shown.

We are currently investigating how to speedup calculation; perhaps some estimated sizes can be shown. What you this about it?

Regards,
Vladimir Kondratyev
javi
Posts: 5
Joined: Tue Mar 15, 2005 6:26 pm

Post by javi »

did you think about an independent thread could do the calculus?
did you think about add an extra attribute to your model in which you can store the result of each calculus?
did you think about a botton that force the calculus of a sub-tree?

thanks

javi.
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

We are currently working on combination of these three approaches.

The only problem is that if table is sorted by retained size column and retained sizes are only estimated values (for example, it's known that retained size of object < XXXX bytes) then pressing button "define more precisely retaines sizes" can cause resorting of the table. The result is unpredictable and user can be confused.

--vladimir
Post Reply