|Re: All ObjectIds of Heap dump [message #10393 is a reply to message #10360]
||Fri, 15 May 2009 02:57
| Krum Tsvetkov
Registered: July 2009
Programatically or somehow in the GUI? Programatically you can do this:
You can use the ISnapshot.getSnapshotInfo().getNumberOfObjects() to get
the count of objects. The IDs we give to the objetcts start from 0 and are
sequential - so you just have to iterate from 0 to "count"
If you want to see the object addresses, you can use the in your iteration.
Just a note - using the object IDs in your queries will work much faster
that using the object addresses.
Hope this helps.
> I want to know how I can get all the object IDs of all objects in the
> any Idea?
Powered by FUDForum
. Page generated in 0.01794 seconds