Commits on May 2, 2018
  1. Update release notes

    Erlang/OTP
    Erlang/OTP committed May 2, 2018
  2. Update version numbers

    Erlang/OTP
    Erlang/OTP committed May 2, 2018
  3. Merge branch 'john/erts/fix-heart-command-overflow/OTP-15034/ERIERL-1…

    Erlang/OTP
    Erlang/OTP committed May 2, 2018
    …66' into maint-20
    
    * john/erts/fix-heart-command-overflow/OTP-15034/ERIERL-166:
      heart: Use ntohs instead of manual conversion
    
    # Conflicts:
    #	lib/kernel/test/heart_SUITE.erl
Commits on Apr 24, 2018
  1. heart: Use ntohs instead of manual conversion

    jhogberg committed Apr 24, 2018
    Multiplying a signed char by 256 is undefined behavior and caused
    problems on some platforms when the length was long enough. We
    could cast it to an unsigned int to make it work, but it's best not
    to reinvent the wheel.
    
    Fixes OTP-15034
Commits on Mar 9, 2018
  1. Update release notes

    Erlang/OTP
    Erlang/OTP committed Mar 9, 2018
  2. Update version numbers

    Erlang/OTP
    Erlang/OTP committed Mar 9, 2018
  3. Update preloaded modules

    proxyles committed Mar 9, 2018
Commits on Feb 27, 2018
  1. Merge branch 'sverker/erts/more-crash-dump-info/OTP-14820' into maint

    sverker committed Feb 27, 2018
    * sverker/erts/more-crash-dump-info/OTP-14820:
      erts,observer: Add port-suspended pids to crash dump
      erts,observer: Add port states and flags to crash dump
      erts,observer: Add dirty schedulers to crash dump
      observer: Refactor get_schedulerinfo1
      erts,observer: Add more port info to crash dump
      erts: Cleanup dump_process_info()
      erts: Include failing garbing process in crash dump
      erts: Remove unused args to collect_live_heap_frags
      erts: Add binary vheap sizes to crash dump
Commits on Feb 26, 2018
  1. Merge branch 'sverker/enif_self-doc' into maint

    sverker committed Feb 26, 2018
    * sverker/enif_self-doc:
      erts: Clarify enif_self docs
  2. Merge branch 'lukas/kernel/dist_SUITE_corefile_ignore' into maint

    garazdawi committed Feb 26, 2018
    * lukas/kernel/dist_SUITE_corefile_ignore:
      kernel: Ignore cores in erl_distribution_SUITE
  3. Merge branch 'lukas/erts/dirty_trace_clean_fix/OTP-14938' into maint

    garazdawi committed Feb 26, 2018
    * lukas/erts/dirty_trace_clean_fix/OTP-14938:
      erts: Delay cleanup of removed tracer on dirty scheds
  4. erts: Delay cleanup of removed tracer on dirty scheds

    garazdawi committed Jan 2, 2018
    It is not simple to do the correct de-allocation on
    a dirty schedulers, so we just delay it until this
    process runs on a normal scheduler.
Commits on Feb 23, 2018
  1. erts: Clarify enif_self docs

    sverker committed Feb 23, 2018
Commits on Feb 22, 2018
Commits on Feb 20, 2018
  1. Merge PR-1716 from sverker/slash-in-modules/ERL-564/OTP-14933

    sverker committed Feb 20, 2018
    Reject loading modules with slash in name
  2. erts: Cleanup dump_process_info()

    sverker committed Feb 15, 2018
    by testing F_SENSITIVE only once.
  3. erts: Include failing garbing process in crash dump

    sverker committed Feb 15, 2018
    Exclude garbing processes, EXCEPT if run by crash dumping thread
    in which case we assume the heap is healthy
    without any move markers yet/left.
    
    Switched order between (allocating) setup_rootset()
    and (move marking) collect_live_heap_frags().
Commits on Feb 19, 2018
Commits on Feb 15, 2018
  1. badarg on iolist_to_binary(Bitstring)

    jhogberg committed Feb 15, 2018
    When supplied without an enclosing list, bitstrings were returned
    as-is instead of badarging.
  2. Handle unaligned binaries in erlang:iolist_to_iovec/1

    jhogberg committed Feb 13, 2018
    A binary is a binary as long as its size in bits is evenly divisible
    by 8, regardless of whether it has a bit offset or not.
  3. badarg on iolist_to_iovec(Bitstring)

    jhogberg committed Feb 15, 2018
    When supplied without an enclosing list, bitstrings were silently
    truncated to [] instead of badarging.
  4. Test badarg when an improper list tail contains a bitstring

    jhogberg committed Feb 15, 2018
    This has always worked but we lacked test coverage for it.
  5. kernel: Reject load of module names with slash

    sverker committed Feb 15, 2018
    or backslash on Windows.
    
    Purpose: Prevent tricks to get hostile code running.
Commits on Feb 13, 2018
  1. Use smaller inputs in iovec tests

    jhogberg committed Feb 13, 2018
    Huge inputs weren't particularly useful and took forever to run, so
    this commit winds it down to a more sane level that still causes
    lots of yielding.
  2. Merge branch 'maint-20' into maint

    sverker committed Feb 13, 2018
    * maint-20:
      Updated OTP version
      Update release notes
      Update version numbers
      erts: Add system_flags(erts_alloc,"+M?sbct *")
      erts: Add age order first fit allocator strategies
      erts: Refactor erl_ao_firstfit_alloc
      erts: Add migration options "acnl" and "acfml"
      kernel: Add os:cmd/2 with max_size option
      erts: Add more stats for mbcs_pool
      erts: Fix alloc_SUITE:migration
      stdlib: Make ets_SUITE memory check try again
      erts: Improve carrier pool search
      erts: Improve alloc_SUITE:migration
      erts: Refactor carrier dealloc migration
  3. Fix size of fmt_double()'s format_str[] buffer

    mikpe authored and jhogberg committed Feb 5, 2018
    fmt_double() may write up to 8 characters into its format_str[]
    buffer, which however only has room for 7 characters.
    
    This case could be triggered by a call to erts_printf_format() with
    any floating-point format that also includes #, and + or a space,
    which may be uncommon, but a nif or driver could issue it.
Commits on Feb 12, 2018
  1. Update release notes

    Erlang/OTP
    Erlang/OTP committed Feb 12, 2018
  2. Update version numbers

    Erlang/OTP
    Erlang/OTP committed Feb 12, 2018