[
https://issues.apache.org/jira/browse/IGNITE-8486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16479020#comment-16479020
]
Stanislav Lukyanov commented on IGNITE-8486:
--------------------------------------------
Attached a diff (jsr166-to-ignite.diff) between the current JSR 166 version
(http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/ConcurrentLinkedDeque.java?revision=1.93)
and the proposed Ignite version of the class.
> Update ConcurrentLinkedDeque in Ignite's master repository to the latest JDK
> version
> ------------------------------------------------------------------------------------
>
> Key: IGNITE-8486
> URL: https://issues.apache.org/jira/browse/IGNITE-8486
> Project: Ignite
> Issue Type: Improvement
> Reporter: Stanislav Lukyanov
> Assignee: Stanislav Lukyanov
> Priority: Major
> Fix For: 2.6
>
> Attachments: jsr166-to-ignite.diff
>
>
> Ignite still uses copies of several JSR 166 (j.u.concurrent) classes in it's
> sources. Those copies are now outdated compared to the latest versions used
> in JDK.
> In particular, `ConcurrentLinkedDeque` has received a couple of correctness
> fixes recently (https://bugs.openjdk.java.net/browse/JDK-8188900,
> https://bugs.openjdk.java.net/browse/JDK-8189387). It would be good to have
> them in Ignite as well to protect ourselves from possible issues.
> The task is to update Ignite's `ConcurrentLinkedDeque8` to the latest version
> of `ConcurrentLinkedDeque`, although keeping compatibility with earlier Java
> version (e.g. JDK's version now uses Java 9's VarHandles which we can't use
> yet).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)