Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » gc_roots count correct?
gc_roots count correct? [message #1707893] Thu, 10 September 2015 08:43 Go to next message
Sergey Maslov is currently offline Sergey MaslovFriend
Messages: 2
Registered: September 2015
Junior Member
I've found that gc_roots search shows duplicate classes (see attach).
Is it expected behavior?
  • Attachment: gc_roots.xlsx
    (Size: 32.82KB, Downloaded 260 times)
Re: gc_roots count correct? [message #1708613 is a reply to message #1707893] Fri, 18 September 2015 06:44 Go to previous message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 163
Registered: July 2009
Senior Member
I checked it with a random heap dump I had on my disk and I also get redundant entries.
I looked further, and figured out that from the dump we get multiple times records of type ROOT STICKY CLASS (what we display in MAT as System Class) for one and the same class.
So I don't think the info shown by gc_roots is wrong. Still it may make sense to filter the duplicates and show only one entry per class in this specific query.
I'll have a look.
Previous Topic:error when opening a heap dump in eclipse MAT (1.5)
Next Topic:How to retrieve objects which implements interface!
Goto Forum:

Current Time: Fri Feb 28 22:26:51 GMT 2020

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

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

Back to the top