summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated OTP versionOTP-21.3.8.24maint-21Erlang/OTP2021-05-312-1/+2
|
* Prepare releaseErlang/OTP2021-05-313-6/+34
|
* Merge branch 'rickard/busy-port-fix/21/GH-4898/OTP-17448' into maint-21Erlang/OTP2021-05-312-7/+44
|\ | | | | | | | | * rickard/busy-port-fix/21/GH-4898/OTP-17448: Fix busy port handling in port_command()
| * Merge branch 'rickard/busy-port-fix/GH-4898/OTP-17448' into ↵Rickard Green2021-05-272-7/+44
| |\ | | | | | | | | | | | | | | | | | | rickard/busy-port-fix/21/GH-4898/OTP-17448 * rickard/busy-port-fix/GH-4898/OTP-17448: Fix busy port handling in port_command()
| | * Fix busy port handling in port_command()Rickard Green2021-05-272-7/+44
| | |
* | | Merge branch 'sverker/21/ets-matchspec-stack-bug/OTP-17379' into maint-21Erlang/OTP2021-05-312-3/+38
|\ \ \ | |/ / |/| | | | | | | | * sverker/21/ets-matchspec-stack-bug/OTP-17379: erts: Fix matchspec stack depth estimation bug
| * | erts: Fix matchspec stack depth estimation bugSverker Eriksson2021-05-062-3/+38
| | |
* | | Updated OTP versionOTP-21.3.8.23Erlang/OTP2021-05-052-1/+2
| | |
* | | Prepare releaseErlang/OTP2021-05-057-6/+119
| | |
* | | Merge branch 'kjell/runtime_tools/dbg/ERL-1371/OTP-16930/GH-4396' into maint-21Erlang/OTP2021-05-051-3/+3
|\ \ \ | | | | | | | | | | | | | | | | * kjell/runtime_tools/dbg/ERL-1371/OTP-16930/GH-4396: GH-4396: exported function instead of fun to set up remote tracing
| * | | GH-4396: exported function instead of fun to set up remote tracingKjell Winblad2021-05-031-3/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The function `dbg:n/1` used a local fun to set up a tracer on a remote node. This works fine as long as the remote node is running exactly the same version of Erlang/OTP but does not work at all otherwise. This is fixed by exporting the relevant function (`dbg:do_relay/2`) and by calling this function on the remote node to set up remote tracing.
* | | Merge branch 'lukas/erl_interface/send-inf-tmo-fix/OTP-17358' into maint-21Erlang/OTP2021-05-053-12/+34
|\ \ \ | | | | | | | | | | | | | | | | * lukas/erl_interface/send-inf-tmo-fix/OTP-17358: ei: Correctly check timeout value vs EI_SCLBK_INF_TMO
| * | | ei: Correctly check timeout value vs EI_SCLBK_INF_TMOLukas Larsson2021-05-033-12/+34
| |/ / | | | | | | | | | | | | | | | For the timeout (passed as `ms`) zero does not represent infinity, but rather no sleeping at all. So that is what we should check against and not 0.
* | | Merge branch 'rickard/off-heap-msgq-fix/OTP-17349' into maint-21Erlang/OTP2021-05-051-1/+3
|\ \ \ | | | | | | | | | | | | | | | | * rickard/off-heap-msgq-fix/OTP-17349: Fix change of message_queue_data to off_heap
| * | | Fix change of message_queue_data to off_heapRickard Green2021-04-231-1/+3
| |/ /
* | | Merge branch 'rickard/signal-order-fix/21/OTP-17291' into maint-21Erlang/OTP2021-05-0515-229/+581
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * rickard/signal-order-fix/21/OTP-17291: Ensure is_process_alive() and process_info() respect signal order Ensure reply signals from ports respect signal order Ensure GC and CPC signals respect signal order
| * \ \ Merge branch 'rickard/signal-order-fix/OTP-17291' into ↵Rickard Green2021-04-2215-229/+581
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | rickard/signal-order-fix/21/OTP-17291 * rickard/signal-order-fix/OTP-17291: Ensure is_process_alive() and process_info() respect signal order Ensure reply signals from ports respect signal order Ensure GC and CPC signals respect signal order
| | * | Ensure is_process_alive() and process_info() respect signal orderRickard Green2021-04-223-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The reply signal sent as a result of a call to the is_process_alive() or the process_info() BIFs could pass before other signals sent between the involved processes. That is, the reply signals could be delivered too early.
| | * | Ensure reply signals from ports respect signal orderRickard Green2021-04-224-163/+283
| | | | | | | | | | | | | | | | | | | | | | | | The reply signal from a port to a process, when the process called one of the 'port_*' BIFs, could pass before other signals sent from the port to the process. That is, the reply signal could be delivered too early.
| | * | Ensure GC and CPC signals respect signal orderRickard Green2021-04-219-56/+272
| | |/ | | | | | | | | | | | | | | | 'garbage-collect' signals and 'check-process-code' signals could pass before other signals sent from one process to another. That is, they could be delivered too early.
* | | Merge branch 'rickard/literal-whole-message/OTP-17307' into maint-21Erlang/OTP2021-05-052-6/+74
|\ \ \ | | | | | | | | | | | | | | | | * rickard/literal-whole-message/OTP-17307: Fix literal collection of messages
| * | | Fix literal collection of messagesRickard Green2021-04-222-6/+74
| | |/ | |/| | | | | | | | | | The literal GC missed copying literals in messages where the whole message consisted of a literal.
* | | Updated OTP versionOTP-21.3.8.22Erlang/OTP2021-03-292-1/+2
| | |
* | | Prepare releaseErlang/OTP2021-03-295-4/+58
| | |
* | | Merge branch 'hans/ssh/idle_time-bug/OTP-17279' into maint-21Erlang/OTP2021-03-292-29/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | * hans/ssh/idle_time-bug/OTP-17279: ssh: Fix idle_time bug ssh: Update idle_time test case
| * | | ssh: Fix idle_time bugHans Nilsson2021-03-221-2/+7
| | | |
| * | | ssh: Update idle_time test caseHans Nilsson2021-03-221-27/+24
| | | |
* | | | Merge branch 'rickard/multizero-timeout-in-timeout-fix/21/OTP-17253' into ↵Erlang/OTP2021-03-293-6/+67
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maint-21 * rickard/multizero-timeout-in-timeout-fix/21/OTP-17253: erts: Fix bug in timer wheel at cancel during bump yield erts: Tidy up some harmless code typos Fix multi-zero timeout callback handling in timer wheel
| * | | | erts: Fix bug in timer wheel at cancel during bump yieldSverker Eriksson2021-03-041-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | erts: Tidy up some harmless code typosSverker Eriksson2021-03-041-2/+1
| | | | |
| * | | | Merge branch 'rickard/multizero-timeout-in-timeout-fix/OTP-17253' into ↵Rickard Green2021-03-043-2/+62
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | rickard/multizero-timeout-in-timeout-fix/21/OTP-17253 * rickard/multizero-timeout-in-timeout-fix/OTP-17253: Fix multi-zero timeout callback handling in timer wheel
| | * | | Fix multi-zero timeout callback handling in timer wheelRickard Green2021-03-043-2/+62
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | Execution of a zero timeout callback which was started from another zero timeout callback could be delayed. Most timers in the system do not behave like this. The service timer placed in the timer wheel for management of the red-black tree of very long timers may however behave like this.
* | | | Merge branch 'lukas/erts/sendfile_active_close/OTP-17244' into maint-21Erlang/OTP2021-03-292-13/+60
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | * lukas/erts/sendfile_active_close/OTP-17244: kernel: Make sure to close file so that fd check work erts: Return badarg if multiple sendfiles happen kernel: Add fd leak checks to sendfile SUITE erts: Fix fd leak when an active socket is closed remotely
| * | | kernel: Make sure to close file so that fd check workLukas Larsson2021-03-031-0/+1
| | | |
| * | | erts: Return badarg if multiple sendfiles happenLukas Larsson2021-03-031-0/+7
| | | |
| * | | kernel: Add fd leak checks to sendfile SUITELukas Larsson2021-03-031-3/+35
| | | |
| * | | erts: Fix fd leak when an active socket is closed remotelyLukas Larsson2021-03-031-10/+17
| |/ / | | | | | | | | | Fixes #4540
* | | Updated OTP versionOTP-21.3.8.21Erlang/OTP2021-02-192-1/+2
| | |
* | | Prepare releaseErlang/OTP2021-02-193-2/+39
| | |
* | | Merge branch 'bjorn/macos11-otp21/OTP-16779' into maint-21Erlang/OTP2021-02-1912-58/+39
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bjorn/macos11-otp21/OTP-16779: inets: Eliminate warnings in C code in tests kernel: Eliminate warnings in C code in tests erts: Eliminate warnings in C code in tests Add missing include statements in in6addr tests Update config scripts to compile for Apple Silicon (arm64) macOS: Remove version check in configure script Fix segfault(s) from variadic args on ARM64 Undo perform degradation on macOS
| * | | inets: Eliminate warnings in C code in testsBjörn Gustavsson2021-02-181-0/+2
| | | | | | | | | | | | | | | | | | | | Apple Clang 12 in Xcode 12 reports an error for the use of a function without a declaration.
| * | | kernel: Eliminate warnings in C code in testsBjörn Gustavsson2021-02-181-0/+4
| | | | | | | | | | | | | | | | | | | | Apple Clang 12 in Xcode 12 reports an error for the use of a function without a declaration.
| * | | erts: Eliminate warnings in C code in testsBjörn Gustavsson2021-02-185-4/+16
| | | | | | | | | | | | | | | | | | | | Apple Clang 12 in Xcode 12 reports an error for the use of a function without a declaration.
| * | | Add missing include statements in in6addr testsTyler Stromberg2021-02-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compilation is failing on macOS Big Sur due to in6addr_any and in6addr_loopback being redeclared. The underlying issue is that the tests for these are failing due to missing include statements: conftest.c:197:1: error: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Werror,-Wimplicit-function-declaration] printf("%d", in6addr_any.s6_addr[16]); ^ conftest.c:197:1: note: include the header <stdio.h> or explicitly provide a declaration for 'printf' ERL-1306
| * | | Update config scripts to compile for Apple Silicon (arm64)Mark Peek2021-02-183-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Detect Apple Silicon (arm64) during configuration for compilation on macOS 11.0 (beta at this time). (This is a partial cherry-pick of b93b9f95438.)
| * | | macOS: Remove version check in configure scriptBjörn Gustavsson2021-02-181-44/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a version check in one of the configure scripts that tests the version of macOS to ensure that the executables that are built can be run on the same computer that built them. The reason for this test has been lost in the mists of time. Presumably there was a good reason for the test when it was first added. Since the test recently has become more complicated because of the introduction of macOS 11.0 and 11.0.1, and is incorrect for some versions of macOS, remove it. If there turns out that the version test would be useful, it can be added back later (but in a less buggy way, preferably using `awk` instead of `sed` to make the version parsing simpler and more accurate).
| * | | Fix segfault(s) from variadic args on ARM64tehprofessor2021-02-181-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for Segfaults on Apple ARM64. Apple silicon does not support re-casting functions with fixed params as variadic, and instead requires the the function pointer to match the signature of the definition. If they do not match arguments will not be correctly marshaled, causing the function implementation to look for parameters in the wrong places. To enable Apple ARM64 support, we must explicitly cast to the correct function signature instead of using varargs `...`. Co-Authored-By: mjc <mjc@kernel.org>
| * | | Undo perform degradation on macOSBjörn Gustavsson2021-02-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apple Clang 12 included in Xcode 12 reports an error when a function without a declaration is used. That change causes the configure test for jump table support to wrongly assume that jump table support is missing, and therefore a `switch` would be used, degrading the performance of BEAM.
* | | | Merge branch 'rickard/aux-work-fix/OTP-17185' into maint-21Erlang/OTP2021-02-191-13/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * rickard/aux-work-fix/OTP-17185: Add missing memory barriers in aux work handling
| * | | | Add missing memory barriers in aux work handlingRickard Green2021-02-101-13/+16
| | |/ / | |/| |