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

Reynold Xin resolved SPARK-3135.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0
         Assignee: Reynold Xin

> Avoid memory copy in TorrentBroadcast serialization
> ---------------------------------------------------
>
>                 Key: SPARK-3135
>                 URL: https://issues.apache.org/jira/browse/SPARK-3135
>             Project: Spark
>          Issue Type: Sub-task
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>              Labels: starter
>             Fix For: 1.2.0
>
>
> TorrentBroadcast.blockifyObject uses a ByteArrayOutputStream to serialize 
> broadcast object into a single giant byte array, and then separates it into 
> smaller chunks.  We should implement a new OutputStream that writes 
> serialized bytes directly into chunks of byte arrays so we don't need the 
> extra memory copy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to