aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-03-23Merge branch 'john/erts/nif-map-from-array/OTP-14954'John Högberg
* john/erts/nif-map-from-array/OTP-14954: Add enif_make_map_from_arrays
2018-03-23Merge branch 'john/erts/list-installed-nifs/OTP-14965'John Högberg
* john/erts/list-installed-nifs/OTP-14965: Add an option to ?MODULE:module_info/1 for listing NIFs Fix a misleading comment
2018-03-23Add enif_make_map_from_arraysJohn Högberg
2018-03-22Merge branch 'maint'Sverker Eriksson
2018-03-22Merge branch 'maint-19' into maintSverker Eriksson
Dummy merge (almost). os:cmd/2 already in OTP-20.
2018-03-22Merge branch 'sverker/enif-name-funcs/OTP-14994'Sverker Eriksson
2018-03-22crypto: Improve load error messageSverker Eriksson
to only suggest missing OpenSSL if dlopen fails (load_failed).
2018-03-22erts: Improve NIF load incompatibility errorsSverker Eriksson
2018-03-22erts: Remove const from ErlNifResourceDown docSverker Eriksson
to conform with erl_nif.h
2018-03-22erts: Add statement about errno to enif_*printf docsSverker Eriksson
2018-03-22erts: Add enif_vfprintf and enif_vsnprintfSverker Eriksson
2018-03-22erts: Add enif_*_name functionsSverker Eriksson
2018-03-22Merge branch 'sverker/test-chmod-restore'Sverker Eriksson
2018-03-22Merge branch 'bjorn/erts/eliminate-get_stacktrace'Björn Gustavsson
* bjorn/erts/eliminate-get_stacktrace: Eliminate use of erlang:get_stacktrace/0 in preloaded modules
2018-03-22Merge pull request #1755 from bjorng/bjorn/compiler/lc/ERL-572/OTP-14992Björn Gustavsson
Point out the correct line in an exception for a bad generator
2018-03-22Update OTP_VERSIONRaimo Niskanen
2018-03-22Merge branch 'maint'Raimo Niskanen
* maint: Updated OTP version Update release notes Update version numbers ssh: Fix bad spec for double_algs() in ssh.hrl Test event insert from init Fix init to allow all actions Conflicts: OTP_VERSION
2018-03-22Merge remote-tracking branch 'origin/hasse/stdlib/fix_benchmark'Hans Bolinder
* origin/hasse/stdlib/fix_benchmark: stdlib: Make benchmarks more robust
2018-03-21Merge branch 'sverker/inline-sys_memcpy' againSverker Eriksson
* sverker/inline-sys_memcpy: erts: Fix some zero size sys_memcpy
2018-03-21kernel: Restore x-permission of test directoriesSverker Eriksson
just to make it easier to do "rm -rf"
2018-03-21Updated OTP versionOTP-20.3.2Erlang/OTP
2018-03-21Update release notesErlang/OTP
2018-03-21Update version numbersErlang/OTP
2018-03-21Merge branch 'hans/ssh/spec_double_algs/OTP-14990' into maint-20Erlang/OTP
* hans/ssh/spec_double_algs/OTP-14990: ssh: Fix bad spec for double_algs() in ssh.hrl
2018-03-21Merge branch 'raimo/stdlib/fix-gen_statem-init-actions-check/OTP-13995' into ↵Erlang/OTP
maint-20 * raimo/stdlib/fix-gen_statem-init-actions-check/OTP-13995: Test event insert from init Fix init to allow all actions
2018-03-21Updated OTP versionOTP-19.3.6.7Erlang/OTP
2018-03-21Prepare releaseErlang/OTP
2018-03-21Merge branch 'sverker/maint-19/os-cmd-2/OTP-14823' into maint-19Erlang/OTP
* sverker/maint-19/os-cmd-2/OTP-14823: kernel: Fix os_SUITE:max_size_command for OTP-19 kernel: Fix handling of os:cmd option max_size in win kernel: Add os:cmd/2 with max_size option
2018-03-21kernel: Fix os_SUITE:max_size_command for OTP-19Sverker Eriksson
where string:trim does not exist.
2018-03-21kernel: Fix handling of os:cmd option max_size in winLukas Larsson
git cherry-pick 75b0f73f72e1783d4ace976cdd2b5f23bdc3ebae
2018-03-21kernel: Add os:cmd/2 with max_size optionLukas Larsson
git cherry-pick 55e929c4ed5cd854038c18697123ea94948ebf35
2018-03-21Point out the correct line in an exception for a bad generatorBjörn Gustavsson
When a generator in a list comprehension was given some other term than a list, the wrong line could be pointed out in the exception. Here is an example: bad_generator() -> [I || %%This line would be pointed out. I <- not_a_list]. https://bugs.erlang.org/browse/ERL-572
2018-03-21stdlib: Make benchmarks more robustHans Bolinder
statistics(runtime) does not seem to work on some virtual machines.
2018-03-21Add an option to ?MODULE:module_info/1 for listing NIFsJohn Högberg
2018-03-21Merge pull request #1740 from rickard-green/rickard/signals/OTP-14589Rickard Green
Implementation of true asynchronous signaling between processes
2018-03-21Implementation of true asynchronous signaling between processesRickard Green
Communication between Erlang processes has conceptually always been performed through asynchronous signaling. The runtime system implementation has however previously preformed most operation synchronously. In a system with only one true thread of execution, this is not problematic (often the opposite). In a system with multiple threads of execution (as current runtime system implementation with SMP support) it becomes problematic. This since it often involves locking of structures when updating them which in turn cause resource contention. Utilizing true asynchronous communication often avoids these resource contention issues. The case that triggered this change was contention on the link lock due to frequent updates of the monitor trees during communication with a frequently used server. The signal order delivery guarantees of the language makes it hard to change the implementation of only some signals to use true asynchronous signaling. Therefore the implementations of (almost) all signals have been changed. Currently the following signals have been implemented as true asynchronous signals: - Message signals - Exit signals - Monitor signals - Demonitor signals - Monitor triggered signals (DOWN, CHANGE, etc) - Link signals - Unlink signals - Group leader signals All of the above already defined as asynchronous signals in the language. The implementation of messages signals was quite asynchronous to begin with, but had quite strict delivery constraints due to the ordering guarantees of signals between a pair of processes. The previously used message queue partitioned into two halves has been replaced by a more general signal queue partitioned into three parts that service all kinds of signals. More details regarding the signal queue can be found in comments in the erl_proc_sig_queue.h file. The monitor and link implementations have also been completely replaced in order to fit the new asynchronous signaling implementation as good as possible. More details regarding the new monitor and link implementations can be found in the erl_monitor_link.h file.
2018-03-21Fix a misleading commentJohn Högberg
2018-03-21Eliminate use of erlang:get_stacktrace/0 in preloaded modulesBjörn Gustavsson
2018-03-21Merge branch 'bjorn/misc-beam-fixes'Björn Gustavsson
* bjorn/misc-beam-fixes: Correctly handle get_map_elements with a literal map core_parse: Fix handling of negative sizes in binaries
2018-03-21Merge pull request #1721 from josevalim/jv-no-messageanBjörn Gustavsson
Remove unused cerl_messagean module
2018-03-20erts: Fix some zero size sys_memcpySverker Eriksson
2018-03-20Merge branch 'sverker/inline-sys_memcpy'Sverker Eriksson
* sverker/inline-sys_memcpy: erts: Optimize macro DMC_PUSH erts: Make sys_memcpy and friends inline functions
2018-03-20erts: Optimize macro DMC_PUSHSverker Eriksson
to call a common static function dmc_stack_grow() and reduce the code bloat. and did a combined DMC_PUSH2
2018-03-20erts: Make sys_memcpy and friends inline functionsSverker Eriksson
to avoid argument-evaluated-twice bugs like in macro DMC_PUSH. Had to shuffle around some #include and #define to make erl_child_setup build debug target.
2018-03-20ssh: Fix bad spec for double_algs() in ssh.hrlHans Nilsson
2018-03-20Merge pull request #1705 from eltex-ecss/group_exit_signalHans Nilsson
kernel: in the group added processing of 'EXIT' signal from shell OTP-14991
2018-03-20Merge pull request #1744 from uabboli/hasse/stdlib/lists_search/OTP-14675Hans Bolinder
stdlib: Add function lists:search/2
2018-03-20Merge pull request #1742 from michalmuskala/code-ensure-loadedDan Gudmundsson
Short-circuit code:ensure_loaded for already-loaded modules
2018-03-20Merge pull request #1748 from fenollp/more-typosHans Bolinder
More typos
2018-03-20Merge branch 'john/erts/fix-set-owner-group/ERL-589'John Högberg
* john/erts/fix-set-owner-group/ERL-589: Fix file:change_group/change_owner