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

Andrey Gura commented on IGNITE-6743:
-------------------------------------

Guys, I like current implementation. Moreover, I think that it would be better 
to introduce interface and couple of cleaner implementations (for Java < 9 and 
Java 9+) instead of closure. It will just more supportable.

> 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