[
https://issues.apache.org/jira/browse/IGNITE-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16303163#comment-16303163
]
ASF GitHub Bot commented on IGNITE-6742:
----------------------------------------
GitHub user x-kreator opened a pull request:
https://github.com/apache/ignite/pull/3283
IGNITE-6742: + GridCleaner, using one in PlatformMemoryPool
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/x-kreator/ignite ignite-6742
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/3283.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3283
----
commit f130e2ccb71836d0f1bf0fcab389d387c82f1422
Author: Dmitriy Sorokin <sbt.sorokin.dvl@...>
Date: 2017-12-23T19:04:25Z
IGNITE-6742: + GridCleaner, using one in PlatformMemoryPool
----
> 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)