public: void try_allocate( Register obj, // result: pointer to object after successful allocation Register var_size_in_bytes, // object size in bytes if unknown at compile time; invalid otherwise int con_size_in_bytes, // object size in bytes if known at compile time Register t1, // temp register Register t2, // temp register
Label& slow_case // continuation point if fast allocation fails
);
void initialize_object( Register obj, // result: pointer to object after successful allocation Register klass, // object klass Register var_size_in_bytes, // object size in bytes if unknown at compile time; invalid otherwise int con_size_in_bytes, // object size in bytes if known at compile time Register t1, // temp register Register t2 // temp register
);
// Allocation of fixed-size objects // (Can also be used to allocate fixed-size arrays, by setting // hdr_size correctly and storing the array length afterwards.) void allocate_object( Register obj, // result: pointer to object after successful allocation Register t1, // temp register Register t2, // temp register Register t3, // temp register int hdr_size, // object header size in words int obj_size, // object size in words Register klass, // object klass
Label& slow_case // continuation point if fast allocation fails
);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.