Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

GC Class Reference

Garbage collector profiling data. More...

#include <gc.h>

Inheritance diagram for GC::

LI1 IdObject InfoBinaryFormat ListItem RefCount List of all members.

Public Methods

 GC ()
 Default constructor.

virtual ~GC ()
 Destructor.

virtual BufferinfoToBin (Buffer &b)
 Convert info to binary. More...

void * operator new (size_t sz)
 Overloaded new() operator.

void operator delete (void *unit)
 Overloaded delete() operator.

virtual eClassIdent getClassIdent ()
 Class identification. More...


Public Attributes

jlong usedObjects
 number of used objects on the heap.

jlong usedObjectSpace
 amount of space used by the objects (in bytes).

jlong totalObjectSpace
 total amount of object space (in bytes).

time_t startTime
 time when GC started.

time_t endTime
 time when GC finished.


Static Private Attributes

Allocator _allocator
 allocator.


Detailed Description

Garbage collector profiling data.

This class contains Java heap statistic data gained by receiving a JVMPI_EVENT_GC_FINISH event.

Author:
Marek Przeczek

Definition at line 51 of file gc.h.


Member Function Documentation

virtual eClassIdent GC::getClassIdent   [inline, virtual]
 

Class identification.

Returns:
unique class type identified

Reimplemented from IdObject.

Definition at line 120 of file gc.h.

Buffer & GC::infoToBin Buffer   b [virtual]
 

Convert info to binary.

This method converts information data to binary format in which it is sent thru communication interface to client.

Parameters:
b  buffer where to append data
Returns:
reference to same Buffer object as argument 'b'

Reimplemented from InfoBinaryFormat.

Definition at line 41 of file gc.cpp.


The documentation for this class was generated from the following files:
Generated on Mon Jan 28 14:53:28 2002 for Java Profiler Dynamic Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001