// An instanceOop is an instance of a Java Class // Evaluating "new HashTable()" will create an instanceOop.
class instanceOopDesc : public oopDesc { public: // aligned header size. staticint header_size() { returnsizeof(instanceOopDesc)/HeapWordSize; }
// If compressed, the offset of the fields of the instance may not be aligned. staticint base_offset_in_bytes() { return (UseCompressedClassPointers) ?
klass_gap_offset_in_bytes() : sizeof(instanceOopDesc);
}
};
// See similar requirement for oopDesc.
static_assert(std::is_trivially_default_constructible<instanceOopDesc>::value, "required");
#endif// SHARE_OOPS_INSTANCEOOP_HPP
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-09-11)
¤
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.