[jboss-jira] [JBoss JIRA] (WFLY-13538) Add Java 9+ version of ConcurrentDirectDeque
Paul Ferraro (Jira)
issues at jboss.org
Fri May 29 09:15:01 EDT 2020
[ https://issues.redhat.com/browse/WFLY-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Ferraro updated WFLY-13538:
--------------------------------
Description:
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 to use on Java9+.
was:
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+.
> 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, 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 to use on Java9+.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list