Go to the source code of this file.
Functions | |
void | printIndent () |
void | copy_oops_up (oop *from, oop *to, int count) |
void | set_oops (oop *to, int count, oop value=NULL) |
char * | copy_string (char *s) |
char * | copy_string (char *s, smi len) |
char * | copy_c_heap_string (char *s) |
void | copy_oops_down (oop *from, oop *to, int count) |
void | copy_oops (oop *from, oop *to, int count) |
void | copy_oops_overlapping (oop *from, oop *to, int count) |
void | copy_words (int *from, int *to, int count) |
void | set_words (int *from, int count, int value=0) |
int | min (int a, int b) |
int | max (int a, int b) |
int | min (int a, int b, int c) |
int | max (int a, int b, int c) |
int | byte_size (void *from, void *to) |
void | Unused (int x) |
void | Unused (void *x) |
Variables | |
int | Indent |
oop | catchThisOne |
const int | K = 1024 |
const int | M = K * K |
const int | oopSize = sizeof(oop) |
const int | floatSize = sizeof(double) |
int byte_size | ( | void * | from, | |
void * | to | |||
) | [inline] |
Definition at line 72 of file util.hpp.
Referenced by space::capacity(), space::free(), and space::used().
char* copy_c_heap_string | ( | char * | s | ) |
Definition at line 44 of file util.hpp.
References copy_oops_up().
Referenced by space::compact(), memOopDesc::copy_to_survivor_space(), and copy_words().
Here is the call graph for this function:
Definition at line 46 of file util.hpp.
References copy_oops_down(), and copy_oops_up().
Here is the call graph for this function:
Referenced by copy_oops(), and copy_oops_overlapping().
char* copy_string | ( | char * | s, | |
smi | len | |||
) |
char* copy_string | ( | char * | s | ) |
void copy_words | ( | int * | from, | |
int * | to, | |||
int | count | |||
) | [inline] |
Definition at line 51 of file util.hpp.
References copy_oops().
Here is the call graph for this function:
int max | ( | int | a, | |
int | b, | |||
int | c | |||
) | [inline] |
int min | ( | int | a, | |
int | b, | |||
int | c | |||
) | [inline] |
void printIndent | ( | ) |
Referenced by space::clear(), PRIM_DECL_2(), and set_words().
void set_words | ( | int * | from, | |
int | count, | |||
int | value = 0 | |||
) | [inline] |
Definition at line 54 of file util.hpp.
References set_oops().
Referenced by rSet::clear(), and ageTable::clear().
Here is the call graph for this function:
void Unused | ( | int | x | ) | [inline] |
Definition at line 82 of file util.hpp.
Referenced by ValueObj::operator delete(), StackObj::operator delete(), ValueObj::operator new(), StackObj::operator new(), and symbolKlass::scavenge().
const int floatSize = sizeof(double) |
Definition at line 70 of file util.hpp.
Referenced by InterpreterGenerator::float_addr(), methodOopDesc::float_offset(), methodOopDesc::float_section_size(), and Interpreter::oopify_FloatValue().
int Indent |
const int K = 1024 |
Definition at line 66 of file util.hpp.
Referenced by InliningDatabase::add_lookup_entry(), bootstrap::bootstrap(), oldSpace::expand_and_allocate(), PRIM_DECL_1(), space::print(), generation::print(), and scale_and_adjust().
Definition at line 69 of file util.hpp.
Referenced by InterpreterGenerator::advance_aligned(), ResourceArea::allocate_bytes(), allocateBlock(), doubleValueArrayKlass::allocateObjectSize(), doubleByteArrayKlass::allocateObjectSize(), byteArrayKlass::allocateObjectSize(), allocateTenuredBlock(), InterpreterGenerator::arg_addr(), MacroAssembler::call_C(), space::clear(), oopFactory::clone_double_to_oldspace(), CodeIterator::CodeIterator(), methodOopDesc::codes_end(), methodKlass::constructMethod(), blockClosureOopDesc::context_byte_offset(), MethodIterator::dispatch(), methodOopDesc::float_offset(), methodOopDesc::float_section_size(), StubRoutines::generate_call_DLL(), StubRoutines::generate_megamorphic_ic(), vframeOopDesc::header_size(), proxyOopDesc::header_size(), processOopDesc::header_size(), mixinOopDesc::header_size(), methodOopDesc::header_size(), memOopDesc::header_size(), klassOopDesc::header_size(), doubleOopDesc::header_size(), contextOopDesc::header_size(), blockClosureOopDesc::header_size(), associationOopDesc::header_size(), memOopDesc::klass_byte_offset(), InterpreterGenerator::load_recv(), memOopDesc::mark_byte_offset(), blockClosureOopDesc::method_or_entry_byte_offset(), oopFactory::new_double(), new_double(), CodeIterator::next_hp(), doubleValueArrayKlass::object_size(), doubleByteArrayKlass::object_size(), byteArrayKlass::object_size(), PRIM_DECL_2(), PRIM_DECL_6(), Counter::print(), InterpreterGenerator::push_instVar(), InterpreterGenerator::return_instVar(), InterpreterGenerator::return_tos(), Universe::scavenge(), MacroAssembler::set_last_Delta_frame_after_call(), InterpreterGenerator::skip_words(), InterpreterGenerator::store_instVar(), InterpreterGenerator::temp_addr(), and doubleOopDesc::value_offset().