Describe the bug
A large object doesnt show up under "Dominators by retailed size" due to retained size calculation error.
IBM MAT tool doesn't have this problem
To Reproduce
I haven't found a way to generate a heapdump that causes visualvm to behave this way
Expected behavior
visualvm must be able to calculate the retainedsizes
VisualVM log
messages.log
Screenshots
This is how it looks in visualvm

And this is the same object in IBM MAT

And because of the negative retained size calulation, ( i think) the DefaultTable object doesn't show as a Dominator

Desktop (please complete the following information):
- OS: Windows10
- JDK version - jdk-9.0.4
- Version - 2.0.5
Additional context
Add any other context about the problem here.
Describe the bug
A large object doesnt show up under "Dominators by retailed size" due to retained size calculation error.
IBM MAT tool doesn't have this problem
To Reproduce
I haven't found a way to generate a heapdump that causes visualvm to behave this way
Expected behavior
visualvm must be able to calculate the retainedsizes
VisualVM log
messages.log
Screenshots
This is how it looks in visualvm
And this is the same object in IBM MAT
And because of the negative retained size calulation, ( i think) the DefaultTable object doesn't show as a Dominator
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.