This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Reachable size computed in analysis page does not follow references from arrays. For example Any object that holds HashMap instance will have HM and HM$E[] attributed but all HM$E and referenced key and values are missing. As a result it provides completely silly and confusing results. I am afraid that retained size query has the same problem. Was there a change in implementation? The code for retained set computation has a branch to follow array references but this is wrong now IMO.
Created attachment 54341 [details] suggested patch
I'd even write you a test if there was some testing infrastructure (like mock heap model) to avoid this surprise in the future.
Yes, I have realized this a week ago and even have a patch with compatible filtering code laying around. I'll try to fix this before Christmas :-)
Christmas is gone, sorry for the late fix: profiler/modules/main/src/org/netbeans/modules/profiler/heapwalk/memorylint/Walker.java,v1.2