You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/02/05 11:15:39 UTC

[jira] [Updated] (SPARK-13204) Replace use of mutable.SynchronizedMap with ConcurrentHashMap

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

Sean Owen updated SPARK-13204:
------------------------------
       Priority: Trivial  (was: Major)
    Component/s: Spark Core
     Issue Type: Improvement  (was: Bug)

> Replace use of mutable.SynchronizedMap with ConcurrentHashMap
> -------------------------------------------------------------
>
>                 Key: SPARK-13204
>                 URL: https://issues.apache.org/jira/browse/SPARK-13204
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>            Reporter: Ted Yu
>            Priority: Trivial
>
> From http://www.scala-lang.org/api/2.11.1/index.html#scala.collection.mutable.SynchronizedMap :
> Synchronization via traits is deprecated as it is inherently unreliable. Consider java.util.concurrent.ConcurrentHashMap as an alternative.
> This issue is to replace the use of mutable.SynchronizedMap and add scalastyle rule banning mutable.SynchronizedMap



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

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