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)

Reply via email to