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

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

[~ezhuravl], thanks for your note, I've really missed something. I think, we 
have two options here:
1. Create utility class right now.
2. For this very ticket, initialize reference to cleaning method in 
version-specific way at static initialization phase.
First one looks better but I still don't know how should that class look like.

> 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