// An InstanceStackChunkKlass is a specialization of the InstanceKlass. // // The stackChunkOops have a header containing metadata, and a blob containing a // stack segment (some integral number of stack frames). // // A chunk is said to be "mixed" if it contains interpreter frames or stubs // (which can only be a safepoint stub as the topmost frame). Otherwise, it // must contain only compiled Java frames. // // Interpreter frames in chunks have their internal pointers converted to // relative offsets from fp. Derived pointers in compiled frames might also // be converted to relative offsets from their base.
staticinline size_t bitmap_size_in_bits(size_t stack_size_in_words); // In bits staticinline size_t bitmap_size(size_t stack_size_in_words); // In words staticinline size_t gc_data_size(size_t stack_size_in_words); // In words
// Returns the size of the instance including the stack data. virtual size_t oop_size(oop obj) const override;
// Stack offset is an offset into the Heap staticint offset_of_stack() { return _offset_of_stack; } staticvoid init_offset_of_stack();
// Oop fields (and metadata) iterators // // The InstanceClassLoaderKlass iterators also visit the CLD pointer (or mirror of anonymous klasses).
// Forward iteration // Iterate over the oop fields and metadata. template <typename T, class OopClosureType> inlinevoid oop_oop_iterate(oop obj, OopClosureType* closure);
// Reverse iteration // Iterate over the oop fields and metadata. template <typename T, class OopClosureType> inlinevoid oop_oop_iterate_reverse(oop obj, OopClosureType* closure);
// Bounded range iteration // Iterate over the oop fields and metadata. template <typename T, class OopClosureType> inlinevoid oop_oop_iterate_bounded(oop obj, OopClosureType* closure, MemRegion mr);
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.