Searched refs:header_size (Results 1 - 25 of 80) sorted by relevance

1234

/openjdk10/hotspot/src/share/vm/oops/
H A DarrayOop.hpp76 return header_size(type) * HeapWordSize;
100 static int header_size(BasicType type) { function in class:arrayOopDesc
108 // to typeArrayOop::object_size(scale, length, header_size) without causing an
116 align_down((SIZE_MAX/HeapWordSize - header_size(type)), MinObjAlignment);
124 return align_down(max_jint - header_size(type), MinObjAlignment);
H A DinstanceOop.hpp36 static int header_size() { return sizeof(instanceOopDesc)/HeapWordSize; } function in class:instanceOopDesc
H A DobjArrayOop.hpp90 static int header_size() { return arrayOopDesc::header_size(T_OBJECT); } function in class:objArrayOopDesc
96 uint osz = align_object_size(header_size() + asz);
H A DarrayKlass.cpp41 int ArrayKlass::static_size(int header_size) { argument
43 assert(header_size <= InstanceKlass::header_size(), "bad header size");
45 header_size = InstanceKlass::header_size();
47 int size = header_size + vtable_len;
H A DtypeArrayKlass.hpp134 static int header_size() { return sizeof(TypeArrayKlass)/wordSize; } function in class:TypeArrayKlass
135 int size() const { return ArrayKlass::static_size(header_size()); }
H A DobjArrayKlass.hpp111 static int header_size() { return sizeof(ObjArrayKlass)/wordSize; } function in class:ObjArrayKlass
112 int size() const { return ArrayKlass::static_size(header_size()); }
H A DtypeArrayKlass.cpp81 assert(TypeArrayKlass::header_size() <= InstanceKlass::header_size(),
84 int size = ArrayKlass::static_size(TypeArrayKlass::header_size());
95 assert(size() >= TypeArrayKlass::header_size(), "bad size");
H A DarrayKlass.hpp105 static int static_size(int header_size);
/openjdk10/hotspot/src/share/vm/gc/cms/
H A DfreeChunk.cpp34 size_t const FreeChunk::header_size() { function in class:FreeChunk
47 size_t hdr = header_size();
58 size_t hdr = header_size();
H A DfreeChunk.hpp70 NOT_PRODUCT(static const size_t header_size();)
/openjdk10/hotspot/src/cpu/arm/vm/
H A Dc1_MacroAssembler_arm.hpp50 int header_size, int object_size,
55 int header_size, int element_size,
H A Dc1_MacroAssembler_arm.cpp140 RegisterOrConstant header_size, int obj_size_in_bytes,
151 add_rc(ptr, obj, header_size);
155 int base = instanceOopDesc::header_size() * HeapWordSize;
185 const int base = instanceOopDesc::header_size() * HeapWordSize;
190 assert(header_size.is_constant() || header_size.as_register() == ptr, "code assumption");
191 add(ptr, obj, header_size);
203 int header_size, int object_size,
206 assert(header_size >= 0 && object_size >= header_size, "illega
138 initialize_object(Register obj, Register obj_end, Register klass, Register len, Register tmp1, Register tmp2, RegisterOrConstant header_size, int obj_size_in_bytes, bool is_tlab_allocated) argument
202 allocate_object(Register obj, Register tmp1, Register tmp2, Register tmp3, int header_size, int object_size, Register klass, Label& slow_case) argument
222 allocate_array(Register obj, Register len, Register tmp1, Register tmp2, Register tmp3, int header_size, int element_size, Register klass, Label& slow_case) argument
[all...]
/openjdk10/hotspot/src/share/vm/gc/parallel/
H A DpsPromotionLAB.cpp47 // Initialize after VM starts up because header_size depends on compressed
49 filler_header_size = align_object_size(typeArrayOopDesc::header_size(T_INT));
88 pointer_delta(tlab_end, top()) - typeArrayOopDesc::header_size(T_INT);
94 HeapWord* elt_words = ((HeapWord*)filler_oop) + typeArrayOopDesc::header_size(T_INT);
/openjdk10/hotspot/src/share/vm/code/
H A DcodeBlob.hpp106 static unsigned int allocation_size(CodeBuffer* cb, int header_size);
156 int header_size() const { return _header_size; } function in class:VALUE_OBJ_CLASS_SPEC
259 CodeBlobLayout(const address start, int size, int header_size, int relocation_size, int data_offset) : argument
261 _header_size(header_size),
280 CodeBlobLayout(const address start, int size, int header_size, const CodeBuffer* cb) : argument
282 _header_size(header_size),
302 int header_size() const { return _header_size; } function in class:CodeBlobLayout
325 RuntimeBlob(const char* name, int header_size, int size, int frame_complete, int locs_size);
331 int header_size,
483 int header_size,
480 SingletonBlob( const char* name, CodeBuffer* cb, int header_size, int size, int frame_size, OopMapSet* oop_maps ) argument
[all...]
H A DcodeBlob.cpp56 ((offset + (int)CodeHeap::header_size() + (CodeEntryAlignment-1)) & ~(CodeEntryAlignment-1))
57 - (int)CodeHeap::header_size();
62 unsigned int CodeBlob::allocation_size(CodeBuffer* cb, int header_size) { argument
63 unsigned int size = header_size;
76 _header_size(layout.header_size()),
92 assert(is_aligned(layout.header_size(), oopSize), "unaligned size");
104 _header_size(layout.header_size()),
132 RuntimeBlob::RuntimeBlob(const char* name, int header_size, int size, int frame_complete, int locs_size) argument
133 : CodeBlob(name, compiler_none, CodeBlobLayout((address) this, size, header_size, locs_size, size), frame_complete, 0, NULL, false /* caller_must_gc_arguments */)
144 int header_size,
141 RuntimeBlob( const char* name, CodeBuffer* cb, int header_size, int size, int frame_complete, int frame_size, OopMapSet* oop_maps, bool caller_must_gc_arguments ) argument
[all...]
/openjdk10/hotspot/src/cpu/aarch64/vm/
H A Dc1_MacroAssembler_aarch64.hpp86 // header_size: size of object header in words
89 void allocate_object(Register obj, Register t1, Register t2, int header_size, int object_size, Register klass, Label& slow_case);
99 // header_size: size of object header in words
102 void allocate_array(Register obj, Register len, Register t, Register t2, int header_size, int f, Register klass, Label& slow_case);
H A Dc1_MacroAssembler_aarch64.cpp218 void C1_MacroAssembler::allocate_object(Register obj, Register t1, Register t2, int header_size, int object_size, Register klass, Label& slow_case) { argument
220 assert(header_size >= 0 && object_size >= header_size, "illegal sizes");
230 const int hdr_size_in_bytes = instanceOopDesc::header_size() * HeapWordSize;
288 void C1_MacroAssembler::allocate_array(Register obj, Register len, Register t1, Register t2, int header_size, int f, Register klass, Label& slow_case) { argument
301 mov(arr_size, (int32_t)header_size * BytesPerWord + MinObjAlignmentInBytesMask);
311 initialize_body(obj, arr_size, header_size * BytesPerWord, len_zero);
/openjdk10/hotspot/src/share/vm/gc/shared/
H A Dplab.cpp35 return align_object_size(MAX2(MinTLABSize / HeapWordSize, (uintx)oopDesc::header_size())) + AlignmentReserve;
46 // ArrayOopDesc::header_size depends on command line initialization.
47 AlignmentReserve = oopDesc::header_size() > MinObjAlignment ? align_object_size(arrayOopDesc::header_size(T_INT)) : 0;
H A DthreadLocalAllocBuffer.inline.hpp43 size_t hdr_size = oopDesc::header_size();
H A DcollectedHeap.cpp335 size_t hdr_size = oopDesc::header_size();
370 // header_size + ((sizeof(jint) * max_jint) / HeapWordSize)
375 size_t max_int_size = typeArrayOopDesc::header_size(T_INT) +
449 return align_object_offset(arrayOopDesc::header_size(T_INT)); // align to Long
/openjdk10/hotspot/src/cpu/x86/vm/
H A Dc1_MacroAssembler_x86.hpp77 // header_size: size of object header in words
80 void allocate_object(Register obj, Register t1, Register t2, int header_size, int object_size, Register klass, Label& slow_case);
90 // header_size: size of object header in words
93 void allocate_array(Register obj, Register len, Register t, Register t2, int header_size, Address::ScaleFactor f, Register klass, Label& slow_case);
H A Dc1_MacroAssembler_x86.cpp196 void C1_MacroAssembler::allocate_object(Register obj, Register t1, Register t2, int header_size, int object_size, Register klass, Label& slow_case) { argument
199 assert(header_size >= 0 && object_size >= header_size, "illegal sizes");
209 const int hdr_size_in_bytes = instanceOopDesc::header_size() * HeapWordSize;
257 void C1_MacroAssembler::allocate_array(Register obj, Register len, Register t1, Register t2, int header_size, Address::ScaleFactor f, Register klass, Label& slow_case) { argument
270 movptr(arr_size, (int32_t)header_size * BytesPerWord + MinObjAlignmentInBytesMask);
280 initialize_body(obj, arr_size, header_size * BytesPerWord, len_zero);
/openjdk10/jdk/src/java.base/share/native/libjimage/
H A DimageDecompressor.cpp218 int header_size = 8; // magic + major + minor local
219 memcpy(uncompressed_resource, data, header_size + 2); //+ cp count
220 uncompressed_resource += header_size + 2;
221 data += header_size;
H A DimageFile.cpp375 size_t header_size = sizeof(ImageHeader); local
376 if (_file_size < header_size ||
377 !read_at((u1*)&_header, header_size, 0) ||
396 u4 redirect_table_offset = (u4)header_size;
/openjdk10/hotspot/src/share/vm/memory/
H A Dheap.hpp163 static size_t header_size(); // returns the header size for each heap block

Completed in 293 milliseconds

1234