Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • Build
    • 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

        Issue Links

          Activity

            People

              dongjoon Dongjoon Hyun
              yumwang Yuming Wang
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: