You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2019/10/08 05:43:13 UTC

[jira] [Resolved] (SPARK-23879) Introduce MemoryBlock API instead of Platform API with Object

     [ https://issues.apache.org/jira/browse/SPARK-23879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-23879.
----------------------------------
    Resolution: Incomplete

> Introduce MemoryBlock API instead of Platform API with Object 
> --------------------------------------------------------------
>
>                 Key: SPARK-23879
>                 URL: https://issues.apache.org/jira/browse/SPARK-23879
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core, SQL
>    Affects Versions: 2.3.0
>            Reporter: Kazuaki Ishizaki
>            Priority: Major
>              Labels: bulk-closed
>
> This JIRA is derived from SPARK-10399.
> During the discussion, the community revealed that current Spark framework directly accesses several types of memory regions (e.g. {{byte[]}}, {{long[]}}, or {{Off-heap}}) by using {{Platform API with }}{{Object}} type. It would be good to have unified memory management API for clear memory model.
> It is also good for performance. If we can pass typed object (e.g.{{byte[]}}, {{long[]}}) to {{Platform.getXX()/putXX()}}, it is faster than using {{Platform.getXX(Object)/putXX(Object, ...)}}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org