aboutsummaryrefslogtreecommitdiffstats
path: root/erts
AgeCommit message (Collapse)Author
2019-05-29Prepare releaseErlang/OTP
2019-05-29Merge branch 'bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834' into maint-22Erlang/OTP
* bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834: Fix sticky class in exception
2019-05-23Fix sticky class in exceptionBjörn Gustavsson
When catching an exception re-throwing with a changed class, the class could be changed to the original class if the exception got caught and rethrown in (for example) an after block: sticky_class() -> try try throw(reason) catch throw:Reason:Stack -> erlang:raise(error, Reason, Stack) end after ok end.
2019-05-10Prepare releaseErlang/OTP
2019-05-10Eliminate process yield after each call to length/1Björn Gustavsson
After calculating the length of a list, length/1 would accidentally bump all remaining reductions, forcing the process to yield. Correct the calculation.
2019-05-08Merge branch 'maint'Rickard Green
* maint: Fix bad merge from maint-21 Fix bad merge from maint-21 Updated OTP version Prepare release # Conflicts: # OTP_VERSION # make/otp_version_tickets_in_merge
2019-05-08Fix bad merge from maint-21Rickard Green
2019-05-07Merge branch 'maint-21' into maintIngela Anderton Andin
* maint-21: Updated OTP version Prepare release
2019-05-06Prepare releaseErlang/OTP
2019-05-06Merge branch 'sverker/process_info-reductions-fix/OTP-15793' into maint-21Erlang/OTP
* sverker/process_info-reductions-fix/OTP-15793: erts: Force process_info(reductions) as signal erts: Fix another bug in process_info(reductions)
2019-05-06Merge branch 'maint'Sverker Eriksson
2019-05-06Merge branch 'sverker/process_info-reductions-fix/OTP-15793' into maintSverker Eriksson
* sverker/process_info-reductions-fix/OTP-15793: erts: Force process_info(reductions) as signal erts: Fix another bug in process_info(reductions)
2019-05-06Merge pull request #2219 from josevalim/jv-auto-host/OTP-15794Lukas Larsson
Add hostname to -remsh if none is given
2019-05-03erts: Force process_info(reductions) as signalSverker Eriksson
Not 100% sure this is needed to get correct reductions as the direct query is not done if process is RUNNING anyway.
2019-05-03Merge branch 'lukas/erts/distr-frag-fixes'Lukas Larsson
* lukas/erts/distr-frag-fixes: erts: Add documentation for distribution fragments
2019-05-03Merge branch 'lukas/OTP-22/misc-fixes/OTP-15791'Lukas Larsson
* lukas/OTP-22/misc-fixes/OTP-15791: erts: Fix so that non-oneshot pollset on OpenBSD works erts: Remove dead cpu info code in erlexec erts: Remove -instr from erlexec flags
2019-05-02erts: Fix so that non-oneshot pollset on OpenBSD worksLukas Larsson
The poll code for kevent on OpenBSD and NetBSD had not been fixed to work properly when disabling events in the scheduler poll-set. Because they use ONESHOT the delete operation was built into the trigger and thus a lot of code was not needed when doing oneshot, however it is needed when doing non-oneshot.
2019-05-02Merge branch 'sverker/tw-assert'Sverker Eriksson
* sverker/tw-assert: erts: Fix bug in timer wheel at cancel during bump yield erts: Tidy up some harmless code typos
2019-05-02erts: Remove dead cpu info code in erlexecLukas Larsson
This was previously used when erlexec needed to decide whether to run the smp or non-smp emulator.
2019-05-02erts: Remove -instr from erlexec flagsLukas Larsson
2019-05-02Merge branch 'lukas/OTP-22/misc-fixes/OTP-15788'Lukas Larsson
* lukas/OTP-22/misc-fixes/OTP-15788: erts: Fix PGO configure test for gcc
2019-05-02erts: Add documentation for distribution fragmentsLukas Larsson
2019-05-02Merge branch 'bmk/erts/esock/20190430/configure_esock_include/OTP-15658'Micael Karlberg
2019-05-02Merge branch 'lukas/erts/distr-frag-fixes'Lukas Larsson
* lukas/erts/distr-frag-fixes: Update run-dialyzer script to be more generic and aggressive erts: Fix memory leak for down/exit message
2019-05-02erts: Fix PGO configure test for gccLukas Larsson
The problem was that some on some platforms -fprofile-generate does not imply -lgcov which means that it will not link.
2019-05-02Merge branch 'lukas/OTP-22/misc-fixes'Lukas Larsson
* lukas/OTP-22/misc-fixes: erts: Restart driver_SUITE:polling node at failure
2019-05-02erts: Restart driver_SUITE:polling node at failureLukas Larsson
2019-04-30[net] Improvements (ahum) when --disable-esockMicael Karlberg
The net module uses socket, but when the system has been built with --disable-esock, there is no socket...
2019-04-30[socket|net|test] Update test suites to handle disabled esockMicael Karlberg
2019-04-30[socket|net] Fixed beamsMicael Karlberg
Forgot about using 'otp_build update_preloaded --no-commit' when updating the preloaded and compiled with plain erlc... Caused problems for dyalizer... OTP-15658
2019-04-30[socket|net] Preloaded now built with latest compilerMicael Karlberg
OTP-15658
2019-04-30[socket|net] Final prepMicael Karlberg
The config options --[en|dis]able-esock now works as expected.
2019-04-30[socket] Preloaded (erts) app fileMicael Karlberg
The optional socket module is now not included in the app file if esock is not enabled. OTP-15658
2019-04-30[socket] Preliminary - make socket configurableMicael Karlberg
Preliminary work to make socket configurable (enable and disable). OTP-15658
2019-04-30Merge branch 'john/erts/alloc-header-packing-win64'John Högberg
* john/erts/alloc-header-packing-win64: erts_alloc: Fix header packing on Win64
2019-04-30erts: Fix memory leak for down/exit messageLukas Larsson
When a fragmented down/exit is sent to a non-existing process the message would just be dropped without being deallocated.
2019-04-29erts: Fix bug in timer wheel at cancel during bump yieldSverker Eriksson
Symptom: Failed debug assert in find_next_timeout ERTS_TW_ASSERT(tiw->yield_slot == ERTS_TW_SLOT_INACTIVE); Problem: If remove_timer() was called in between yielding erts_bump_timers() tiw->true_next_timeout_time could be set to 0 leading to find_next_timeout() being called before all bumping is done. Solution: Don't clear tiw->true_next_timeout_time in remove_timer() if tiw->yield_slot is active. Does not seem this bug could cause other more harmful symptoms, but not sure.
2019-04-29erts: Tidy up some harmless code typosSverker Eriksson
2019-04-29Add hostname to -remsh if none is givenJosé Valim
The -name option already computes a default hostname if none is given. This PR adds the same behaviour to -remsh. Now we can run: erl -name foo -remsh bar erl -sname foo -remsh bar This simplifies deployment scripts as otherwise they have to compute the hostname by hand or start an Erlang VM instance only to do so.
2019-04-29Merge branch 'rickard/dist-q-sz-fix'Rickard Green
* rickard/dist-q-sz-fix: Fix distribution queue size adjustment
2019-04-29Merge branch 'sverker/misc-fix'Sverker Eriksson
2019-04-29erts_alloc: Fix header packing on Win64John Högberg
2019-04-29Merge branch 'bmk/erts/esock/20190417/new_select_api/OTP-15496'Micael Karlberg
2019-04-24erts: Fix another bug in process_info(reductions)Sverker Eriksson
to disregard consumed virtual reductions which are not aggregated into p->reds and if included may cause reduction count go backwards.
2019-04-24erts: Fix etp-block2mbcSverker Eriksson
2019-04-24erts: Simplify erts_get_port_namesSverker Eriksson
No need to pre-allocate a buffer before name length calculation.
2019-04-24erts: Fix etp-commands to work on older gdbSverker Eriksson
where $argc does not exists "if $undefined_variable" evaluates as true !?
2019-04-24Fix distribution queue size adjustmentRickard Green
2019-04-24Revert "Prepare release"Rickard Green
This reverts commit 425889ba69b69a9b6fb14bfbef121d51b78e853a.
2019-04-24erts_alloc: Fix incorrect header word packingJohn Högberg