SIDE_METADATA_BASE_ADDRESS

Static SIDE_METADATA_BASE_ADDRESS 

Source
static SIDE_METADATA_BASE_ADDRESS: OnceLock<Address>
Expand description

The run-time base address for side metadata. This is initialized at startup by mmapping necessary memory address for side metadata, and should be used as the base when computing actual side metadata addresses. We use OnceLock to ensure it is only initialized once. To eliminate the cost of accessing OnceLock after initialization, we can use get().unwrap_unchecked(). TODO: use OncLock::get_unchecked() once it is stabilized.