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

Wenchen Fan reassigned SPARK-48391:
-----------------------------------

    Assignee: jiahong.li

> use addAll instead of add function  in TaskMetrics  to accelerate
> -----------------------------------------------------------------
>
>                 Key: SPARK-48391
>                 URL: https://issues.apache.org/jira/browse/SPARK-48391
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.5.0, 3.5.1
>            Reporter: jiahong.li
>            Assignee: jiahong.li
>            Priority: Major
>              Labels: pull-request-available
>
> In the fromAccumulators method of TaskMetrics,we should use `
> tm._externalAccums.addAll` instead of `tm._externalAccums.add`, as 
> _externalAccums is a instance of CopyOnWriteArrayList



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to