You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yanbo Liang (JIRA)" <ji...@apache.org> on 2017/07/31 02:45:02 UTC

[jira] [Resolved] (SPARK-21575) Eliminate needless synchronization in java-R serialization

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org