Description
Highlights
- Performance improvements in the collections library: algorithmic improvements and changes to avoid unnecessary allocations (list of PRs)
- Performance improvements in the compiler (list of PRs, minor effects in our benchmarks)
- Improvements to -Yrepl-class-based, an alternative internal REPL encoding that avoids deadlocks (details on #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)
- Fix some toX methods that could expose the underlying mutability of a ListBuffer-generated collection (#8674)
JDK 9+ support
- ASM was upgraded to 7.3.1, allowing the optimizer to run on JDK 13+ (#8676)
- :javap in the REPL now works on JDK 9+ (#8400)
Other changes
- Support new labels for creating durations for consistency: Duration("1m"), Duration("3 hrs") (#8325, #8450)
- Fix memory leak in runtime reflection's TypeTag caches (#8470) and some thread safety issues in runtime reflection (#8433)
- When using compiler plugins, the ordering of compiler phases may change due to #8427
For more details, see https://github.com/scala/scala/releases/tag/v2.12.11.
Attachments
Issue Links
- is duplicated by
-
SPARK-34746 Spark dependencies require scala 2.12.12
- Resolved
- supercedes
-
SPARK-33921 Upgrade Scala version to 2.12.12
- Closed
- links to
(3 links to)