You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/10/24 14:50:00 UTC
[jira] [Created] (IGNITE-6742) Java 9: rework Cleaner usage in
PlatformMemoryPool class
Vladimir Ozerov created IGNITE-6742:
---------------------------------------
Summary: 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
Security Level: Public (Viewable by anyone)
Components: platforms
Reporter: Vladimir Ozerov
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)