Age | Commit message (Collapse) | Author |
|
|
|
|
|
Dummy merge (almost). os:cmd/2 already in OTP-20.
|
|
|
|
to only suggest missing OpenSSL if dlopen fails (load_failed).
|
|
|
|
to conform with erl_nif.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* bjorn/erts/eliminate-get_stacktrace:
Eliminate use of erlang:get_stacktrace/0 in preloaded modules
|
|
Point out the correct line in an exception for a bad generator
|
|
It has been decided that it was to early to deprecate the old
string functions.
This partially reverts commit ccb3f7f9768d3c28783c771df47eec1829e51802.
|
|
|
|
|
|
|
|
* 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
|
|
* origin/hasse/stdlib/fix_benchmark:
stdlib: Make benchmarks more robust
|
|
* sverker/inline-sys_memcpy:
erts: Fix some zero size sys_memcpy
|
|
just to make it easier to do "rm -rf"
|
|
|
|
|
|
|
|
* hans/ssh/spec_double_algs/OTP-14990:
ssh: Fix bad spec for double_algs() in ssh.hrl
|
|
maint-20
* raimo/stdlib/fix-gen_statem-init-actions-check/OTP-13995:
Test event insert from init
Fix init to allow all actions
|
|
|
|
|
|
* 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
|
|
where string:trim does not exist.
|
|
git cherry-pick 75b0f73f72e1783d4ace976cdd2b5f23bdc3ebae
|
|
git cherry-pick 55e929c4ed5cd854038c18697123ea94948ebf35
|
|
And try to not save bad data in the config.
And also add a garbage_collect menu entry.
|
|
|
|
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
|
|
statistics(runtime) does not seem to work on some virtual machines.
|
|
|
|
Implementation of true asynchronous signaling between processes
|
|
All uses of async threads in the built-in drivers have been
replaced with dirty IO, so it no longer makes sense to leave the
default at 10.
|
|
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.
|
|
|
|
|
|
* bjorn/misc-beam-fixes:
Correctly handle get_map_elements with a literal map
core_parse: Fix handling of negative sizes in binaries
|
|
Remove unused cerl_messagean module
|
|
Dynamic NIF libs and those added with config option
--enable-static-nifs are considered as taints.
|
|
to return pointer to ErtsStaticNifEntry.
|
|
|
|
|