Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » guide for analyzing Object allocation(guide for analyzing Object allocation)
guide for analyzing Object allocation [message #511441] Mon, 01 February 2010 15:51
Devaraj  is currently offline Devaraj Friend
Messages: 2
Registered: February 2010
Junior Member
Hi,
I am able to profile my application using HeapProf option.
After collecting the data, i am able to open them with Object Allocation or Memory Statistics option.
Now i got the following details.

Class
package
Total Instances
Live Instances
Collected
Total Size
Active Size



can any body guide me, how to analyze these above statistics.

can i assume that Live instances are supposed to be garbage collected, since they are unreachable, they are not garbage collected?

Please let me know, if there is any article to interpret these above results.

regards
Devaraj
Re: guide for analyzing Object allocation [message #511476 is a reply to message #511441] Mon, 01 February 2010 12:02 Go to previous message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Devaraj

Here is a quick summary of the columns in the view:


a.. Live Instances: The current number of objects in the heap, of the
specified class, that are presently being utilized (have not been garbage
collected.)
b.. Total Instances: The total number of objects in the heap, which have
been created during the JVM's lifetime (including those that have been
garbage collected).
c.. Active Size (bytes): The total size of all object instances, of the
particular class, that are presently used by the JVM (e.g. have not been
garbage collected.). Note that object-size is JVM implementation dependent.
d.. Total Size (bytes): The total size of all object instances of the
class, including those have been garbage collected earlier in the
application lifecycle.
e.. Average Age: The average age of an object before it is garbage
collected, as measured by the number of garbage collections that this object
has survived. Objects that have survived a large number of garbage
collections are considered to be a memory leak if their usage is no longer
required by the application.
f.. Collected: The total size of objects that has been GC'ed.

Eugene

"Devaraj" <dkommineni@yahoo.com> wrote in message
news:hk6t9f$9pd$1@build.eclipse.org...
> Hi,
> I am able to profile my application using HeapProf option.
> After collecting the data, i am able to open them with Object Allocation
> or Memory Statistics option.
> Now i got the following details.
>
> Class
> package
> Total Instances
> Live Instances
> Collected
> Total Size
> Active Size
>
>
>
> can any body guide me, how to analyze these above statistics.
>
> can i assume that Live instances are supposed to be garbage collected,
> since they are unreachable, they are not garbage collected?
>
> Please let me know, if there is any article to interpret these above
> results.
>
> regards
> Devaraj
>
Re: guide for analyzing Object allocation [message #511477 is a reply to message #511476] Mon, 01 February 2010 12:02 Go to previous message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi,

Please also check the Help Content which contains more detail about the view
and its content.

Eugene

"Eugene Chan" <ewchan@ca.ibm.com> wrote in message
news:hk706p$r8o$1@build.eclipse.org...
> Hi Devaraj
>
> Here is a quick summary of the columns in the view:
>
>
> a.. Live Instances: The current number of objects in the heap, of the
> specified class, that are presently being utilized (have not been garbage
> collected.)
> b.. Total Instances: The total number of objects in the heap, which have
> been created during the JVM's lifetime (including those that have been
> garbage collected).
> c.. Active Size (bytes): The total size of all object instances, of the
> particular class, that are presently used by the JVM (e.g. have not been
> garbage collected.). Note that object-size is JVM implementation
> dependent.
> d.. Total Size (bytes): The total size of all object instances of the
> class, including those have been garbage collected earlier in the
> application lifecycle.
> e.. Average Age: The average age of an object before it is garbage
> collected, as measured by the number of garbage collections that this
> object has survived. Objects that have survived a large number of garbage
> collections are considered to be a memory leak if their usage is no longer
> required by the application.
> f.. Collected: The total size of objects that has been GC'ed.
>
> Eugene
>
> "Devaraj" <dkommineni@yahoo.com> wrote in message
> news:hk6t9f$9pd$1@build.eclipse.org...
>> Hi,
>> I am able to profile my application using HeapProf option.
>> After collecting the data, i am able to open them with Object Allocation
>> or Memory Statistics option.
>> Now i got the following details.
>>
>> Class
>> package
>> Total Instances
>> Live Instances
>> Collected
>> Total Size
>> Active Size
>>
>>
>>
>> can any body guide me, how to analyze these above statistics.
>>
>> can i assume that Live instances are supposed to be garbage collected,
>> since they are unreachable, they are not garbage collected?
>>
>> Please let me know, if there is any article to interpret these above
>> results.
>>
>> regards
>> Devaraj
>>
>
>
Previous Topic:Profiling the application does not work properly with CGProf option
Next Topic:Eclipse JNI Help?
Goto Forum:
  


Current Time: Tue Apr 23 16:06:44 GMT 2024

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

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

Back to the top