Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6742

Java 9: rework Cleaner usage in PlatformMemoryPool class

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • platforms
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              cyberdemon Dmitriy Sorokin
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m