ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Sorokin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6742) Java 9: rework Cleaner usage in PlatformMemoryPool class
Date Tue, 26 Dec 2017 11:48:00 GMT

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

Dmitriy Sorokin commented on IGNITE-6742:
-----------------------------------------

[~agura], review mypatch, please. I think that Ignite basic tests passed is enough for this
task.

> Java 9: rework Cleaner usage in PlatformMemoryPool class
> --------------------------------------------------------
>
>                 Key: IGNITE-6742
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6742
>             Project: Ignite
>          Issue Type: Task
>          Components: platforms
>            Reporter: Vladimir Ozerov
>            Assignee: Dmitriy Sorokin
>             Fix For: 2.4
>
>
> We attach special cleaner to {{PlatformMemoryPool}} using {{sun.misc.Cleaner.create}}
method. This way we ensure that thread-local native memory (which is used to pass data between
platform and Java) is released properly. 
> Need to rework this API to reflection-based approach, which works for both Java 7/8 and
Java 9.



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

Mime
View raw message