You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jim Kleckner (Jira)" <ji...@apache.org> on 2021/04/22 01:23:00 UTC

[jira] [Commented] (SPARK-31168) Upgrade Scala to 2.12.13

    [ https://issues.apache.org/jira/browse/SPARK-31168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17327035#comment-17327035 ] 

Jim Kleckner commented on SPARK-31168:
--------------------------------------

It appears that this fix [1] for 12038 merged into Scala master [2] and has been released in Scala 2.13.5 [3] but not yet released as Scala 2.12.14.

 

[1] [https://github.com/scala/scala/pull/9478]

[2] [https://github.com/scala/scala/pull/9495]

[3] [https://github.com/scala/scala/releases/tag/v2.13.5]

> Upgrade Scala to 2.12.13
> ------------------------
>
>                 Key: SPARK-31168
>                 URL: https://issues.apache.org/jira/browse/SPARK-31168
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Build
>    Affects Versions: 3.2.0
>            Reporter: Yuming Wang
>            Priority: Major
>
> h2. Highlights
>  * Performance improvements in the collections library: algorithmic improvements and changes to avoid unnecessary allocations ([list of PRs|https://github.com/scala/scala/pulls?q=is%3Apr+milestone%3A2.12.11+is%3Aclosed+sort%3Acreated-desc+label%3Alibrary%3Acollections+label%3Aperformance])
>  * Performance improvements in the compiler ([list of PRs|https://github.com/scala/scala/pulls?q=is%3Apr+milestone%3A2.12.11+is%3Aclosed+sort%3Acreated-desc+-label%3Alibrary%3Acollections+label%3Aperformance+], minor [effects in our benchmarks|https://scala-ci.typesafe.com/grafana/dashboard/db/scala-benchmark?orgId=1&from=1567985515850&to=1584355915694&var-branch=2.12.x&var-source=All&var-bench=HotScalacBenchmark.compile&var-host=scalabench@scalabench@])
>  * Improvements to {{-Yrepl-class-based}}, an alternative internal REPL encoding that avoids deadlocks (details on [#8712|https://github.com/scala/scala/pull/8712])
>  * A new {{-Yrepl-use-magic-imports}} flag that avoids deep class nesting in the REPL, which can lead to deteriorating performance in long sessions ([#8576|https://github.com/scala/scala/pull/8576])
>  * Fix some {{toX}} methods that could expose the underlying mutability of a {{ListBuffer}}-generated collection ([#8674|https://github.com/scala/scala/pull/8674])
> h3. JDK 9+ support
>  * ASM was upgraded to 7.3.1, allowing the optimizer to run on JDK 13+ ([#8676|https://github.com/scala/scala/pull/8676])
>  * {{:javap}} in the REPL now works on JDK 9+ ([#8400|https://github.com/scala/scala/pull/8400])
> h3. Other changes
>  * Support new labels for creating durations for consistency: {{Duration("1m")}}, {{Duration("3 hrs")}} ([#8325|https://github.com/scala/scala/pull/8325], [#8450|https://github.com/scala/scala/pull/8450])
>  * Fix memory leak in runtime reflection's {{TypeTag}} caches ([#8470|https://github.com/scala/scala/pull/8470]) and some thread safety issues in runtime reflection ([#8433|https://github.com/scala/scala/pull/8433])
>  * When using compiler plugins, the ordering of compiler phases may change due to [#8427|https://github.com/scala/scala/pull/8427]
> For more details, see [https://github.com/scala/scala/releases/tag/v2.12.11].
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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