#include <byteArrayKlass.hpp>
Inheritance diagram for byteArrayKlass:
Public Member Functions | |
bool | can_inline_allocation () const |
int | object_size (int number_of_bytes) const |
int | length_offset () const |
int | array_offset () const |
oop | allocateObject () |
oop | allocateObjectSize (int bytes) |
klassOop | create_subclass (mixinOop mixin, Format format) |
Format | format () |
void | initialize_object (byteArrayOop obj, char *value, int len) |
char * | name () const |
int | oop_size (oop obj) const |
int | oop_scavenge_contents (oop obj) |
int | oop_scavenge_tenured_contents (oop obj) |
bool | oop_verify (oop obj) |
void | oop_print_value_on (oop obj, outputStream *st) |
void | oop_oop_iterate (oop obj, OopClosure *blk) |
void | oop_layout_iterate (oop obj, ObjectLayoutClosure *blk) |
int | oop_header_size () const |
bool | oop_is_byteArray () const |
bool | oop_is_indexable () const |
Static Public Member Functions | |
static klassOop | create_class (klassOop super_class, mixinOop mixin) |
Friends | |
void | set_byteArrayKlass_vtbl (Klass *k) |
Definition at line 24 of file byteArrayKlass.hpp.
oop byteArrayKlass::allocateObject | ( | ) | [virtual] |
Reimplemented from memOopKlass.
Definition at line 28 of file byteArrayKlass.cpp.
References assert, badOop, can_inline_allocation(), and fatal.
Here is the call graph for this function:
oop byteArrayKlass::allocateObjectSize | ( | int | bytes | ) | [virtual] |
Reimplemented from memOopKlass.
Definition at line 34 of file byteArrayKlass.cpp.
References byteArrayOopDesc::addr(), Universe::allocate(), as_byteArrayOop(), Klass::as_klassOop(), as_smiOop(), memOopDesc::header_size(), memOopDesc::initialize_body(), memOopDesc::initialize_header(), Klass::non_indexable_size(), oopSize, and roundTo.
Referenced by oopFactory::new_byteArray().
Here is the call graph for this function:
int byteArrayKlass::array_offset | ( | ) | const [inline] |
Definition at line 37 of file byteArrayKlass.hpp.
References Klass::non_indexable_size().
Here is the call graph for this function:
bool byteArrayKlass::can_inline_allocation | ( | ) | const [inline, virtual] |
Reimplemented from memOopKlass.
Reimplemented in symbolKlass.
Definition at line 27 of file byteArrayKlass.hpp.
Referenced by allocateObject().
Reimplemented from memOopKlass.
Reimplemented in symbolKlass.
Definition at line 63 of file byteArrayKlass.cpp.
References Klass::create_generic_class(), Klass::mixin(), and Klass::vtbl_value().
Referenced by memOopKlass::create_subclass(), and create_subclass().
Here is the call graph for this function:
Reimplemented from memOopKlass.
Reimplemented in symbolKlass.
Definition at line 56 of file byteArrayKlass.cpp.
References Klass::as_klassOop(), Klass::byteArray_klass, create_class(), Klass::mem_klass, and Klass::mixin().
Here is the call graph for this function:
Format byteArrayKlass::format | ( | ) | [inline, virtual] |
Reimplemented from memOopKlass.
Reimplemented in symbolKlass.
Definition at line 49 of file byteArrayKlass.hpp.
References Klass::byteArray_klass.
void byteArrayKlass::initialize_object | ( | byteArrayOop | obj, | |
char * | value, | |||
int | len | |||
) |
Definition at line 68 of file byteArrayKlass.cpp.
References byteArrayOopDesc::byte_at_put().
Referenced by symbolKlass::allocateSymbol().
Here is the call graph for this function:
int byteArrayKlass::length_offset | ( | ) | const [inline] |
Definition at line 36 of file byteArrayKlass.hpp.
References Klass::non_indexable_size().
Here is the call graph for this function:
char* byteArrayKlass::name | ( | ) | const [inline, virtual] |
Reimplemented from memOopKlass.
Reimplemented in symbolKlass.
Definition at line 56 of file byteArrayKlass.hpp.
int byteArrayKlass::object_size | ( | int | number_of_bytes | ) | const [inline] |
Definition at line 30 of file byteArrayKlass.hpp.
References Klass::non_indexable_size(), oopSize, and roundTo.
Referenced by symbolKlass::allocateSymbol(), oop_scavenge_contents(), oop_scavenge_tenured_contents(), and oop_size().
Here is the call graph for this function:
int byteArrayKlass::oop_header_size | ( | ) | const [inline, virtual] |
Reimplemented from memOopKlass.
Definition at line 74 of file byteArrayKlass.hpp.
References memOopDesc::header_size().
Here is the call graph for this function:
bool byteArrayKlass::oop_is_byteArray | ( | ) | const [inline, virtual] |
bool byteArrayKlass::oop_is_indexable | ( | ) | const [inline, virtual] |
void byteArrayKlass::oop_layout_iterate | ( | oop | obj, | |
ObjectLayoutClosure * | blk | |||
) | [virtual] |
Reimplemented from memOopKlass.
Definition at line 99 of file byteArrayKlass.cpp.
References ObjectLayoutClosure::begin_indexables(), byteArrayOopDesc::bytes(), ObjectLayoutClosure::do_indexable_byte(), ObjectLayoutClosure::do_oop(), ObjectLayoutClosure::end_indexables(), byteArrayOopDesc::length(), byteArrayOopDesc::length_addr(), and memOopKlass::oop_layout_iterate().
Here is the call graph for this function:
void byteArrayKlass::oop_oop_iterate | ( | oop | obj, | |
OopClosure * | blk | |||
) | [virtual] |
Reimplemented from memOopKlass.
Definition at line 114 of file byteArrayKlass.cpp.
References OopClosure::do_oop(), byteArrayOopDesc::length_addr(), and memOopKlass::oop_oop_iterate().
Here is the call graph for this function:
void byteArrayKlass::oop_print_value_on | ( | oop | obj, | |
outputStream * | st | |||
) | [virtual] |
Reimplemented from memOopKlass.
Reimplemented in symbolKlass.
Definition at line 84 of file byteArrayKlass.cpp.
References assert_byteArray, byteArrayOopDesc::byte_at(), byteArrayOopDesc::length(), min(), and outputStream::print().
Here is the call graph for this function:
int byteArrayKlass::oop_scavenge_contents | ( | oop | obj | ) | [virtual] |
Reimplemented from memOopKlass.
Definition at line 121 of file byteArrayKlass.cpp.
References object_size(), and memOopKlass::oop_scavenge_contents().
Here is the call graph for this function:
int byteArrayKlass::oop_scavenge_tenured_contents | ( | oop | obj | ) | [virtual] |
Reimplemented from memOopKlass.
Definition at line 127 of file byteArrayKlass.cpp.
References object_size(), and memOopKlass::oop_scavenge_tenured_contents().
Here is the call graph for this function:
int byteArrayKlass::oop_size | ( | oop | obj | ) | const [inline, virtual] |
Reimplemented from Klass.
Definition at line 61 of file byteArrayKlass.hpp.
References object_size().
Here is the call graph for this function:
Reimplemented from memOopKlass.
Definition at line 79 of file byteArrayKlass.cpp.
References assert_byteArray, and byteArrayOopDesc::verify().
Here is the call graph for this function:
void set_byteArrayKlass_vtbl | ( | Klass * | k | ) | [friend] |
Definition at line 74 of file byteArrayKlass.cpp.