Uses of Class
org.jctools.util.InternalAPI
-
Packages that use InternalAPI Package Description org.jctools.queues This package aims to fill a gap in current JDK implementations in offering lock free (wait free where possible) queues for inter-thread message passing with finer grained guarantees and an emphasis on performance.
At the time of writing the only lock free queue available in the JDK isConcurrentLinkedQueuewhich is an unbounded multi-producer, multi-consumer queue which is further encumbered by the need to implement the full range ofQueuemethods.org.jctools.util -
-
Uses of InternalAPI in org.jctools.queues
Classes in org.jctools.queues with annotations of type InternalAPI Modifier and Type Class Description classIndexedQueueSizeUtilA note to maintainers on index assumptions: in a single threaded world it would seem intuitive to assume:static interfaceIndexedQueueSizeUtil.IndexedQueueclassLinkedArrayQueueUtilThis is used for method substitution in the LinkedArray classes code generation.classLinkedQueueNode<E>classMessagePassingQueueUtilclassMpmcUnboundedXaddChunk<E>classMpscUnboundedXaddChunk<E>classMpUnboundedXaddChunk<R,E>interfaceSupportsIteratorTagging interface to help testing -
Uses of InternalAPI in org.jctools.util
Classes in org.jctools.util with annotations of type InternalAPI Modifier and Type Interface Description interfacePortableJvmInfoJVM Information that is standard and available on all JVMs (i.e.classPow2Power of 2 utility functions.classRangeUtilclassSpscLookAheadUtilclassUnsafeAccessWhy should we resort to using Unsafe?
To construct class fields which allow volatile/ordered/plain access: This requirement is covered byAtomicReferenceFieldUpdaterand 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.interfaceUnsafeJvmInfoclassUnsafeLongArrayAccessclassUnsafeRefArrayAccess
-