oopFactory Class Reference

#include <oopFactory.hpp>

Inheritance diagram for oopFactory:

Inheritance graph
[legend]
Collaboration diagram for oopFactory:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static byteArrayOop new_byteArray (int size)
static byteArrayOop new_byteArray (char *name)
static objArrayOop new_objArray (int size)
static objArrayOop new_objArray (GrowableArray< oop > *array)
static smiOop new_smi (int value)
static doubleOop new_double (double value)
static doubleOop clone_double_to_oldspace (doubleOop value)
static symbolOop new_symbol (char *name, int len)
static symbolOop new_symbol (char *name)
static symbolOop new_symbol (byteArrayOop b)
static associationOop new_association (symbolOop key, oop value, bool is_constant)
static vframeOop new_vframe (processOop process, int index)

Detailed Description

Definition at line 26 of file oopFactory.hpp.


Member Function Documentation

doubleOop oopFactory::clone_double_to_oldspace ( doubleOop  value  )  [static]

Definition at line 70 of file oopFactory.cpp.

References Universe::allocate_tenured(), doubleKlassObj, memOopDesc::init_untagged_contents_mark(), oopSize, memOopDesc::set_klass_field(), doubleOopDesc::set_value(), and doubleOopDesc::value().

Here is the call graph for this function:

associationOop oopFactory::new_association ( symbolOop  key,
oop  value,
bool  is_constant 
) [static]

Definition at line 90 of file oopFactory.cpp.

References assert, Universe::associationKlassObj(), oopDesc::is_association(), associationOopDesc::set_is_constant(), associationOopDesc::set_key(), and associationOopDesc::set_value().

Referenced by Klass::create_generic_class(), PRIM_DECL_2(), PRIM_DECL_5(), and ClassChange::update_class_vars().

Here is the call graph for this function:

byteArrayOop oopFactory::new_byteArray ( char *  name  )  [static]

Definition at line 33 of file oopFactory.cpp.

References byteArrayOopDesc::byte_at_put(), and new_byteArray().

Here is the call graph for this function:

byteArrayOop oopFactory::new_byteArray ( int  size  )  [static]

Definition at line 27 of file oopFactory.cpp.

References byteArrayKlass::allocateObjectSize(), Universe::byteArrayKlassObj(), and klassOopDesc::klass_part().

Referenced by stringStream::as_byteArray(), byteArrayPrettyPrintStream::asByteArray(), new_byteArray(), PRIM_DECL_1(), and PRIM_DECL_2().

Here is the call graph for this function:

doubleOop oopFactory::new_double ( double  value  )  [static]

Definition at line 62 of file oopFactory.cpp.

References Universe::allocate(), doubleKlassObj, memOopDesc::init_untagged_contents_mark(), oopSize, memOopDesc::set_klass_field(), and doubleOopDesc::set_value().

Referenced by fake_time(), Interpreter::oopify_FloatValue(), PRIM_DECL_0(), PRIM_DECL_1(), and PRIM_DECL_2().

Here is the call graph for this function:

objArrayOop oopFactory::new_objArray ( GrowableArray< oop > *  array  )  [static]

Definition at line 48 of file oopFactory.cpp.

References objArrayKlass::allocateObjectSize(), GrowableArray< E >::at(), klassOopDesc::klass_part(), GenericGrowableArray::length(), objArrayOopDesc::obj_at_put(), Universe::objArrayKlassObj(), and processSemaphore.

Here is the call graph for this function:

objArrayOop oopFactory::new_objArray ( int  size  )  [static]

Definition at line 42 of file oopFactory.cpp.

References objArrayKlass::allocateObjectSize(), klassOopDesc::klass_part(), and Universe::objArrayKlassObj().

Referenced by mixinKlass::allocateObject(), StackChunkBuilder::as_objArray(), objectIDTable::cleanup_after_bootstrap(), objArrayOopDesc::copy(), objArrayOopDesc::copy_add(), objArrayOopDesc::copy_add_two(), objArrayOopDesc::copy_remove(), Klass::create_generic_class(), InterpretedIC::does_not_understand(), methodOopDesc::fileout_body(), Klass::flush_methods(), Klass::initialize(), PRIM_DECL_0(), PRIM_DECL_1(), and PRIM_DECL_2().

Here is the call graph for this function:

static smiOop oopFactory::new_smi ( int  value  )  [inline, static]

Definition at line 32 of file oopFactory.hpp.

References as_smiOop().

Here is the call graph for this function:

symbolOop oopFactory::new_symbol ( byteArrayOop  b  )  [static]

Definition at line 86 of file oopFactory.cpp.

References byteArrayOopDesc::chars(), byteArrayOopDesc::length(), and new_symbol().

Here is the call graph for this function:

symbolOop oopFactory::new_symbol ( char *  name  )  [static]

Definition at line 82 of file oopFactory.cpp.

References new_symbol().

Here is the call graph for this function:

symbolOop oopFactory::new_symbol ( char *  name,
int  len 
) [static]

Definition at line 78 of file oopFactory.cpp.

References symbolTable::lookup(), and Universe::symbol_table.

Referenced by VMProcess::activate_system(), InterpretedIC::does_not_understand(), evaluator::eval_message(), Universe::find_global(), Universe::find_global_association(), TokenStream::is_symbol(), new_symbol(), PRIM_DECL_0(), PRIM_DECL_1(), PRIM_DECL_2(), print_codes(), Klass::print_name_on(), scan_key(), primitive_desc::selector(), methodOopDesc::source(), and symbol_from_method_inlining_info().

Here is the call graph for this function:

vframeOop oopFactory::new_vframe ( processOop  process,
int  index 
) [static]

Definition at line 99 of file oopFactory.cpp.

References vframeKlass::allocateObject(), klassOopDesc::klass_part(), processOopDesc::process(), vframeOopDesc::set_index(), vframeOopDesc::set_process(), vframeOopDesc::set_time_stamp(), DeltaProcess::time_stamp(), and Universe::vframeKlassObj().

Referenced by PRIM_DECL_2().

Here is the call graph for this function:


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