[ 
https://issues.apache.org/jira/browse/IGNITE-6743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16300410#comment-16300410
 ] 

Andrey Kuznetsov commented on IGNITE-6743:
------------------------------------------

[~ezhuravl], 'if' has been changed. As for turning Method vars into class 
fields, it's not useful change to me: currently, local vars are captured by 
cleaner closure, so they behave effectively in the same way as class members, 
but don't pollute class scope. Moreover, one of them is not needed for Java 9. 

> Java 9: rework DirectBuffer.cleaner().clean() usage in GridNioServer
> --------------------------------------------------------------------
>
>                 Key: IGNITE-6743
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6743
>             Project: Ignite
>          Issue Type: Task
>          Components: general
>            Reporter: Vladimir Ozerov
>            Assignee: Andrey Kuznetsov
>             Fix For: 2.4
>
>
> When session is closed we clean allocated {{DirectByteBuffer}}-s using 
> {{sun.misc.Cleaner}}. Need to rework this piece to reflection-based approach 
> which will work for supported Java versions.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to