public final class UnsafeUtils extends Object
sun.misc.Unsafe to access some internal details to get
better performance.
This class is an internal implementation detail only intended for use within spectator. It is subject to change without notice.
| Modifier and Type | Method and Description |
|---|---|
static long |
getLong(byte[] bytes,
int offset)
Treat a seq of 8 bytes at the given offset as a long value.
|
static boolean |
supported()
Returns true if unsafe operations are supported.
|