Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Inspect objects from comparison(For example, suppose +100 java.lang.String found, be able to see those specific strings)
Inspect objects from comparison [message #1843233] Tue, 20 July 2021 22:40 Go to next message
Alex Mising name is currently offline Alex Mising nameFriend
Messages: 149
Registered: March 2010
Senior Member
Hi all,

When I compare two heap dumps, I can see the +/- counts of object instances. I cannot however seem to find a way to review the values of those instances.

For example, suppose I see +10 instances of java.lang.String between heap dumps A and B. How can I view the 10 strings that are different between the two copies? That would be quite useful in determining the origin.

Is this possible using the tool?
Re: Inspect objects from comparison [message #1843273 is a reply to message #1843233] Thu, 22 July 2021 10:43 Go to previous message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 205
Registered: July 2009
Senior Member
I would suggest running group_by_value java.lang.String on both dumps, add each result to the compare basket, run the compare query, select 'difference from the base table' from the tool bar, then use '<>0' in the filter for column 'Objects #2-#1'
Previous Topic:HTML Report
Next Topic:Issues with MAT reading AdoptJDK openj9 core.dmp files
Goto Forum:
  


Current Time: Wed Feb 05 14:07:00 GMT 2025

Powered by FUDForum. Page generated in 0.03678 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top