inline bool expand_callinfo_table(const int delta) { GUARANTEE(align_allocation_size(delta) == (size_t)delta, "must be aligned"); if( !ObjectHeap::expand_current_compiled_method(delta) ) { return false; } ((CompiledMethodDesc*) obj())->set_size(size() + delta); return true; }
// Compute allocation size static size_t allocation_size(size_t static_field_size,size_t oop_map_size) { size_t size = sizeof(JavaClassDesc) + oop_map_size; #if !ENABLE_ISOLATES size += static_field_size; #else (void)static_field_size; #endif return align_allocation_size(size); }
static size_t allocation_size(jint statics_size, jint vtable_length) { size_t size = header_size() + statics_size; #if USE_EMBEDDED_VTABLE_BITMAP size += bitmap_size(vtable_length); #else (void)vtable_length; #endif return align_allocation_size(size); }
static size_t allocation_size() { return align_allocation_size(sizeof(ROMLookupTableDesc)); }
static size_t allocation_size() { return align_allocation_size(sizeof(VMEventDesc)); }
// Computes the allocation size static size_t allocation_size(int length) { // each stackmap entry consists of a data integer/pointer return align_allocation_size(header_size() + length * sizeof(int)); }
// Computes the allocation size static size_t allocation_size(int length) { return align_allocation_size(header_size() + length * sizeof(OopDesc*)); }
static size_t allocation_size() { return align_allocation_size(sizeof(StringProxyLockDesc)); }
// Computes the allocation size static size_t allocation_size(int length) { // length in bytes return align_allocation_size(header_size() + length); }
// Returns the size of a symbol with the given length. static size_t allocation_size(int length) { GUARANTEE(length >= 0, "Cannot allocate symbol of negative length"); return align_allocation_size(header_size() + length * sizeof(jbyte)); }
static size_t allocation_size() { return align_allocation_size(header_size()); }
static size_t allocation_size() { return align_allocation_size(sizeof(JarFileParserDesc)); }
static size_t allocation_size() { return align_allocation_size(sizeof(PacketDataBufferDesc)); }
static size_t allocation_size() { return align_allocation_size(sizeof(MetaObjTypeDesc)); }
static size_t allocation_size() { return align_allocation_size(sizeof(CompilationQueueElementDesc)); }
static size_t allocation_size() { return align_allocation_size(sizeof(EntryDesc)); }
static size_t allocation_size( void ) { return align_allocation_size( sizeof( LiteralPoolElementDesc ) ); }