Package org.jctools.util
-
Interface Summary Interface Description PortableJvmInfo JVM Information that is standard and available on all JVMs (i.e.UnsafeJvmInfo -
Class Summary Class Description CompilationResult PaddedAtomicLong A padded version of theAtomicLong
.PaddedAtomicLongL1Field PaddedAtomicLongL1Pad PaddedAtomicLongL2Pad Pow2 Power of 2 utility functions.RangeUtil SimpleCompiler A simplified wrapper around the rage inducing Java compiler API.StringWrappingJavaFile A Java file object which is used to represent the Java source code coming from a string.Template A single class templating library for doing runtime code-gen.UnsafeAccess 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.UnsafeDirectByteBuffer UnsafeLongArrayAccess UnsafeRefArrayAccess -
Annotation Types Summary Annotation Type Description InternalAPI This 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).