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

Yanbo Liang resolved SPARK-21575.
---------------------------------
       Resolution: Fixed
         Assignee: Iurii Antykhovych
    Fix Version/s: 2.3.0

> Eliminate needless synchronization in java-R serialization
> ----------------------------------------------------------
>
>                 Key: SPARK-21575
>                 URL: https://issues.apache.org/jira/browse/SPARK-21575
>             Project: Spark
>          Issue Type: Improvement
>          Components: SparkR
>    Affects Versions: 2.2.0
>            Reporter: Iurii Antykhovych
>            Assignee: Iurii Antykhovych
>            Priority: Trivial
>             Fix For: 2.3.0
>
>
> As long as {{org.apache.spark.api.r.JVMObjectTracker}} is backed by 
> {{ConcurrentHashMap}}, synchronized blocks in {{get(..)}} and {{remove(..)}} 
> methods can be safely removed.
> This would eliminate lock contention in {{org.apache.spark.api.r.SerDe}}
>  and {{org.apache.spark.api.r.RBackendHandler}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to