Expand description
Various constants used for Inspect.
Constants§
- ARRAY_
PAYLOAD_ METADATA_ SIZE_ BYTES - Length in bytes of metadata in the payload of an array block.
- DEFAULT_
VMO_ SIZE_ BYTES - Default number of bytes for the VMO: 256K
- EXPONENTIAL_
HISTOGRAM_ EXTRA_ SLOTS - Extra slots for an exponential histogram: 3 parameter slots (floor, initial step and step multiplier) and 2 overflow slots.
- HEADER_
MAGIC_ NUMBER - Magic number for the Header block. “INSP” in UTF-8 little-endian.
- HEADER_
ORDER - The order of the header block.
- HEADER_
SIZE_ BYTES - Size of the a VMO block header.
- HEADER_
VERSION_ NUMBER - Version number for the Header block.
- LINEAR_
HISTOGRAM_ EXTRA_ SLOTS - Extra slots for a linear histogram: 2 parameter slots (floor, step size) and 2 overflow slots.
- MAX_
ORDER_ SHIFT - The shift for order NUM_ORDERS-1 (the maximum order)
- MAX_
ORDER_ SIZE - The size for order NUM_ORDERS-1 (the maximum order)
- MAX_
VMO_ SIZE - Maximum size for a VMO: 100MB
- MINIMUM_
VMO_ SIZE_ BYTES - Minimum size for the VMO: 4K
- MIN_
ORDER_ SHIFT - The shift for order 0.
- MIN_
ORDER_ SIZE - The size for order 0.
- NUM_
ORDERS - Maximum number order of a block.
- PAGE_
SIZE_ BYTES - Bytes per page
- STRING_
REFERENCE_ TOTAL_ LENGTH_ BYTES - The number of bytes in the payload of a STRING_REFERENCE allotted to the total length.
- VMO_
FROZEN - This generation count indicates a VMO is frozen. It is even to allow creating an inspector that can write to the VMO.