Hi !
From a memory dump taken at shutdown, in the By Class view of the Strong Reachable tab, I can see that I only have 3 retained instances of some class. So far, so good.
Yet, when I go to the By Generation view, still in the Strong Reachable tab, I can see far more instances per generation : indeed, instances were allocated there but they are no longer live !
So why are they still reported there ?
I'm using YourKit 2015 EAP build 15026.
Best regards,
Yannis
Collectable objects in Generation view of Strong Reachable ?
-
- Posts: 20
- Joined: Wed Oct 02, 2013 10:07 am
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Collectable objects in Generation view of Strong Reachab
Hi Yannis
Could you please provide screenshots demonstrating the problem.
Best regards,
Anton
Could you please provide screenshots demonstrating the problem.
Best regards,
Anton
-
- Posts: 20
- Joined: Wed Oct 02, 2013 10:07 am
Re: Collectable objects in Generation view of Strong Reachab
Sorry but no, I had to delete the hprof once I analyzed it due to disk space constraints (I have now installed a larger SSD ) and I haven't had time to reproduce the issue...Anton Katilin wrote:Hi Yannis
Could you please provide screenshots demonstrating the problem.
Best regards,
Anton
Sorry for this unexploitable report but do we agree that, from the Strong Reachable tab, the sum of element per class in the Per Generations view should be equal to the corresponding value in the Per Class view ?
I'll try to be more precise next time...
Best regards,
Yannis
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Collectable objects in Generation view of Strong Reachab
Hello Yannis
Best regards,
Anton
Yes, because they represent the same set of objects. Please note that this is true for object counts and shallow sizes, but not to retained sizes which do not sum up to 100% in a general case.do we agree that, from the Strong Reachable tab, the sum of element per class in the Per Generations view should be equal to the corresponding value in the Per Class view ?
Best regards,
Anton