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

AllocArena Class Reference

Arena. More...

#include <allocArena.h>

Inheritance diagram for AllocArena::

LI1 IdObject InfoBinaryFormat ListItem RefCount List of all members.

Public Methods

 AllocArena ()
 Default constructor.

virtual ~AllocArena ()
 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...

virtual int isActive ()
 State of object. More...


Public Attributes

jint arenaId
 ID given to the arena.

String arenaName
 name of the arena.

int active
 active arena or not.

List< AllocInstance, LI2instances
 instances in this arena.


Static Private Attributes

Allocator _allocator
 allocator.


Detailed Description

Arena.

This class consists of arena data acquired by receiving the JVMPI_EVENT_ARENA_NEW event. If this arena was deleted (JVMPI_EVENT_ARENA_DELETE), the 'active' field equals zero.

See also:
AllocInstance
Author:
Marek Przeczek

Definition at line 57 of file allocArena.h.


Member Function Documentation

virtual eClassIdent AllocArena::getClassIdent   [inline, virtual]
 

Class identification.

Returns:
unique class type identifier

Reimplemented from IdObject.

Definition at line 120 of file allocArena.h.

Buffer & AllocArena::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 allocArena.cpp.

virtual int AllocArena::isActive   [inline, virtual]
 

State of object.

Once an object is unactive, it remains unactive forever.

Returns:
0 (not active); 1 (active)

Reimplemented from IdObject.

Definition at line 128 of file allocArena.h.


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