methodOopDesc Class Reference

#include <methodOop.hpp>

Inheritance diagram for methodOopDesc:

Inheritance graph
[legend]
Collaboration diagram for methodOopDesc:

Collaboration graph
[legend]
List of all members.

Public Types

 _short_size = 16
 _invocation_count_offset = _short_size
 _invocation_count_width = _short_size
 _invocation_count_max = (1 << _short_size) - 1
 _sharing_count_offset = 0
 _sharing_count_width = _short_size
 _sharing_count_max = (1 << _short_size) - 1
 containsNLRFlag = 0
 allocatesContextFlag = 1
 mustBeCustomizedFlag = 2
 isCustomizedFlag = 3
 methodInfoFlags = isCustomizedFlag + 1
 methodInfoSize = 2
 blockInfoFlags = methodInfoFlags
 blockInfoSize = methodInfoSize
 never_inline = 0
 normal_inline = 1
 always_inline = 2
 expects_nil = 0
 expects_self = 1
 expects_parameter = 2
 expects_context = 3
enum  {
  _short_size = 16, _invocation_count_offset = _short_size, _invocation_count_width = _short_size, _invocation_count_max = (1 << _short_size) - 1,
  _sharing_count_offset = 0, _sharing_count_width = _short_size, _sharing_count_max = (1 << _short_size) - 1
}
enum  Flags {
  containsNLRFlag = 0, allocatesContextFlag = 1, mustBeCustomizedFlag = 2, isCustomizedFlag = 3,
  methodInfoFlags = isCustomizedFlag + 1, methodInfoSize = 2, blockInfoFlags = methodInfoFlags, blockInfoSize = methodInfoSize
}
enum  Method_Inlining_Info { never_inline = 0, normal_inline = 1, always_inline = 2 }
enum  Block_Info { expects_nil = 0, expects_self = 1, expects_parameter = 2, expects_context = 3 }

Public Member Functions

smiOop size_and_flags () const
void set_size_and_flags (int size, int nofArgs, int flags)
int flags () const
void set_flags (int flags)
int nofArgs () const
void bootstrap_object (bootstrap *st)
bool is_blockMethod () const
objArrayOop debugInfo () const
void set_debugInfo (objArrayOop d)
symbolOop selector () const
methodOop parent () const
methodOop home () const
oop selector_or_method () const
void set_selector_or_method (oop value)
symbolOop enclosing_method_selector () const
byteArrayOop source ()
objArrayOop tempInfo ()
objArrayOop fileout_body ()
int counters () const
void set_counters (int inv, int share)
int invocation_count () const
void set_invocation_count (int value)
void decay_invocation_count (double decay_factor)
int sharing_count () const
void set_sharing_count (int value)
void inc_sharing_count ()
void dec_sharing_count ()
bool was_never_executed ()
int size_of_codes () const
void set_size_of_code (int size)
u_charcodes (int offset=1) const
u_charcodes_end () const
u_char byte_at (int offset) const
void byte_at_put (int offset, u_char c)
long word_at (int offset) const
void word_at_put (int offset, unsigned long w)
oop oop_at (int offset) const
void oop_at_put (int offset, oop obj)
int next_bci_from (u_char *hp) const
int bci_from (u_char *hp) const
int number_of_arguments () const
int number_of_stack_temporaries () const
bool has_float_temporaries () const
int number_of_float_temporaries () const
int float_expression_stack_size () const
int total_number_of_floats () const
int float_offset (int float_no) const
int float_section_start_offset () const
int float_section_size () const
bool is_accessMethod () const
bool is_primitiveMethod () const
bool is_special_primitiveMethod () const
Bytecodes::Code special_primitive_code () const
void set_method_inlining_info (Method_Inlining_Info info)
bool activation_has_context () const
bool in_context_allocation (int bci) const
bool containsNLR () const
bool allocatesInterpretedContext () const
bool mustBeCustomizedToClass () const
bool expectsContext () const
bool hasNestedBlocks () const
bool is_clean_block () const
bool is_copying_block () const
bool is_full_block () const
bool has_instVar_access () const
bool has_classVar_access () const
bool has_inlineCache () const
bool is_customized () const
bool should_be_customized () const
methodOop copy_for_customization () const
void customize_for (klassOop klass, mixinOop mixin)
void uncustomize_for (mixinOop mixin)
int lexicalDistance (int contextNo)
int contextNo (int lexicalDistance)
int context_chain_length () const
void clear_inline_caches ()
void cleanup_inline_caches ()
int estimated_inline_cost (klassOop receiverKlass)
int find_bci_from (int nbci) const
int next_bci (int bci) const
int end_bci () const
InterpretedICic_at (int bci) const
GrowableArray< int > * expression_stack_mapping (int bci)
void print_codes ()
void pretty_print ()
void print_value_for (klassOop receiver_klass, outputStream *st=NULL)
void print_inlining_database_on (outputStream *st)
int bci_for_block_method (methodOop inner)
methodOop block_method_at (int bci)
int number_of_context_temporaries (bool *self_in_context=NULL)
void verify_context (contextOop con)
objArrayOop referenced_instance_variable_names (mixinOop mixin) const
objArrayOop referenced_class_variable_names () const
objArrayOop referenced_global_names () const
objArrayOop senders () const

Static Public Member Functions

static int selector_or_method_byte_offset ()
static int counters_byte_offset ()
static int codes_byte_offset ()
static methodOop methodOop_from_hcode (u_char *hp)

Public Attributes

enum methodOopDesc::Method_Inlining_Info const
enum methodOopDesc::Block_Info const
friend methodKlass

Private Member Functions

methodOopDescaddr () const

Static Private Member Functions

static int header_size ()

Private Attributes

objArrayOop _debugInfo
oop _selector_or_method
int _counters
smiOop _size_and_flags

Friends

methodOop as_methodOop (void *p)

Detailed Description

Definition at line 36 of file methodOop.hpp.


Member Enumeration Documentation

anonymous enum

Enumerator:
_short_size 
_invocation_count_offset 
_invocation_count_width 
_invocation_count_max 
_sharing_count_offset 
_sharing_count_width 
_sharing_count_max 

Definition at line 108 of file methodOop.hpp.

enum methodOopDesc::Block_Info

Enumerator:
expects_nil 
expects_self 
expects_parameter 
expects_context 

Definition at line 234 of file methodOop.hpp.

enum methodOopDesc::Flags

Enumerator:
containsNLRFlag 
allocatesContextFlag 
mustBeCustomizedFlag 
isCustomizedFlag 
methodInfoFlags 
methodInfoSize 
blockInfoFlags 
blockInfoSize 

Definition at line 209 of file methodOop.hpp.

enum methodOopDesc::Method_Inlining_Info

Enumerator:
never_inline 
normal_inline 
always_inline 

Definition at line 226 of file methodOop.hpp.


Member Function Documentation

bool methodOopDesc::activation_has_context (  )  const [inline]

Definition at line 242 of file methodOop.hpp.

References allocatesInterpretedContext(), expectsContext(), and is_blockMethod().

Referenced by interpretedVFrame::has_interpreter_context(), and interpretedVFrame::verify().

Here is the call graph for this function:

methodOopDesc* methodOopDesc::addr (  )  const [inline, private]

Reimplemented from memOopDesc.

Definition at line 43 of file methodOop.hpp.

References memOopDesc::addr().

Referenced by bootstrap_object(), codes(), counters(), debugInfo(), next_bci_from(), methodKlass::oop_follow_contents(), methodKlass::oop_layout_iterate(), methodKlass::oop_oop_iterate(), selector_or_method(), set_counters(), set_debugInfo(), set_selector_or_method(), set_size_and_flags(), and size_and_flags().

Here is the call graph for this function:

bool methodOopDesc::allocatesInterpretedContext (  )  const [inline]

Definition at line 251 of file methodOop.hpp.

References allocatesContextFlag, flags(), and isSet.

Referenced by activation_has_context(), contextNo(), scopeNode::is_context_allocated(), and lexicalDistance().

Here is the call graph for this function:

int methodOopDesc::bci_for_block_method ( methodOop  inner  ) 

Definition at line 813 of file methodOop.cpp.

Referenced by print_inlining_database_on().

int methodOopDesc::bci_from ( u_char hp  )  const

Definition at line 95 of file methodOop.cpp.

References find_bci_from(), and next_bci_from().

Referenced by interpretedVFrame::bci(), frame::current_interpretedIC(), DLLs::lookup_and_patch_InterpretedDLL_Cache(), and pp().

Here is the call graph for this function:

methodOop methodOopDesc::block_method_at ( int  bci  ) 

Definition at line 788 of file methodOop.cpp.

Referenced by scan_key().

void methodOopDesc::bootstrap_object ( bootstrap st  ) 

Reimplemented from memOopDesc.

Definition at line 69 of file methodOop.cpp.

References _debugInfo, _selector_or_method, _size_and_flags, addr(), memOopDesc::bootstrap_header(), byte_at_put(), codes(), bootstrap::is_byte(), bootstrap::read_byte(), bootstrap::read_oop(), set_counters(), and size_of_codes().

Here is the call graph for this function:

u_char methodOopDesc::byte_at ( int  offset  )  const [inline]

Definition at line 156 of file methodOop.hpp.

References codes().

Here is the call graph for this function:

void methodOopDesc::byte_at_put ( int  offset,
u_char  c 
) [inline]

Definition at line 157 of file methodOop.hpp.

References codes().

Referenced by bootstrap_object().

Here is the call graph for this function:

void methodOopDesc::cleanup_inline_caches (  ) 

Definition at line 461 of file methodOop.cpp.

Referenced by cleanup_method(), and MethodSweeper::method_task().

void methodOopDesc::clear_inline_caches (  ) 

Definition at line 425 of file methodOop.cpp.

Referenced by FlushClosure::do_object(), and Universe::flush_inline_caches_in_method().

u_char* methodOopDesc::codes ( int  offset = 1  )  const [inline]

Definition at line 145 of file methodOop.hpp.

References addr().

Referenced by CodeIterator::bci(), bootstrap_object(), byte_at(), byte_at_put(), codes_end(), frame::current_interpretedIC(), InterpretedIC::findStartOfSend(), float_expression_stack_size(), has_float_temporaries(), is_accessMethod(), is_special_primitiveMethod(), CodeIterator::next_bci(), number_of_float_temporaries(), number_of_stack_temporaries(), oop_at(), oop_at_put(), CodeIterator::set_bci(), word_at(), and word_at_put().

Here is the call graph for this function:

static int methodOopDesc::codes_byte_offset (  )  [inline, static]

Definition at line 52 of file methodOop.hpp.

References Mem_Tag.

u_char* methodOopDesc::codes_end (  )  const [inline]

Definition at line 149 of file methodOop.hpp.

References codes(), oopSize, and size_of_codes().

Referenced by CodeIterator::CodeIterator().

Here is the call graph for this function:

bool methodOopDesc::containsNLR (  )  const [inline]

Definition at line 250 of file methodOop.hpp.

References containsNLRFlag, flags(), and isSet.

Here is the call graph for this function:

int methodOopDesc::context_chain_length (  )  const

Definition at line 416 of file methodOop.cpp.

int methodOopDesc::contextNo ( int  lexicalDistance  ) 

Definition at line 404 of file methodOop.cpp.

References allocatesInterpretedContext(), and parent().

Here is the call graph for this function:

methodOop methodOopDesc::copy_for_customization (  )  const

Definition at line 983 of file methodOop.cpp.

Referenced by Klass::local_lookup().

int methodOopDesc::counters (  )  const [inline]

Definition at line 119 of file methodOop.hpp.

References _counters, and addr().

Referenced by invocation_count(), and sharing_count().

Here is the call graph for this function:

static int methodOopDesc::counters_byte_offset (  )  [inline, static]

Definition at line 51 of file methodOop.hpp.

References _counters, and Mem_Tag.

void methodOopDesc::customize_for ( klassOop  klass,
mixinOop  mixin 
)

Definition at line 873 of file methodOop.cpp.

Referenced by allocate_block_for(), mixinOopDesc::customize_for(), and Klass::local_lookup().

objArrayOop methodOopDesc::debugInfo (  )  const [inline]

Definition at line 79 of file methodOop.hpp.

References _debugInfo, and addr().

Referenced by PRIM_DECL_1(), and tempInfo().

Here is the call graph for this function:

void methodOopDesc::dec_sharing_count (  ) 

Definition at line 63 of file methodOop.cpp.

References set_sharing_count(), and sharing_count().

Here is the call graph for this function:

void methodOopDesc::decay_invocation_count ( double  decay_factor  ) 

Definition at line 27 of file methodOop.cpp.

References CodeIterator::advance(), assert, CodeIterator::code(), decay_invocation_count(), invocation_count(), oopDesc::is_method(), CodeIterator::oop_at(), Bytecodes::push_new_closure_context_0, Bytecodes::push_new_closure_context_1, Bytecodes::push_new_closure_context_2, Bytecodes::push_new_closure_context_n, Bytecodes::push_new_closure_tos_0, Bytecodes::push_new_closure_tos_1, Bytecodes::push_new_closure_tos_2, Bytecodes::push_new_closure_tos_n, and set_invocation_count().

Referenced by decay_invocation_count(), and MethodSweeper::method_task().

Here is the call graph for this function:

symbolOop methodOopDesc::enclosing_method_selector (  )  const

Definition at line 135 of file methodOop.cpp.

References assert, is_blockMethod(), parent(), and selector().

Referenced by pnode::print_method_on(), and print_value_for().

Here is the call graph for this function:

int methodOopDesc::end_bci (  )  const

Definition at line 774 of file methodOop.cpp.

Referenced by MethodInterval::MethodInterval().

int methodOopDesc::estimated_inline_cost ( klassOop  receiverKlass  ) 

Definition at line 495 of file methodOop.cpp.

bool methodOopDesc::expectsContext (  )  const [inline]

Definition at line 253 of file methodOop.hpp.

References expects_context.

Referenced by activation_has_context().

GrowableArray< int > * methodOopDesc::expression_stack_mapping ( int  bci  ) 

Definition at line 713 of file methodOop.cpp.

Referenced by interpretedVFrame::expression_stack(), and MethodPrinterClosure::indent().

objArrayOop methodOopDesc::fileout_body (  ) 

Definition at line 235 of file methodOop.cpp.

References CodeIterator::advance(), methodStream::align(), Bytecodes::B, Bytecodes::BB, Bytecodes::BBB, Bytecodes::BBBB, Bytecodes::BBL, Bytecodes::BBO, Bytecodes::BBOO, Bytecodes::BBS, Bytecodes::BL, Bytecodes::BLL, Bytecodes::BO, Bytecodes::BOL, CodeIterator::byte_at(), CodeIterator::code(), CodeIterator::dll_cache(), fatal, CodeIterator::format(), Bytecodes::format(), Bytecodes::format_as_string(), CodeIterator::hp(), CodeIterator::ic(), CodeIterator::is_dll_call(), CodeIterator::is_primitive_call(), primitives::lookup(), oopFactory::new_objArray(), Bytecodes::no_send, CodeIterator::oop_at(), Bytecodes::original_primitive_call_code_for(), Bytecodes::original_send_code_for(), Bytecodes::prim_call, Bytecodes::prim_call_failure, Bytecodes::prim_call_self, Bytecodes::prim_call_self_failure, outputStream::print_cr(), methodStream::put_byte(), methodStream::put_oop(), methodStream::put_word(), methodStream::result, InterpretedIC::selector(), Bytecodes::send_type(), smiOop_zero, std, and CodeIterator::word_at().

Referenced by PRIM_DECL_1().

Here is the call graph for this function:

int methodOopDesc::find_bci_from ( int  nbci  )  const

Definition at line 532 of file methodOop.cpp.

Referenced by bci_from().

int methodOopDesc::flags (  )  const [inline]

Definition at line 60 of file methodOop.hpp.

References get_unsigned_bitfield(), method_flags_mask_bitno, method_flags_mask_size, and size_and_flags().

Referenced by allocatesInterpretedContext(), containsNLR(), is_customized(), mustBeCustomizedToClass(), and set_size_of_code().

Here is the call graph for this function:

int methodOopDesc::float_expression_stack_size (  )  const [inline]

Definition at line 180 of file methodOop.hpp.

References codes(), and has_float_temporaries().

Referenced by total_number_of_floats().

Here is the call graph for this function:

int methodOopDesc::float_offset ( int  float_no  )  const

Definition at line 130 of file methodOop.cpp.

References assert, float_section_start_offset(), floatSize, number_of_float_temporaries(), and oopSize.

Here is the call graph for this function:

int methodOopDesc::float_section_size (  )  const [inline]

Definition at line 186 of file methodOop.hpp.

References floatSize, oopSize, and total_number_of_floats().

Referenced by frame::follow_roots_interpreted_float_frame(), and frame::oop_iterate_interpreted_float_frame().

Here is the call graph for this function:

int methodOopDesc::float_section_start_offset (  )  const [inline]

Definition at line 185 of file methodOop.hpp.

References frame_temp_offset, and number_of_stack_temporaries().

Referenced by float_offset(), frame::follow_roots_interpreted_float_frame(), and frame::oop_iterate_interpreted_float_frame().

Here is the call graph for this function:

bool methodOopDesc::has_classVar_access (  )  const [inline]

Definition at line 261 of file methodOop.hpp.

Referenced by should_be_customized().

bool methodOopDesc::has_float_temporaries (  )  const [inline]

Definition at line 178 of file methodOop.hpp.

References codes(), and Bytecodes::float_allocate.

Referenced by float_expression_stack_size(), frame::follow_roots_interpreted_float_frame(), number_of_float_temporaries(), frame::oop_iterate_interpreted_float_frame(), and MethodClosure::set_method().

Here is the call graph for this function:

bool methodOopDesc::has_inlineCache (  )  const [inline]

Definition at line 262 of file methodOop.hpp.

Referenced by should_be_customized().

bool methodOopDesc::has_instVar_access (  )  const [inline]

Definition at line 260 of file methodOop.hpp.

Referenced by should_be_customized().

bool methodOopDesc::hasNestedBlocks (  )  const

Definition at line 374 of file methodOop.cpp.

static int methodOopDesc::header_size (  )  [inline, static, private]

Reimplemented from memOopDesc.

Definition at line 46 of file methodOop.hpp.

References oopSize.

Referenced by methodKlass::constructMethod(), and methodKlass::oop_header_size().

methodOop methodOopDesc::home (  )  const

Definition at line 184 of file methodOop.cpp.

References is_blockMethod(), and parent().

Referenced by interpreter_super_lookup(), Klass::is_method_holder_for(), Universe::method_holder_of(), and blockClosureKlass::oop_print_value_on().

Here is the call graph for this function:

InterpretedIC * methodOopDesc::ic_at ( int  bci  )  const

Definition at line 783 of file methodOop.cpp.

Referenced by patch_last_delta_frame().

bool methodOopDesc::in_context_allocation ( int  bci  )  const

Definition at line 362 of file methodOop.cpp.

Referenced by interpretedVFrame::verify().

void methodOopDesc::inc_sharing_count (  ) 

Definition at line 57 of file methodOop.cpp.

References _sharing_count_max, set_sharing_count(), and sharing_count().

Here is the call graph for this function:

int methodOopDesc::invocation_count (  )  const [inline]

Definition at line 123 of file methodOop.hpp.

References _invocation_count_offset, counters(), and get_unsigned_bitfield().

Referenced by decay_invocation_count(), SumMethodInvocationClosure::do_object(), Interpreter::loop_counter_overflow(), MethodSweeper::method_task(), and set_sharing_count().

Here is the call graph for this function:

bool methodOopDesc::is_accessMethod (  )  const [inline]

Definition at line 189 of file methodOop.hpp.

References codes(), and Bytecodes::return_instVar.

Referenced by InterpretedIC::update_inline_cache().

Here is the call graph for this function:

bool methodOopDesc::is_blockMethod (  )  const [inline]

Definition at line 77 of file methodOop.hpp.

References oopDesc::is_symbol(), and selector_or_method().

Referenced by activation_has_context(), StackChunkBuilder::append(), enclosing_method_selector(), home(), scopeNode::is_block_method(), LookupKey::is_block_type(), LookupKey::is_super_type(), MethodPrettyPrinter::MethodPrettyPrinter(), number_of_arguments(), interpretedVFrame::parent(), pnode::print_method_on(), print_value_for(), interpretedVFrame::receiver(), and interpretedVFrame::verify().

Here is the call graph for this function:

bool methodOopDesc::is_clean_block (  )  const [inline]

Definition at line 255 of file methodOop.hpp.

References expects_nil.

bool methodOopDesc::is_copying_block (  )  const [inline]

Definition at line 256 of file methodOop.hpp.

References expects_parameter, and expects_self.

bool methodOopDesc::is_customized (  )  const [inline]

Definition at line 263 of file methodOop.hpp.

References flags(), isCustomizedFlag, and isSet.

Referenced by allocate_block_for(), and Klass::local_lookup().

Here is the call graph for this function:

bool methodOopDesc::is_full_block (  )  const [inline]

Definition at line 257 of file methodOop.hpp.

References expects_context.

bool methodOopDesc::is_primitiveMethod (  )  const

Definition at line 738 of file methodOop.cpp.

Referenced by InterpretedIC::update_inline_cache().

bool methodOopDesc::is_special_primitiveMethod (  )  const [inline]

Definition at line 193 of file methodOop.hpp.

References codes(), and Bytecodes::special_primitive_send_1_hint.

Referenced by InterpretedIC::update_inline_cache().

Here is the call graph for this function:

int methodOopDesc::lexicalDistance ( int  contextNo  ) 

Definition at line 391 of file methodOop.cpp.

References allocatesInterpretedContext(), and parent().

Here is the call graph for this function:

methodOop methodOopDesc::methodOop_from_hcode ( u_char hp  )  [static]

Definition at line 765 of file methodOop.cpp.

Referenced by CodeIterator::CodeIterator(), findm(), frame::oop_iterate_interpreted_float_frame(), and patch_last_delta_frame().

bool methodOopDesc::mustBeCustomizedToClass (  )  const [inline]

Definition at line 252 of file methodOop.hpp.

References flags(), isSet, and mustBeCustomizedFlag.

Here is the call graph for this function:

int methodOopDesc::next_bci ( int  bci  )  const

Definition at line 543 of file methodOop.cpp.

Referenced by patch_last_delta_frame().

int methodOopDesc::next_bci_from ( u_char hp  )  const

Definition at line 86 of file methodOop.cpp.

References addr().

Referenced by bci_from(), and patch_last_delta_frame().

Here is the call graph for this function:

int methodOopDesc::nofArgs (  )  const [inline]

Definition at line 68 of file methodOop.hpp.

References get_unsigned_bitfield(), method_args_mask_bitno, method_args_mask_size, and size_and_flags().

Referenced by number_of_arguments(), set_flags(), and set_size_of_code().

Here is the call graph for this function:

int methodOopDesc::number_of_arguments (  )  const

Definition at line 101 of file methodOop.cpp.

References assert, is_blockMethod(), nofArgs(), and selector().

Referenced by allocate_block_for(), deltaVFrame::arguments(), MethodIterator::dispatch(), MethodPrettyPrinter::MethodPrettyPrinter(), and deltaVFrame::verify().

Here is the call graph for this function:

int methodOopDesc::number_of_context_temporaries ( bool self_in_context = NULL  ) 

Definition at line 864 of file methodOop.cpp.

int methodOopDesc::number_of_float_temporaries (  )  const [inline]

Definition at line 179 of file methodOop.hpp.

References codes(), and has_float_temporaries().

Referenced by float_offset(), and total_number_of_floats().

Here is the call graph for this function:

int methodOopDesc::number_of_stack_temporaries (  )  const

Definition at line 107 of file methodOop.cpp.

References Bytecodes::allocate_temp_1, Bytecodes::allocate_temp_2, Bytecodes::allocate_temp_3, Bytecodes::allocate_temp_n, codes(), and Bytecodes::float_allocate.

Referenced by StackChunkBuilder::append(), interpretedVFrame::expression_stack(), float_section_start_offset(), and MethodClosure::set_method().

Here is the call graph for this function:

oop methodOopDesc::oop_at ( int  offset  )  const [inline]

Definition at line 162 of file methodOop.hpp.

References codes().

Here is the call graph for this function:

void methodOopDesc::oop_at_put ( int  offset,
oop  obj 
) [inline]

Definition at line 163 of file methodOop.hpp.

References codes().

Here is the call graph for this function:

methodOop methodOopDesc::parent (  )  const

Definition at line 178 of file methodOop.cpp.

References oopDesc::is_method(), and selector_or_method().

Referenced by contextNo(), enclosing_method_selector(), home(), lexicalDistance(), and print_inlining_database_on().

Here is the call graph for this function:

void methodOopDesc::pretty_print (  ) 

Definition at line 166 of file methodOop.cpp.

References prettyPrinter::print().

Referenced by interpretedVFrame::expression_stack(), ph(), pm(), and print_codes().

Here is the call graph for this function:

void methodOopDesc::print_codes (  ) 

Definition at line 157 of file methodOop.cpp.

References outputStream::cr(), symbolOopDesc::print_symbol_on(), selector(), and std.

Referenced by decode_method(), interpretedVFrame::expression_stack(), methodKlass::oop_print_layout(), PRIM_DECL_1(), PRIM_DECL_2(), and print_codes().

Here is the call graph for this function:

void methodOopDesc::print_inlining_database_on ( outputStream st  ) 

Definition at line 823 of file methodOop.cpp.

References bci_for_block_method(), parent(), outputStream::print(), and print_inlining_database_on().

Referenced by InliningDatabase::method_string(), print_inlining_database_on(), and LookupKey::print_inlining_database_on().

Here is the call graph for this function:

void methodOopDesc::print_value_for ( klassOop  receiver_klass,
outputStream st = NULL 
)

Definition at line 142 of file methodOop.cpp.

References enclosing_method_selector(), is_blockMethod(), klassOopDesc::klass_part(), Klass::lookup_method_holder_for(), outputStream::print(), Klass::print_name_on(), symbolOopDesc::print_symbol_on(), selector(), and std.

Here is the call graph for this function:

objArrayOop methodOopDesc::referenced_class_variable_names (  )  const

Definition at line 1187 of file methodOop.cpp.

Referenced by PRIM_DECL_1().

objArrayOop methodOopDesc::referenced_global_names (  )  const

Definition at line 1208 of file methodOop.cpp.

Referenced by PRIM_DECL_1().

objArrayOop methodOopDesc::referenced_instance_variable_names ( mixinOop  mixin  )  const

Definition at line 1163 of file methodOop.cpp.

Referenced by PRIM_DECL_2().

symbolOop methodOopDesc::selector (  )  const

Definition at line 172 of file methodOop.cpp.

References oopDesc::is_symbol(), and selector_or_method().

Referenced by mixinOopDesc::add_method(), Klass::add_method(), enclosing_method_selector(), Klass::local_lookup(), number_of_arguments(), blockClosureKlass::oop_print_value_on(), PRIM_DECL_1(), print_codes(), LookupKey::print_inlining_database_on(), pnode::print_method_on(), print_value_for(), LookupKey::selector(), InterpretedIC::selector(), and trace_send().

Here is the call graph for this function:

oop methodOopDesc::selector_or_method (  )  const [inline]

Definition at line 86 of file methodOop.hpp.

References _selector_or_method, and addr().

Referenced by FlatProfiler::interpreted_update(), is_blockMethod(), parent(), PRIM_DECL_1(), and selector().

Here is the call graph for this function:

static int methodOopDesc::selector_or_method_byte_offset (  )  [inline, static]

Definition at line 50 of file methodOop.hpp.

References _selector_or_method, and Mem_Tag.

objArrayOop methodOopDesc::senders (  )  const

Definition at line 1246 of file methodOop.cpp.

Referenced by PRIM_DECL_1().

void methodOopDesc::set_counters ( int  inv,
int  share 
) [inline]

Definition at line 120 of file methodOop.hpp.

References _counters, _invocation_count_offset, and addr().

Referenced by bootstrap_object(), set_invocation_count(), and set_sharing_count().

Here is the call graph for this function:

void methodOopDesc::set_debugInfo ( objArrayOop  d  )  [inline]

Definition at line 80 of file methodOop.hpp.

References _debugInfo, and addr().

Here is the call graph for this function:

void methodOopDesc::set_flags ( int  flags  )  [inline]

Definition at line 64 of file methodOop.hpp.

References nofArgs(), set_size_and_flags(), and size_of_codes().

Here is the call graph for this function:

void methodOopDesc::set_invocation_count ( int  value  )  [inline]

Definition at line 124 of file methodOop.hpp.

References set_counters(), and sharing_count().

Referenced by decay_invocation_count(), ClearInvocationCounterClosure::do_object(), and Interpreter::loop_counter_overflow().

Here is the call graph for this function:

void methodOopDesc::set_method_inlining_info ( Method_Inlining_Info  info  ) 

Definition at line 352 of file methodOop.cpp.

Referenced by PRIM_DECL_2().

void methodOopDesc::set_selector_or_method ( oop  value  )  [inline]

Definition at line 87 of file methodOop.hpp.

References _selector_or_method, and addr().

Referenced by PRIM_DECL_2().

Here is the call graph for this function:

void methodOopDesc::set_sharing_count ( int  value  )  [inline]

Definition at line 130 of file methodOop.hpp.

References invocation_count(), and set_counters().

Referenced by dec_sharing_count(), and inc_sharing_count().

Here is the call graph for this function:

void methodOopDesc::set_size_and_flags ( int  size,
int  nofArgs,
int  flags 
) [inline]

Definition at line 55 of file methodOop.hpp.

References _size_and_flags, addr(), method_args_mask_bitno, method_flags_mask_bitno, and method_size_mask_bitno.

Referenced by set_flags(), and set_size_of_code().

Here is the call graph for this function:

void methodOopDesc::set_size_of_code ( int  size  )  [inline]

Definition at line 140 of file methodOop.hpp.

References flags(), nofArgs(), and set_size_and_flags().

Here is the call graph for this function:

int methodOopDesc::sharing_count (  )  const [inline]

Definition at line 129 of file methodOop.hpp.

References _sharing_count_offset, _sharing_count_width, counters(), and get_unsigned_bitfield().

Referenced by dec_sharing_count(), inc_sharing_count(), and set_invocation_count().

Here is the call graph for this function:

bool methodOopDesc::should_be_customized (  )  const [inline]

Definition at line 264 of file methodOop.hpp.

References has_classVar_access(), has_inlineCache(), and has_instVar_access().

Referenced by Klass::local_lookup().

Here is the call graph for this function:

smiOop methodOopDesc::size_and_flags (  )  const [inline]

Definition at line 54 of file methodOop.hpp.

References _size_and_flags, and addr().

Referenced by flags(), nofArgs(), PRIM_DECL_1(), and size_of_codes().

Here is the call graph for this function:

int methodOopDesc::size_of_codes (  )  const [inline]

Definition at line 136 of file methodOop.hpp.

References get_unsigned_bitfield(), method_size_mask_bitno, method_size_mask_size, and size_and_flags().

Referenced by bootstrap_object(), codes_end(), and set_flags().

Here is the call graph for this function:

byteArrayOop methodOopDesc::source (  ) 

Definition at line 191 of file methodOop.cpp.

References oopFactory::new_symbol().

Here is the call graph for this function:

Bytecodes::Code methodOopDesc::special_primitive_code (  )  const

Definition at line 757 of file methodOop.cpp.

Referenced by InterpretedIC::update_inline_cache().

objArrayOop methodOopDesc::tempInfo (  ) 

Definition at line 196 of file methodOop.cpp.

References debugInfo().

Referenced by TempDecoder::decode().

Here is the call graph for this function:

int methodOopDesc::total_number_of_floats (  )  const [inline]

Definition at line 181 of file methodOop.hpp.

References float_expression_stack_size(), and number_of_float_temporaries().

Referenced by float_section_size().

Here is the call graph for this function:

void methodOopDesc::uncustomize_for ( mixinOop  mixin  ) 

Definition at line 933 of file methodOop.cpp.

Referenced by mixinOopDesc::uncustomize_methods().

void methodOopDesc::verify_context ( contextOop  con  ) 

Definition at line 1024 of file methodOop.cpp.

References warning().

Referenced by StackChunkBuilder::append(), and interpretedVFrame::verify().

Here is the call graph for this function:

bool methodOopDesc::was_never_executed (  ) 

Definition at line 481 of file methodOop.cpp.

long methodOopDesc::word_at ( int  offset  )  const [inline]

Definition at line 159 of file methodOop.hpp.

References codes().

Here is the call graph for this function:

void methodOopDesc::word_at_put ( int  offset,
unsigned long  w 
) [inline]

Definition at line 160 of file methodOop.hpp.

References codes().

Here is the call graph for this function:


Friends And Related Function Documentation

methodOop as_methodOop ( void *  p  )  [friend]

Definition at line 72 of file methodOop.hpp.


Member Data Documentation

int methodOopDesc::_counters [private]

Definition at line 40 of file methodOop.hpp.

Referenced by counters(), counters_byte_offset(), and set_counters().

objArrayOop methodOopDesc::_debugInfo [private]

Definition at line 38 of file methodOop.hpp.

Referenced by bootstrap_object(), debugInfo(), methodKlass::oop_follow_contents(), methodKlass::oop_layout_iterate(), methodKlass::oop_oop_iterate(), and set_debugInfo().

oop methodOopDesc::_selector_or_method [private]

Definition at line 39 of file methodOop.hpp.

Referenced by bootstrap_object(), methodKlass::oop_follow_contents(), methodKlass::oop_layout_iterate(), methodKlass::oop_oop_iterate(), selector_or_method(), selector_or_method_byte_offset(), and set_selector_or_method().

smiOop methodOopDesc::_size_and_flags [private]

Definition at line 41 of file methodOop.hpp.

Referenced by bootstrap_object(), methodKlass::oop_layout_iterate(), methodKlass::oop_oop_iterate(), set_size_and_flags(), and size_and_flags().

enum methodOopDesc::Block_Info methodOopDesc::const

enum methodOopDesc::Method_Inlining_Info methodOopDesc::const

friend methodOopDesc::methodKlass

Definition at line 333 of file methodOop.hpp.


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