contextOopDesc Class Reference

#include <blockOop.hpp>

Inheritance diagram for contextOopDesc:

Inheritance graph
[legend]
Collaboration diagram for contextOopDesc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void set_parent (oop h)
oop parent () const
bool is_dead () const
bool has_parent_fp () const
bool has_outer_context () const
int * parent_fp () const
void set_home_fp (int *fp)
contextOop outer_context () const
void kill ()
int object_size ()
oopobj_addr_at (int index)
oop obj_at (int index)
void obj_at_put (int index, oop value)
int length ()
void set_unoptimized_context (contextOop con)
contextOop unoptimized_context ()
int chain_length () const
void print_home_on (outputStream *st)

Static Public Member Functions

static int header_size ()
static int parent_word_offset ()
static int temp0_word_offset ()
static int parent_byte_offset ()
static int temp0_byte_offset ()

Public Attributes

friend contextKlass

Private Member Functions

contextOop addr () const

Private Attributes

smiOop _parent

Friends

contextOop as_contextOop (void *p)

Detailed Description

Definition at line 83 of file blockOop.hpp.


Member Function Documentation

contextOop contextOopDesc::addr (  )  const [inline, private]

Reimplemented from memOopDesc.

Definition at line 97 of file blockOop.hpp.

References memOopDesc::addr().

Referenced by parent(), and set_parent().

Here is the call graph for this function:

int contextOopDesc::chain_length (  )  const

Definition at line 135 of file blockOop.cpp.

References GrowableArray< E >::append(), assert, GrowableArray< E >::find(), has_outer_context(), and memOopDesc::size().

Here is the call graph for this function:

bool contextOopDesc::has_outer_context (  )  const

Definition at line 105 of file blockOop.cpp.

References oopDesc::is_context(), and parent().

Referenced by chain_length(), deoptimize_block(), outer_context(), print_context_chain(), print_home_on(), and validateContextChain().

Here is the call graph for this function:

bool contextOopDesc::has_parent_fp (  )  const

Definition at line 100 of file blockOop.cpp.

References is_dead(), oopDesc::is_smi(), and parent().

Referenced by parent_fp(), and print_home_on().

Here is the call graph for this function:

static int contextOopDesc::header_size (  )  [inline, static]

Reimplemented from memOopDesc.

Definition at line 121 of file blockOop.hpp.

References oopSize.

Referenced by contextKlass::allocateObjectSize(), obj_addr_at(), obj_at(), obj_at_put(), object_size(), contextKlass::oop_follow_contents(), contextKlass::oop_header_size(), contextKlass::oop_layout_iterate(), contextKlass::oop_oop_iterate(), contextKlass::oop_scavenge_contents(), and contextKlass::oop_scavenge_tenured_contents().

bool contextOopDesc::is_dead (  )  const

Definition at line 95 of file blockOop.cpp.

References nilObj, parent(), and smiOop_zero.

Referenced by has_parent_fp(), and print_home_on().

Here is the call graph for this function:

void contextOopDesc::kill (  )  [inline]

Definition at line 119 of file blockOop.hpp.

References set_parent(), and smiOop_zero.

Referenced by allocate_block_for(), and StackChunkBuilder::context_at_put().

Here is the call graph for this function:

int contextOopDesc::length (  )  [inline]

Definition at line 127 of file blockOop.hpp.

References markOopDesc::hash(), and memOopDesc::mark().

Referenced by object_size().

Here is the call graph for this function:

oop* contextOopDesc::obj_addr_at ( int  index  )  [inline]

Definition at line 124 of file blockOop.hpp.

References header_size(), and memOopDesc::oops().

Here is the call graph for this function:

oop contextOopDesc::obj_at ( int  index  )  [inline]

Definition at line 125 of file blockOop.hpp.

References header_size(), and memOopDesc::raw_at().

Referenced by interpretedVFrame::context_temp_at().

Here is the call graph for this function:

void contextOopDesc::obj_at_put ( int  index,
oop  value 
) [inline]

Definition at line 126 of file blockOop.hpp.

References header_size(), and memOopDesc::raw_at_put().

Referenced by allocate_block_for().

Here is the call graph for this function:

int contextOopDesc::object_size (  )  [inline]

Definition at line 122 of file blockOop.hpp.

References header_size(), and length().

Referenced by contextKlass::oop_scavenge_contents(), contextKlass::oop_scavenge_tenured_contents(), and contextKlass::oop_size().

Here is the call graph for this function:

contextOop contextOopDesc::outer_context (  )  const

Definition at line 110 of file blockOop.cpp.

References assert, has_outer_context(), oopDesc::is_context(), and parent().

Referenced by deoptimize_block(), print_context_chain(), print_home_on(), and validateContextChain().

Here is the call graph for this function:

oop contextOopDesc::parent (  )  const [inline]

Definition at line 102 of file blockOop.hpp.

References _parent, and addr().

Referenced by has_outer_context(), has_parent_fp(), is_dead(), outer_context(), parent_fp(), and unoptimized_context().

Here is the call graph for this function:

static int contextOopDesc::parent_byte_offset (  )  [inline, static]

Definition at line 132 of file blockOop.hpp.

References byteOffset(), and parent_word_offset().

Here is the call graph for this function:

int* contextOopDesc::parent_fp (  )  const [inline]

Definition at line 109 of file blockOop.hpp.

References has_parent_fp(), and parent().

Referenced by print_home_on().

Here is the call graph for this function:

static int contextOopDesc::parent_word_offset (  )  [inline, static]

Definition at line 130 of file blockOop.hpp.

Referenced by parent_byte_offset().

void contextOopDesc::print_home_on ( outputStream st  ) 

Definition at line 150 of file blockOop.cpp.

References assert, has_outer_context(), has_parent_fp(), is_dead(), memOopDesc::mark(), outer_context(), parent_fp(), outputStream::print(), oopDesc::print_value(), oopDesc::print_value_on(), and unoptimized_context().

Here is the call graph for this function:

void contextOopDesc::set_home_fp ( int *  fp  )  [inline]

Definition at line 110 of file blockOop.hpp.

References assert, oopDesc::is_smi(), and set_parent().

Referenced by StackChunkBuilder::context_at_put().

Here is the call graph for this function:

void contextOopDesc::set_parent ( oop  h  )  [inline]

Definition at line 101 of file blockOop.hpp.

References _parent, addr(), and STORE_OOP.

Referenced by kill(), set_home_fp(), and set_unoptimized_context().

Here is the call graph for this function:

void contextOopDesc::set_unoptimized_context ( contextOop  con  ) 

Definition at line 119 of file blockOop.cpp.

References assert, memOopDesc::mark(), memOopDesc::set_mark(), and set_parent().

Here is the call graph for this function:

static int contextOopDesc::temp0_byte_offset (  )  [inline, static]

Definition at line 133 of file blockOop.hpp.

References byteOffset(), and temp0_word_offset().

Here is the call graph for this function:

static int contextOopDesc::temp0_word_offset (  )  [inline, static]

Definition at line 131 of file blockOop.hpp.

Referenced by temp0_byte_offset().

contextOop contextOopDesc::unoptimized_context (  ) 

Definition at line 126 of file blockOop.cpp.

References assert, oopDesc::is_context(), memOopDesc::mark(), and parent().

Referenced by deoptimize_block(), deoptimize_context_and_patch_block(), print_home_on(), and validateContextChain().

Here is the call graph for this function:


Friends And Related Function Documentation

contextOop as_contextOop ( void *  p  )  [friend]

Definition at line 99 of file blockOop.hpp.


Member Data Documentation

smiOop contextOopDesc::_parent [private]

Definition at line 85 of file blockOop.hpp.

Referenced by parent(), and set_parent().

friend contextOopDesc::contextKlass

Definition at line 146 of file blockOop.hpp.


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 13:52:21 2006 for Strongtalk VM by  doxygen 1.4.7