< prev index next >

src/hotspot/share/oops/valueKlass.hpp

Print this page

        

*** 193,202 **** --- 193,203 ---- // Metadata iterators void array_klasses_do(void f(Klass* k)); // allocate_instance() allocates a stand alone value in the Java heap instanceOop allocate_instance(TRAPS); + instanceOop allocate_instance_buffer(TRAPS); // minimum number of bytes occupied by nonstatic fields, HeapWord aligned or pow2 int raw_value_byte_size(); address data_for_oop(oop o) const;
*** 271,280 **** --- 272,285 ---- static ByteSize default_value_offset_offset() { return byte_offset_of(ValueKlassFixedBlock, _default_value_offset); } + static ByteSize first_field_offset_offset() { + return byte_offset_of(ValueKlassFixedBlock, _first_field_offset); + } + void set_default_value_offset(int offset) { *((int*)adr_default_value_offset()) = offset; } int default_value_offset() {
< prev index next >