[jboss-jira] [JBoss JIRA] (WFLY-13538) Add Java 9+ version of ConcurrentDirectDeque

Paul Ferraro (Jira) issues at jboss.org
Fri May 29 09:09:00 EDT 2020


Paul Ferraro created WFLY-13538:
-----------------------------------

             Summary: 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


The clustering code uses ConcurrentDirectDeque for its local scheduler implementation.  While a portable implementation exists, there is also a faster version that relies on sun.misc.Unsafe.  However, this only works in Java 8.

Now that jboss-parent includes profiles for multi-release jars, we can add a variant (found in Undertow) that uses VarHandle and MethodHandle to use on Java9+.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list