| Class | Description |
|---|---|
| Pow2 |
Power of 2 utility functions.
|
| UnsafeAccess |
Why should we resort to using Unsafe?
To construct class fields which allow volatile/ordered/plain access: This requirement is covered by 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. |
Copyright © 2013–2014. All rights reserved.