You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Xintong Song (Jira)" <ji...@apache.org> on 2021/02/15 10:22:00 UTC

[jira] [Created] (FLINK-21375) Refactor HybridMemorySegment

Xintong Song created FLINK-21375:
------------------------------------

             Summary: Refactor HybridMemorySegment
                 Key: FLINK-21375
                 URL: https://issues.apache.org/jira/browse/FLINK-21375
             Project: Flink
          Issue Type: Task
          Components: Runtime / Coordination
            Reporter: Xintong Song
            Assignee: Xintong Song


Per the discussion in [this PR|https://github.com/apache/flink/pull/14904], we plan to refactor {{HybridMemorySegment}} as follows.
* Separate into memory type specific implementations: heap / direct / native (unsafe)
* Remove {{wrap()}}, replacing with {{processAsByteBuffer()}}
* Remove native memory cleaner logic



--
This message was sent by Atlassian Jira
(v8.3.4#803005)