objArrayOopDesc Class Reference

#include <objArrayOop.hpp>

Inheritance diagram for objArrayOopDesc:

Inheritance graph
[legend]
Collaboration diagram for objArrayOopDesc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void bootstrap_object (bootstrap *st)
objArrayOopDescaddr () const
bool is_within_bounds (int index) const
oopaddr_as_oops () const
oopobjs (int which) const
ooplength_addr () const
smi length () const
void set_length (smi len)
oop obj_at (int which) const
void obj_at_put (int which, oop contents, bool cs=true)
objArrayOop growBy (int increment)
bool verify ()
objArrayOop copy_remove (int from, int number=1)
objArrayOop copy ()
objArrayOop copy_add (oop a)
objArrayOop copy_add_two (oop a, oop b)
void replace_from_to (int from, int to, objArrayOop source, int start)
void replace_and_fill (int from, int start, objArrayOop source)

Public Attributes

friend objArrayKlass

Private Member Functions

oopbegin_indexables () const
oopend_indexables () const

Friends

objArrayOop as_objArrayOop (void *p)

Detailed Description

Definition at line 33 of file objArrayOop.hpp.


Member Function Documentation

objArrayOopDesc* objArrayOopDesc::addr (  )  const [inline]

Reimplemented from memOopDesc.

Reimplemented in weakArrayOopDesc.

Definition at line 42 of file objArrayOop.hpp.

References memOopDesc::addr().

Referenced by addr_as_oops(), objArrayKlass::allocate_tenured_pic(), objArrayKlass::allocateObjectSize(), and PRIM_DECL_2().

Here is the call graph for this function:

oop* objArrayOopDesc::addr_as_oops (  )  const [inline]

Definition at line 47 of file objArrayOop.hpp.

References addr().

Referenced by length_addr().

Here is the call graph for this function:

oop* objArrayOopDesc::begin_indexables (  )  const [inline, private]

Definition at line 101 of file objArrayOop.hpp.

References objs().

Referenced by end_indexables().

Here is the call graph for this function:

void objArrayOopDesc::bootstrap_object ( bootstrap st  ) 

Reimplemented from memOopDesc.

Definition at line 39 of file objArrayOop.cpp.

References memOopDesc::bootstrap_object(), length(), length_addr(), objs(), and bootstrap::read_oop().

Here is the call graph for this function:

objArrayOop objArrayOopDesc::copy (  ) 

Definition at line 59 of file objArrayOop.cpp.

References length(), oopFactory::new_objArray(), obj_at(), and obj_at_put().

Referenced by mixinOopDesc::add_method().

Here is the call graph for this function:

objArrayOop objArrayOopDesc::copy_add ( oop  a  ) 

Definition at line 66 of file objArrayOop.cpp.

References length(), oopFactory::new_objArray(), obj_at(), and obj_at_put().

Referenced by mixinOopDesc::add_classVar(), Klass::add_classVar(), Universe::add_global(), mixinOopDesc::add_instVar(), and mixinOopDesc::add_method().

Here is the call graph for this function:

objArrayOop objArrayOopDesc::copy_add_two ( oop  a,
oop  b 
)

Definition at line 74 of file objArrayOop.cpp.

References length(), oopFactory::new_objArray(), obj_at(), and obj_at_put().

Here is the call graph for this function:

objArrayOop objArrayOopDesc::copy_remove ( int  from,
int  number = 1 
)

Definition at line 46 of file objArrayOop.cpp.

References length(), oopFactory::new_objArray(), obj_at(), and obj_at_put().

Referenced by Universe::remove_global_at().

Here is the call graph for this function:

oop* objArrayOopDesc::end_indexables (  )  const [inline, private]

Definition at line 102 of file objArrayOop.hpp.

References begin_indexables(), and length().

Here is the call graph for this function:

objArrayOop objArrayOopDesc::growBy ( int  increment  ) 

bool objArrayOopDesc::is_within_bounds ( int  index  )  const [inline]

Definition at line 45 of file objArrayOop.hpp.

References length().

Here is the call graph for this function:

smi objArrayOopDesc::length (  )  const [inline]

Definition at line 57 of file objArrayOop.hpp.

References assert, oopDesc::is_smi(), length_addr(), and smiOopDesc::value().

Referenced by mixinOopDesc::add_classVar(), Klass::add_classVar(), mixinOopDesc::add_instVar(), mixinOopDesc::add_method(), Klass::add_method(), objArrayConverter::allocate(), Interpreter_PICs::allocate(), Reflection::apply_change(), bootstrap_object(), Delta::call(), Universe::classes_do(), InterpretedIC::cleanup(), methodKlass::constructMethod(), copy(), copy_add(), copy_add_two(), copy_remove(), Klass::create_generic_class(), mixinOopDesc::customize_for(), Interpreter_PICs::deallocate(), TempDecoder::decode(), decode_klass(), Universe::decode_methods(), end_indexables(), Interpreter_PICs::extend(), Universe::find_global(), Universe::find_global_association(), Universe::find_global_key_for(), objectIDTable::find_index(), weakArrayOopDesc::follow_contents_after_registration(), mixinOopDesc::includes_classVar(), Klass::includes_classVar(), mixinOopDesc::includes_instVar(), mixinOopDesc::includes_method(), InterpretedIC_Iterator::init_iteration(), mixinOopDesc::inst_var_offset(), objectIDTable::is_index_ok(), Klass::is_method_holder_for(), is_within_bounds(), Universe::klass_name(), Klass::local_lookup(), Klass::local_lookup_class_var(), MethodSweeper::method_dict_task(), Universe::method_holder_of(), Universe::methods_in_array_do(), mixinOopDesc::number_of_classVars(), Klass::number_of_classVars(), mixinOopDesc::number_of_instVars(), mixinOopDesc::number_of_methods(), Klass::number_of_methods(), obj_at(), obj_at_put(), objArrayNode::objArrayNode(), weakArrayKlass::oop_follow_contents(), objArrayKlass::oop_follow_contents(), weakArrayKlass::oop_layout_iterate(), objArrayKlass::oop_layout_iterate(), weakArrayKlass::oop_oop_iterate(), objArrayKlass::oop_oop_iterate(), objArrayKlass::oop_scavenge_contents(), objArrayKlass::oop_scavenge_tenured_contents(), objArrayKlass::oop_short_print_on(), InterpretedIC::pic_array(), PRIM_DECL_2(), Universe::print_klass_name(), Reflection::register_class_changes(), InterpretedIC::replace(), replace_and_fill(), weakArrayOopDesc::scavenge_contents_after_registration(), Interpreter_PICs::set_last(), MethodSweeper::task(), objArrayConverter::transfer(), mixinOopDesc::uncustomize_methods(), verify(), and verifyPIC().

Here is the call graph for this function:

oop* objArrayOopDesc::length_addr (  )  const [inline]

Definition at line 53 of file objArrayOop.hpp.

References addr_as_oops(), memOopDesc::blueprint(), and Klass::non_indexable_size().

Referenced by bootstrap_object(), length(), objs(), and set_length().

Here is the call graph for this function:

oop objArrayOopDesc::obj_at ( int  which  )  const [inline]

Definition at line 67 of file objArrayOop.hpp.

References assert, length(), and objs().

Referenced by mixinOopDesc::add_classVar(), Klass::add_classVar(), mixinOopDesc::add_instVar(), mixinOopDesc::add_method(), Klass::add_method(), InterpretedIC_Iterator::advance(), Interpreter_PICs::allocate(), Reflection::apply_change(), objectIDTable::at(), Universe::classes_do(), InterpretedIC::cleanup(), methodKlass::constructMethod(), copy(), copy_add(), copy_add_two(), copy_remove(), mixinOopDesc::customize_for(), Interpreter_PICs::deallocate(), TempDecoder::decode(), decode_klass(), Interpreter_PICs::extend(), mixinOopDesc::includes_classVar(), Klass::includes_classVar(), mixinOopDesc::includes_instVar(), mixinOopDesc::includes_method(), InterpretedIC_Iterator::init_iteration(), mixinOopDesc::inst_var_offset(), TempDecoder::is_heap_parameter(), Klass::is_method_holder_for(), Klass::local_lookup_class_var(), MethodSweeper::method_dict_task(), Universe::methods_in_array_do(), objArrayNode::objArrayNode(), objArrayKlass::oop_short_print_on(), PRIM_DECL_1(), PRIM_DECL_2(), Reflection::register_class_changes(), InterpretedIC::replace(), replace_and_fill(), replace_from_to(), MethodSweeper::task(), and mixinOopDesc::uncustomize_methods().

Here is the call graph for this function:

void objArrayOopDesc::obj_at_put ( int  which,
oop  contents,
bool  cs = true 
) [inline]

Definition at line 72 of file objArrayOop.hpp.

References assert, oopDesc::is_symbol(), length(), objs(), STORE_OOP, and oopDesc::verify().

Referenced by mixinOopDesc::add_method(), Klass::add_method(), Interpreter_PICs::allocate(), StackChunkBuilder::as_objArray(), InterpretedIC::cleanup(), copy(), copy_add(), copy_add_two(), copy_remove(), Klass::create_generic_class(), Interpreter_PICs::deallocate(), InterpretedIC::does_not_understand(), Interpreter_PICs::extend(), objectIDTable::insert(), oopFactory::new_objArray(), PRIM_DECL_0(), PRIM_DECL_1(), PRIM_DECL_2(), PRIM_DECL_3(), InterpretedIC::replace(), replace_and_fill(), replace_from_to(), Interpreter_PICs::set_first(), Interpreter_PICs::set_last(), and Interpreter_PICs::set_second().

Here is the call graph for this function:

oop* objArrayOopDesc::objs ( int  which  )  const [inline]

Definition at line 49 of file objArrayOop.hpp.

References length_addr().

Referenced by begin_indexables(), bootstrap_object(), Delta::call(), weakArrayOopDesc::follow_contents_after_registration(), Klass::local_lookup(), obj_at(), obj_at_put(), weakArrayKlass::oop_follow_contents(), objArrayKlass::oop_follow_contents(), weakArrayKlass::oop_layout_iterate(), objArrayKlass::oop_layout_iterate(), weakArrayKlass::oop_oop_iterate(), objArrayKlass::oop_oop_iterate(), objArrayKlass::oop_scavenge_contents(), objArrayKlass::oop_scavenge_tenured_contents(), and weakArrayOopDesc::scavenge_contents_after_registration().

Here is the call graph for this function:

void objArrayOopDesc::replace_and_fill ( int  from,
int  start,
objArrayOop  source 
)

Definition at line 116 of file objArrayOop.cpp.

References length(), min(), nilObj, obj_at(), and obj_at_put().

Referenced by PRIM_DECL_4().

Here is the call graph for this function:

void objArrayOopDesc::replace_from_to ( int  from,
int  to,
objArrayOop  source,
int  start 
)

Definition at line 101 of file objArrayOop.cpp.

References obj_at(), and obj_at_put().

Referenced by PRIM_DECL_5().

Here is the call graph for this function:

void objArrayOopDesc::set_length ( smi  len  )  [inline]

Definition at line 63 of file objArrayOop.hpp.

References as_smiOop(), and length_addr().

Referenced by PRIM_DECL_4().

Here is the call graph for this function:

bool objArrayOopDesc::verify (  ) 

Reimplemented from memOopDesc.

Definition at line 27 of file objArrayOop.cpp.

References error(), length(), and memOopDesc::verify().

Here is the call graph for this function:


Friends And Related Function Documentation

objArrayOop as_objArrayOop ( void *  p  )  [friend]

Definition at line 36 of file objArrayOop.hpp.


Member Data Documentation

friend objArrayOopDesc::objArrayKlass

Definition at line 98 of file objArrayOop.hpp.


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