public class UnsafeAccess
extends java.lang.Object
AtomicReferenceFieldUpdater and similar but their performance is arguably worse than the DIY approach
(depending on JVM version) while Unsafe intrinsification is a far lesser challenge for JIT compilers.
AtomicReferenceArray.
| Modifier and Type | Field | Description |
|---|---|---|
static boolean |
SUPPORTS_GET_AND_SET |
|
static sun.misc.Unsafe |
UNSAFE |
| Constructor | Description |
|---|---|
UnsafeAccess() |
Copyright © 2013–2017. All rights reserved.