Page MenuHomeSolus

Update to 21.0
ClosedPublic

Authored by theSoenke on Jun 24 2018, 6:15 PM.

Details

Reviewers
JoshStrobl
Group Reviewers
Triage Team
Commits
R709:5ea4c3541399: Update to 21.0
Summary
  • Enhanced IO scalability
  • compact instructions on 64bit systems for code below 4GB 20% less memory for loaded code
  • Rewrite of the efile-driver with NIFs and "Dirty schedulers" resulting in faster file operations
  • non-smp VM removed
  • link and monitor optimized for scalability
  • os:getenv/putenv now work on thread-safe emulation. No longer in sync with libc getenv(3). Manual synchronization will be needed.
  • Misc compiler optimizations including contributions from the Elixir team resulting in 10% improvements in benchmarks
  • "Tuple calls" have been removed from the run-time system.
  • More information in stacktrace from a number of operators
  • erlang:get_stacktrace/0 deprecated to be replaced with try ... catch C:R:Stacktrace -> ...
  • Creation of small maps with literal keys optimized.
  • A new predifined macro OTP_RELEASE and preprocessor directives -if and -elif
  • DTLS is now supported in the SSL application
  • Enhanced support for distribution over TLS
  • "unsecure" ciphers removed from defaults in SSL and SSH.
  • A new option value defined to facilitate implementing exec servers. Old option kept for compatibility, but now gives errors on stderror.
  • New API for logging, logger
  • New uri_string module for parsing URIs according to "The standard"
  • New function lists:search(list,fun/1) -> {ok, Value} | false
  • Changed default behaviour of .erlang loading. escript, erlc, dialyzer and typer no longer load an .erlang at all.

Full release notes

Test Plan
  • Installed
  • Rebuild elixir
  • Tested phoenix project
  • Opened observer

Diff Detail

Repository
R709 erlang
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

theSoenke created this revision.Jun 24 2018, 6:15 PM
theSoenke requested review of this revision.Jun 24 2018, 6:15 PM
theSoenke retitled this revision from Update to 21.0{ to Update to 21.0.Jun 24 2018, 6:16 PM
JoshStrobl requested changes to this revision.Jun 25 2018, 8:25 PM
JoshStrobl added a subscriber: JoshStrobl.

Should summarize changelog and link to full changelog after summary, can just do that via Phab (but be sure to use Markdown). Otherwise LGTM.

This revision now requires changes to proceed.Jun 25 2018, 8:25 PM
theSoenke edited the summary of this revision. (Show Details)Jun 25 2018, 9:18 PM

Now it should have a real changelog

Sorry, review wasn't requested so didn't see this. Can we get it updated to 21.0.2 please? https://github.com/erlang/otp/archive/OTP-21.0.2.tar.gz

@JoshStrobl I'm not sure whether we should already update it to 21.0.2. This is only a tag on Github but it does not seems to be officially released yet

Except it is released, they do updates to specifically applications. And now we're on 21.0.3. See https://github.com/erlang/otp/releases/tag/OTP-21.0.3

theSoenke updated this revision to Diff 8120.Jul 13 2018, 5:34 PM

Update to 21.0.3

@JoshStrobl Alright. Updated it now to 21.0.3

JoshStrobl accepted this revision.Jul 13 2018, 5:44 PM
This revision is now accepted and ready to land.Jul 13 2018, 5:44 PM
This revision was automatically updated to reflect the committed changes.