ObjectHistogram Class Reference

Inheritance diagram for ObjectHistogram:

Inheritance graph
[legend]
Collaboration diagram for ObjectHistogram:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ObjectHistogram ()
Countercounter (memOop obj)
void do_object (memOop obj)
void print ()

Private Attributes

Counterdoubles
Counterblocks
CounterobjArrays
Countersymbols
CounterbyteArrays
CounterdoubleByteArrays
Counterklasses
Counterprocesses
Countervframes
Countermethods
Counterproxies
Countermixins
Counterassociations
Countercontexts
CountermemOops
GrowableArray< Counter * > * counters

Detailed Description

Definition at line 420 of file debug_prims.cpp.


Constructor & Destructor Documentation

ObjectHistogram::ObjectHistogram (  ) 

Definition at line 446 of file debug_prims.cpp.

References associations, blocks, byteArrays, contexts, counters, doubleByteArrays, doubles, klasses, memOops, methods, mixins, objArrays, processes, proxies, GrowableArray< E >::push(), symbols, and vframes.

Here is the call graph for this function:


Member Function Documentation

Counter * ObjectHistogram::counter ( memOop  obj  ) 

Definition at line 465 of file debug_prims.cpp.

References associations, blocks, byteArrays, contexts, doubleByteArrays, doubles, oopDesc::is_association(), oopDesc::is_block(), oopDesc::is_byteArray(), oopDesc::is_context(), oopDesc::is_double(), oopDesc::is_doubleByteArray(), oopDesc::is_klass(), oopDesc::is_method(), oopDesc::is_mixin(), oopDesc::is_objArray(), oopDesc::is_process(), oopDesc::is_proxy(), oopDesc::is_symbol(), oopDesc::is_vframe(), klasses, memOops, methods, mixins, objArrays, processes, proxies, symbols, and vframes.

Referenced by do_object().

Here is the call graph for this function:

void ObjectHistogram::do_object ( memOop  obj  )  [inline, virtual]

Reimplemented from ObjectClosure.

Definition at line 442 of file debug_prims.cpp.

References counter(), and Counter::update().

Here is the call graph for this function:

void ObjectHistogram::print (  ) 

Definition at line 483 of file debug_prims.cpp.

References Counter::add(), GrowableArray< E >::at(), Counter::compare(), counters, outputStream::fill_to(), GenericGrowableArray::length(), Counter::print(), outputStream::print(), outputStream::print_cr(), GrowableArray< E >::sort(), and std.

Referenced by PRIM_DECL_0().

Here is the call graph for this function:


Member Data Documentation

Counter* ObjectHistogram::associations [private]

Definition at line 434 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::blocks [private]

Definition at line 423 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::byteArrays [private]

Definition at line 426 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::contexts [private]

Definition at line 435 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

GrowableArray<Counter*>* ObjectHistogram::counters [private]

Definition at line 437 of file debug_prims.cpp.

Referenced by ObjectHistogram(), and print().

Counter* ObjectHistogram::doubleByteArrays [private]

Definition at line 427 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::doubles [private]

Definition at line 422 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::klasses [private]

Definition at line 428 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::memOops [private]

Definition at line 436 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::methods [private]

Definition at line 431 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::mixins [private]

Definition at line 433 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::objArrays [private]

Definition at line 424 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::processes [private]

Definition at line 429 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::proxies [private]

Definition at line 432 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::symbols [private]

Definition at line 425 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().

Counter* ObjectHistogram::vframes [private]

Definition at line 430 of file debug_prims.cpp.

Referenced by counter(), and ObjectHistogram().


The documentation for this class was generated from the following file:
Generated on Mon Oct 9 14:11:31 2006 for Strongtalk VM by  doxygen 1.4.7