Implementation Note
The JVM injects hardware-specific values into all the static fields of this class during JVM initialization. The static initialization block is executed when the class is initialized then JVM injection updates the fields with the correct constants. The static block is required to prevent the fields from being considered constant variables, so the field values will be not be compiled directly into any class that uses them.
Modifier and Type | Field and Description |
---|---|
pack-priv static final int | ADDRESS_SIZE0
The size in bytes of a native pointer, as stored via |
pack-priv static final boolean | BIG_ENDIAN
Flag whose value is true if and only if the native endianness of this platform is big. |
pack-priv static final int | DATA_CACHE_LINE_FLUSH_SIZE
The size of an L1 data cache line which will be either a power of two or zero. |
pack-priv static final int | PAGE_SIZE
The size in bytes of a native memory page (whatever that is). |
pack-priv static final boolean | UNALIGNED_ACCESS
Flag whose value is true if and only if the platform can perform unaligned accesses |
Access | Constructor and Description |
---|---|
private |
ADDRESS_SIZE0 | back to summary |
---|---|
pack-priv static final int ADDRESS_SIZE0 The size in bytes of a native pointer, as stored via Implementation Note The actual value for this field is injected by the JVM. |
BIG_ENDIAN | back to summary |
---|---|
pack-priv static final boolean BIG_ENDIAN Flag whose value is true if and only if the native endianness of this platform is big. Implementation Note The actual value for this field is injected by the JVM. |
DATA_CACHE_LINE_FLUSH_SIZE | back to summary |
---|---|
pack-priv static final int DATA_CACHE_LINE_FLUSH_SIZE The size of an L1 data cache line which will be either a power of two or zero. A non-zero value indicates that writeback to memory is enabled for the current processor. The value defines the natural alignment and size of any data cache line committed to memory by a single writeback operation. If data cache line writeback is not enabled for the current hardware the field will have value 0. Implementation Note The actual value for this field is injected by the JVM. |
PAGE_SIZE | back to summary |
---|---|
pack-priv static final int PAGE_SIZE The size in bytes of a native memory page (whatever that is). This value will always be a power of two. Implementation Note The actual value for this field is injected by the JVM. |
UNALIGNED_ACCESS | back to summary |
---|---|
pack-priv static final boolean UNALIGNED_ACCESS Flag whose value is true if and only if the platform can perform unaligned accesses Implementation Note The actual value for this field is injected by the JVM. |
UnsafeConstants | back to summary |
---|---|
private UnsafeConstants() This constructor is private because the class is not meant to be instantiated. |