// The following two classes are used to represent 'sizes' and 'offsets' in the VM; // they serve as 'unit' types. ByteSize is used for sizes measured in bytes, while // WordSize is used for sizes measured in machine words (i.e., 32bit or 64bit words // depending on platform). // // These classes should help doing a transition from (currently) word-size based offsets // to byte-size based offsets in the VM (this will be important if we desire to pack // objects more densely in the VM for 64bit machines). Such a transition should proceed // in two steps to minimize the risk of introducing hard-to-find bugs: // // a) first transition the whole VM into a form where all sizes are strongly typed // b) change all WordSize's to ByteSize's where desired and fix the compilation errors
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.