// A frame represents a physical stack frame (an activation). Frames can be // C or Java frames, and the Java frames can be interpreted or compiled. // In contrast, vframes represent source-level activations, so that one physical frame // can correspond to multiple source level frames because of inlining. // A frame is comprised of {pc, fp, sp} // ------------------------------ Asm interpreter ---------------------------------------- // Layout of asm interpreter frame: // [expression stack ] * <- sp
// Entry frames // n.b. these values are determined by the layout defined in // stubGenerator for the Java call stub
entry_frame_after_call_words = 34,
entry_frame_call_wrapper_offset = -10,
// we don't need a save area
arg_reg_save_area_bytes = 0,
// size, in words, of frame metadata (e.g. pc and link)
metadata_words = 2, // size, in words, of metadata at frame bottom, i.e. it is not part of the // caller/callee overlap
metadata_words_at_bottom = metadata_words, // size, in words, of frame metadata at the frame top, i.e. it is located // between a callee frame and its stack arguments, where it is part // of the caller/callee overlap
metadata_words_at_top = 0, // in bytes
frame_alignment = 16, // size, in words, of maximum shift in frame position due to alignment
align_wiggle = 1
};
private: // an additional field beyond _sp and _pc: union {
intptr_t* _fp; // frame pointer int _offset_fp; // relative frame pointer for use in stack-chunk frames
}; // The interpreter and adapters will extend the frame of the caller. // Since oopMaps are based on the sp of the caller before extension // we need to know that value. However in order to compute the address // of the return address we need the real "raw" sp. Since sparc already // uses sp() to mean "raw" sp and unextended_sp() to mean the caller's // original sp we use that convention.
union {
intptr_t* _unextended_sp; int _offset_unextended_sp; // for use in stack-chunk frames
};
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.