Expand description
Constants used in MMTk
Modules§
- card_
scanning 🔒 - Some card scanning constants ported from Java MMTK. As we haven’t implemented card scanning, these are not used at the moment.
- java_
specific_ 🔒constants
Constants§
- BITS_
IN_ ADDRESS - The number of bits in an address
- BITS_
IN_ BYTE - The number of bits in a byte
- BITS_
IN_ PAGE - The number of bits in a page
- BITS_
IN_ WORD - The number of bits in a word
- BYTES_
IN_ ADDRESS - The number of bytes in an address
- BYTES_
IN_ BYTE - The number of bytes in a byte
- BYTES_
IN_ GBYTE - The number of bytes in a gigabyte
- BYTES_
IN_ KBYTE - The number of bytes in a kilobyte
- BYTES_
IN_ MBYTE - The number of bytes in a megabyte
- BYTES_
IN_ PAGE - The number of bytes in a page
- BYTES_
IN_ WORD - The number of bytes in a word
- LAZY_
SWEEP 🔒 - Lazy sweeping - controlled from here because PlanConstraints needs to tell the VM that we need to support linear scan.
- LOG_
BITS_ IN_ ADDRESS - log2 of the number of bits in an address
- LOG_
BITS_ IN_ BYTE - log2 of the number of bits in a byte
- LOG_
BITS_ IN_ PAGE - log2 of the number of bits in a page
- LOG_
BITS_ IN_ WORD - log2 of the number of bits in a word
- LOG_
BYTES_ IN_ ADDRESS - log2 of the number of bytes in an address
- LOG_
BYTES_ IN_ ADDRESS_ SPACE - log2 of the number of bytes in the address space
- LOG_
BYTES_ IN_ BYTE - log2 of the number of bytes in a byte
- LOG_
BYTES_ IN_ GBYTE - log2 of the number of bytes in a gigabyte
- LOG_
BYTES_ IN_ KBYTE - log2 of the number of bytes in a kilobyte
- LOG_
BYTES_ IN_ MBYTE - log2 of the number of bytes in a megabyte
- LOG_
BYTES_ IN_ PAGE - log2 of the number of bytes in a page
- LOG_
BYTES_ IN_ WORD - log2 of the number of bytes in a word
- LOG_
MIN_ OBJECT_ SIZE - log2 of the minimal object size in bytes.
- MIN_
OBJECT_ SIZE - The minimal object size in bytes