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

Evgenii Zhuravlev commented on IGNITE-6743:
-------------------------------------------

[~andrey-kuznetsov], can we get rid of "!" in "if" block? I mean we can just 
swap these 2 blocks.

Also, I think we can save Methods to the class fields, what do you think?


> 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