methodKlass Class Reference

#include <methodKlass.hpp>

Inheritance diagram for methodKlass:

Inheritance graph
[legend]
Collaboration diagram for methodKlass:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool oop_is_method () const
bool can_inline_allocation () const
int object_size (int size_of_codes) const
int oop_size (oop obj) const
bool can_have_instance_variables () const
bool can_be_subclassed () const
klassOop create_subclass (mixinOop mixin, Format format)
Format format ()
int oop_scavenge_contents (oop obj)
int oop_scavenge_tenured_contents (oop obj)
void oop_follow_contents (oop obj)
void oop_oop_iterate (oop obj, OopClosure *blk)
void oop_layout_iterate (oop obj, ObjectLayoutClosure *blk)
int oop_header_size () const
void oop_print_layout (oop obj)
void oop_print_on (oop obj, outputStream *st)
void oop_print_value_on (oop obj, outputStream *st)
char * name () const
methodOop constructMethod (oop name, int flags, int nofArgs, objArrayOop debugInfo, byteArrayOop bytes, objArrayOop oops)

Friends

void set_methodKlass_vtbl (Klass *k)

Detailed Description

Definition at line 24 of file methodKlass.hpp.


Member Function Documentation

bool methodKlass::can_be_subclassed (  )  const [inline, virtual]

Reimplemented from memOopKlass.

Definition at line 36 of file methodKlass.hpp.

bool methodKlass::can_have_instance_variables (  )  const [inline, virtual]

Reimplemented from memOopKlass.

Definition at line 35 of file methodKlass.hpp.

bool methodKlass::can_inline_allocation (  )  const [inline, virtual]

Reimplemented from memOopKlass.

Definition at line 29 of file methodKlass.hpp.

methodOop methodKlass::constructMethod ( oop  name,
int  flags,
int  nofArgs,
objArrayOop  debugInfo,
byteArrayOop  bytes,
objArrayOop  oops 
)

Definition at line 230 of file methodKlass.cpp.

References Universe::allocate_tenured(), Klass::as_klassOop(), assert, byteArrayOopDesc::byte_at(), Klass::has_untagged_contents(), methodOopDesc::header_size(), memOopDesc::initialize_header(), oopDesc::is_old(), oopDesc::is_smi(), byteArrayOopDesc::length(), objArrayOopDesc::length(), objArrayOopDesc::obj_at(), oopSize, and tenured().

Referenced by PRIM_DECL_6().

Here is the call graph for this function:

klassOop methodKlass::create_subclass ( mixinOop  mixin,
Format  format 
)

Reimplemented from memOopKlass.

Definition at line 32 of file methodKlass.cpp.

Format methodKlass::format (  )  [inline, virtual]

Reimplemented from memOopKlass.

Definition at line 42 of file methodKlass.hpp.

References Klass::method_klass.

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

Reimplemented from memOopKlass.

Definition at line 63 of file methodKlass.hpp.

int methodKlass::object_size ( int  size_of_codes  )  const [inline]

Definition at line 31 of file methodKlass.hpp.

References Klass::non_indexable_size().

Referenced by oop_scavenge_tenured_contents(), and oop_size().

Here is the call graph for this function:

void methodKlass::oop_follow_contents ( oop  obj  )  [virtual]

Reimplemented from memOopKlass.

Definition at line 206 of file methodKlass.cpp.

References methodOopDesc::_debugInfo, methodOopDesc::_selector_or_method, methodOopDesc::addr(), CodeIterator::advance(), CodeIterator::aligned_oop(), Bytecodes::BBLO, Bytecodes::BBO, Bytecodes::BBOO, Bytecodes::BLO, Bytecodes::BO, Bytecodes::BOL, Bytecodes::BOO, Bytecodes::BOOLB, memOopDesc::follow_header(), CodeIterator::format(), and MarkSweep::reverse_and_push().

Here is the call graph for this function:

int methodKlass::oop_header_size (  )  const [inline, virtual]

Reimplemented from memOopKlass.

Definition at line 56 of file methodKlass.hpp.

References methodOopDesc::header_size().

Here is the call graph for this function:

bool methodKlass::oop_is_method (  )  const [inline, virtual]

Reimplemented from Klass.

Definition at line 26 of file methodKlass.hpp.

void methodKlass::oop_layout_iterate ( oop  obj,
ObjectLayoutClosure blk 
) [virtual]

Reimplemented from memOopKlass.

Definition at line 36 of file methodKlass.cpp.

References methodOopDesc::_debugInfo, methodOopDesc::_selector_or_method, methodOopDesc::_size_and_flags, methodOopDesc::addr(), CodeIterator::advance(), ObjectLayoutClosure::do_oop(), memOopDesc::layout_iterate_header(), and lprintf().

Here is the call graph for this function:

void methodKlass::oop_oop_iterate ( oop  obj,
OopClosure blk 
) [virtual]

Reimplemented from memOopKlass.

Definition at line 51 of file methodKlass.cpp.

References methodOopDesc::_debugInfo, methodOopDesc::_selector_or_method, methodOopDesc::_size_and_flags, methodOopDesc::addr(), CodeIterator::advance(), CodeIterator::aligned_oop(), Bytecodes::BBLO, Bytecodes::BBO, Bytecodes::BBOO, Bytecodes::BLO, Bytecodes::BO, Bytecodes::BOL, Bytecodes::BOO, Bytecodes::BOOLB, OopClosure::do_oop(), CodeIterator::format(), and memOopDesc::oop_iterate_header().

Here is the call graph for this function:

void methodKlass::oop_print_layout ( oop  obj  ) 

Definition at line 74 of file methodKlass.cpp.

References methodOopDesc::print_codes().

Here is the call graph for this function:

void methodKlass::oop_print_on ( oop  obj,
outputStream st 
) [virtual]

Reimplemented from memOopKlass.

Definition at line 78 of file methodKlass.cpp.

References methodOopDesc::always_inline, assert, outputStream::cr(), methodOopDesc::expects_context, methodOopDesc::expects_nil, methodOopDesc::expects_parameter, methodOopDesc::expects_self, outputStream::fill_to(), indent_col, oopDesc::is_method(), Universe::method_holder_of(), methodOopDesc::never_inline, methodOopDesc::normal_inline, memOopKlass::oop_print_value_on(), outputStream::print(), outputStream::print_cr(), oopDesc::print_value_on(), and value_col.

Here is the call graph for this function:

void methodKlass::oop_print_value_on ( oop  obj,
outputStream st 
) [virtual]

Reimplemented from memOopKlass.

Definition at line 170 of file methodKlass.cpp.

References assert, oopDesc::is_method(), Universe::method_holder_of(), outputStream::print(), memOopDesc::print_id_on(), and oopDesc::print_value_on().

Here is the call graph for this function:

int methodKlass::oop_scavenge_contents ( oop  obj  )  [virtual]

Reimplemented from memOopKlass.

Definition at line 195 of file methodKlass.cpp.

References ShouldNotCallThis.

int methodKlass::oop_scavenge_tenured_contents ( oop  obj  )  [virtual]

Reimplemented from memOopKlass.

Definition at line 201 of file methodKlass.cpp.

References object_size().

Here is the call graph for this function:

int methodKlass::oop_size ( oop  obj  )  const [inline, virtual]

Reimplemented from Klass.

Definition at line 32 of file methodKlass.hpp.

References object_size().

Here is the call graph for this function:


Friends And Related Function Documentation

void set_methodKlass_vtbl ( Klass k  )  [friend]

Definition at line 27 of file methodKlass.cpp.


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