Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-31168

Upgrade Scala to 2.12.13

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
      None

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yumwang Yuming Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: