Package org.jctools.util
package org.jctools.util
-
ClassDescriptionThis annotation marks classes and methods which may be public for any reason (to support better testing or reduce code duplication) but are not intended as public API and may change between releases without the change being considered a breaking API change (a major release).A padded version of the
AtomicLong
.JVM Information that is standard and available on all JVMs (i.e.Power of 2 utility functions.A simplified wrapper around the rage inducing Java compiler API.A Java file object which is used to represent the Java source code coming from a string.A single class templating library for doing runtime code-gen.Why should we resort to using Unsafe?
To construct class fields which allow volatile/ordered/plain access: This requirement is covered byAtomicReferenceFieldUpdater
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.