1. I'm analysing an object whose many properties have alternative paths to GC root so they are not included in retained size. The alternative path however leads through just one other object. Can I disable this alternative reference for the the purpose of calculation of more informative retained size?

2. In https://www.yourkit.com/docs/java/help/sizes.jsp there is an formulation that retained size represents the amount of memory that will be freed by the garbage collector when this object is collected. This is not exactly true because the calculation does not differ between hard and weak references. So even when the alternative path to GC root for an object leads via weak reference, the object is not counted to retained size although it would be freed if the primary reference is removed. Is it possible to modify this behavior?