Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » How to extend MAT to simulate select "Show objects by class" -> select "by outgo
How to extend MAT to simulate select "Show objects by class" -> select "by outgo [message #1696179] Fri, 22 May 2015 14:37
Zou Xiao is currently offline Zou XiaoFriend
Messages: 1
Registered: May 2015
Junior Member
Hi everyone,


I'd like to customize MAT to simulate following operations within MAT plugin :

In "Histogram" Tab, right click on a class "java.lang.String" -> select "Show objects by class" -> select "by outgoing references"


Question 1: For select "Show objects by class", I used following code, is that correct? (Assumed to

Collection <IClass> parentClasses = snapshot.getClassesByName("java.lang.String", false);
...
IClass parentClassObj = parentClasses.iterator().next();


Question 2: For select "by outgoing references", How to implement this?


Appreciate for any help!

Zou
Previous Topic:Command Line processing of hprof
Next Topic:Memory Analyzer 1.5 Released
Goto Forum:
  


Current Time: Wed Nov 14 00:22:41 GMT 2018

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

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

Back to the top