]
Paul Ferraro commented on WFLY-13538:
-------------------------------------
This should have been resolved. Will fix.
Add Java 9+ version of ConcurrentDirectDeque
--------------------------------------------
Key: WFLY-13538
URL:
https://issues.redhat.com/browse/WFLY-13538
Project: WildFly
Issue Type: Task
Components: Clustering
Affects Versions: 20.0.0.Beta1
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Priority: Major
The clustering code uses ConcurrentDirectDeque for its local scheduler implementation.
While a portable implementation exists, a faster implementation that relies on
sun.misc.Unsafe will be used when running with a compatible JVM.
Now that jboss-parent includes profiles for multi-release jars, we can add a fast
implementation (ported from Undertow) that uses VarHandle that will work on all Java9+
JVMs.