MethodSweeper Class Reference

#include <sweeper.hpp>

Inheritance diagram for MethodSweeper:

Inheritance graph
[legend]
Collaboration diagram for MethodSweeper:

Collaboration graph
[legend]
List of all members.

Private Member Functions

methodOop excluded_method ()
void set_excluded_method (methodOop method)
void task ()
void method_task (methodOop method)
int method_dict_task (objArrayOop methods)
int klass_task (klassOop klass)
void activate ()
char * name () const

Private Attributes

int index

Friends

class Recompilation

Detailed Description

Definition at line 97 of file sweeper.hpp.


Member Function Documentation

void MethodSweeper::activate (  )  [private, virtual]

Reimplemented from Sweeper.

Definition at line 209 of file sweeper.cpp.

References Sweeper::activate(), and index.

Here is the call graph for this function:

methodOop MethodSweeper::excluded_method (  )  [inline, private]

Definition at line 101 of file sweeper.hpp.

References Universe::sweeper_method().

Referenced by task().

Here is the call graph for this function:

int MethodSweeper::klass_task ( klassOop  klass  )  [private]

Definition at line 156 of file sweeper.cpp.

References Klass::has_superKlass(), Klass::is_named_class(), oopDesc::klass(), klassOopDesc::klass_part(), method_dict_task(), mixinOopDesc::methods(), Klass::methods(), Klass::mixin(), and Klass::superKlass().

Referenced by task().

Here is the call graph for this function:

int MethodSweeper::method_dict_task ( objArrayOop  methods  )  [private]

Definition at line 146 of file sweeper.cpp.

References assert, index, objArrayOopDesc::length(), method_task(), and objArrayOopDesc::obj_at().

Referenced by klass_task().

Here is the call graph for this function:

void MethodSweeper::method_task ( methodOop  method  )  [private]

Definition at line 134 of file sweeper.cpp.

References Sweeper::active_method(), methodOopDesc::cleanup_inline_caches(), methodOopDesc::decay_invocation_count(), CodeSweeper::decayFactor, methodOopDesc::invocation_count(), and set_excluded_method().

Referenced by method_dict_task(), and task().

Here is the call graph for this function:

char* MethodSweeper::name (  )  const [inline, private, virtual]

Implements Sweeper.

Definition at line 109 of file sweeper.hpp.

void MethodSweeper::set_excluded_method ( methodOop  method  )  [inline, private]

Definition at line 102 of file sweeper.hpp.

References Universe::set_sweeper_method().

Referenced by method_task(), and task().

Here is the call graph for this function:

void MethodSweeper::task (  )  [private, virtual]

Implements Sweeper.

Definition at line 176 of file sweeper.cpp.

References assert, Sweeper::deactivate(), excluded_method(), CodeSweeper::fractionPerTask, index, klass_task(), objArrayOopDesc::length(), LOG_EVENT3, method_task(), objArrayOopDesc::obj_at(), outputStream::print(), set_excluded_method(), std, and Universe::systemDictionaryObj().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class Recompilation [friend]

Definition at line 110 of file sweeper.hpp.


Member Data Documentation

int MethodSweeper::index [private]

Definition at line 99 of file sweeper.hpp.

Referenced by activate(), method_dict_task(), and task().


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 14:09:49 2006 for Strongtalk VM by  doxygen 1.4.7