aboutsummaryrefslogtreecommitdiffstats
path: root/erts
AgeCommit message (Collapse)Author
2019-06-27erts: Cleanup start of all erts threads to ABORT when failingLukas Larsson
Before this change erts used to crash dump and then abort, but a crash dump is not really usefull at this point and it caused all sort of lock problems when crash dumping that early in the system boot, so now it is changed to only dump core instead. Also in the process I cleaned up some the code so that it does not to a lot of things that are not needed.
2019-06-27Merge branch 'lukas/erts/fix-half-arguments-to-erlexec/OTP-15931' into maintLukas Larsson
* lukas/erts/fix-half-arguments-to-erlexec/OTP-15931: erlexec: Fix argument separation when mixing env flags
2019-06-27erlexec: Fix argument separation when mixing env flagsLukas Larsson
Example: export ERL_AFLAGS=-test erl dummy_param In the above example, the dummy_param would be interpreted as an argument to -test, and not as a separate argument as it should.
2019-06-27Merge branch ↵Micael Karlberg
'bmk/erts/esock/incorrect_map_size_check_update_membership/OTP-15908' into maint
2019-06-27Merge branch 'lukas/erts/dist-optimize-large-data/PR-2291/OTP-15926' into maintLukas Larsson
* lukas/erts/dist-optimize-large-data/PR-2291/OTP-15926: erts: Don't copy binary data from dist data erts: Move copy of payload to receiving process
2019-06-25Merge pull request #2250 from ↵Rickard Green
rickard-green/rickard/re-unicode-validation/OTP-15831/OTP-15836/ERL-876 re unicode validation
2019-06-24Merge branch 'sverker/system_info-procs-bug/ERL-979/OTP-15909' into maintSverker Eriksson
* sverker/system_info-procs-bug/ERL-979/OTP-15909: Fix fatal bug in erts_proc_sig_signal_size
2019-06-24Fix VALGRIND_MISC_FLAGS defaults to use ERL_TOPSverker Eriksson
for suppression file.
2019-06-24Merge branch 'bjorn/erts/unoptimized-plus' into maintBjörn Gustavsson
* bjorn/erts/unoptimized-plus: Handle addition of bignum + variable in unoptimized code
2019-06-24[esock|test] Add test case for IP add|drop membershipMicael Karlberg
Add a simple test case that tests that its possible to perform socket:setopt(Socket, ip, [add|drop]_membership, MReq). OTP-15908
2019-06-20Add default VALGRIND_MISC_FLAGS if not setSverker Eriksson
2019-06-19Merge branch 'sverker/erts/several-config-opt-windows/ERL-912/OTP-15918' ↵Sverker Eriksson
into maint
2019-06-19Merge branch 'sverker/hipe-x86-flush-icache' into maintSverker Eriksson
2019-06-19erts: Call __builtin___clear_cache for hipe x86 codeSverker Eriksson
Seems the right thing to do as the compiled code is not necessarily executed by a single CPU thread. Only warning if old gcc and will work as good/bad as it did before.
2019-06-19Merge branch 'sverker/fix-hipe-arm-old-gcc-error' into maintSverker Eriksson
2019-06-19Merge branch 'sverker/gcov-docker' into maintSverker Eriksson
2019-06-19erts: Add gcov-gen-html scriptSverker Eriksson
to generate nice html from logs of gcov compiled emulator.
2019-06-19Fix fatal bug in erts_proc_sig_signal_sizeSverker Eriksson
called by erlang:process_info(memory) erlang:system_info(procs) crash dump break menu Will crash VM if process has a pending monitor DOWN signal in its queue.
2019-06-19erts: Don't copy binary data from dist dataLukas Larsson
It is already a refc, so no need to create a new one.
2019-06-19erts: Move copy of payload to receiving processLukas Larsson
2019-06-18Merge branch 'rickard/re-yield-unicode-validation/OTP-15836/ERL-876' into ↵Rickard Green
rickard/re-unicode-validation/OTP-15831/OTP-15836/ERL-876 * rickard/re-yield-unicode-validation/OTP-15836/ERL-876: Update runtime dependency from stdlib to erts Yield when validating UTF8 for long subject in re:run() Add yield_on_subject_validation() test
2019-06-18Yield when validating UTF8 for long subject in re:run()Rickard Green
2019-06-18Merge branch 'rickard/re-global-unicode-validation/OTP-15831/ERL-876' into ↵Rickard Green
rickard/re-unicode-validation/OTP-15831/OTP-15836/ERL-876 * rickard/re-global-unicode-validation/OTP-15831/ERL-876: Update runtime dependency from stdlib to erts Only validate subject once when global is used in re:run() Add global_unicode_validation() test
2019-06-18[esock] socket:setopt add_membership fails with badargMicael Karlberg
An invalid value test caused the socket:setopt(Socket, ip, add_membership, ip_mreq()) to fail with badarg. OTP-15908 (ERL-980)
2019-06-18Merge branch 'kjell/stdlib/ets_ordered_set_slow_react/OTP-15906' into maintKjell Winblad
* kjell/stdlib/ets_ordered_set_slow_react/OTP-15906: ETS ordered_set: Improvements to the CA tree implementation
2019-06-18ETS ordered_set: Improvements to the CA tree implementationKjell Winblad
This commit only affects the implementation of ETS `ordered_set` tables with the `write_concurrency` option enabled. Such tables are implemented with a data structure that is called the contention adapting search tree (CA tree). This commit introduces the following changes: * This commit causes a join to be triggered in one randomly selected base node in about one of 1000 read unlock calls for base node locks. No such joins happened before this commit. Before this commit, operations that only acquired looks in read-mode never triggered any contention adaptation. Therefore, the CA tree could get stuck in a sub-optimal state in certain scenarios. This could happen, for example, when a CA tree is first populated with parallel inserts (which will cause splits of base nodes) and then only read-only operations are applied to the data structure. Benchmark results from the `ets_SUITE:lookup_catree_par_vs_seq_init_benchmark/0` benchmark function (which is included in this commit) shows that this change can improve the throughput of the CA tree in the scenario described above. * Read-only operations will now also increase values of statistics counters when they detect that they need to wait for other operations. Only write operation changed statistics counters before this commit. This improves the statistics that the adaptation heuristics is based on. * Additionally, this commit adds an upper and lower limit to the contention statistics variables in the base nodes. Such limits did not exist before this commit. This should, for example, make the CA tree more responsive to contention after long periods of low contention.
2019-06-18Merge pull request #2270 from essen/dist-get-stat-real-pend-value/OTP-15905Lukas Larsson
Return real pend value in erlang:dist_get_stat/1
2019-06-18Merge pull request #2271 from essen/alt-dist-getstat-non-zeroLukas Larsson
alt_dist docs: Correct the mf_getstat description
2019-06-18Merge branch 'maint-22' into maintJohn Högberg
* maint-22: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-06-18Merge pull request #2272 from ↵Lukas Larsson
garazdawi/lukas/erts/fix_active_n_close_win32/ERL-960/OTP-15901 Fix {active,N} close race condition on windows
2019-06-18Merge branch 'maint-21' into maintJohn Högberg
* maint-21: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # lib/common_test/doc/src/notes.xml # lib/common_test/vsn.mk # lib/kernel/doc/src/notes.xml # lib/kernel/vsn.mk # lib/public_key/doc/src/notes.xml # lib/public_key/vsn.mk # lib/ssl/doc/src/notes.xml # lib/ssl/vsn.mk # lib/stdlib/doc/src/notes.xml # lib/stdlib/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-06-17Prepare releaseErlang/OTP
2019-06-17Merge branch 'rickard/dist-exit2/22/OTP-15867' into maint-22Erlang/OTP
* rickard/dist-exit2/22/OTP-15867: Don't disconnect on remote exit/2 with old incarnation as recipient
2019-06-17Merge branch 'john/erts/fix-xxx_to_existing_atom-overflow/ERL-944/OTP-15819' ↵Erlang/OTP
into maint-22 * john/erts/fix-xxx_to_existing_atom-overflow/ERL-944/OTP-15819: erts: Fix buffer overflow in xxx_to_existing_atom
2019-06-17Prepare releaseErlang/OTP
2019-06-17Merge branch 'rickard/dist-exit2/21/OTP-15867' into maint-21Erlang/OTP
* rickard/dist-exit2/21/OTP-15867: Don't disconnect on remote exit/2 with old incarnation as recipient
2019-06-17Merge branch 'ingela/raimo/udp-send-TOS/ERIERL-294/OTP-15747' into maint-21Erlang/OTP
* ingela/raimo/udp-send-TOS/ERIERL-294/OTP-15747: Introduce udp send ancillary data argument down to inet_drv Fix old warnings
2019-06-17Merge branch ↵Erlang/OTP
'sverker/erts/process-info-reductions-idle-proc/ERL-964/OTP-15865' into maint-21 * sverker/erts/process-info-reductions-idle-proc/ERL-964/OTP-15865: erts: Improve test of process_info(reductions) Revert "erts: Force process_info(reductions) as signal"
2019-06-17Merge branch 'raimo/incomplete-socket-close/ERIERL-353/OTP-15370' into maint-21Erlang/OTP
* raimo/incomplete-socket-close/ERIERL-353/OTP-15370: Copy linger zero flag from listen socket Test linger zero flag from listen socket
2019-06-17Merge branch 'john/erts/fix-conservative/OTP-15881' into maintJohn Högberg
* john/erts/fix-conservative/OTP-15881: erts: Relax the constraint introduced in OTP-15871
2019-06-17Merge branch 'rickard/dist-exit2/22/OTP-15867' into maintRickard Green
* rickard/dist-exit2/22/OTP-15867: Don't disconnect on remote exit/2 with old incarnation as recipient
2019-06-17cc.sh: Optimize dependency generationBjörn Gustavsson
2019-06-17Merge branch 'ingela/raimo/udp-send-TOS/ERIERL-294/OTP-15747' into ↵Ingela Anderton Andin
ingela/merge-294 * ingela/raimo/udp-send-TOS/ERIERL-294/OTP-15747: Introduce udp send ancillary data argument down to inet_drv Fix old warnings
2019-06-17Merge branch 'rickard/dist-exit2/21/OTP-15867' into ↵Rickard Green
rickard/dist-exit2/22/OTP-15867 * rickard/dist-exit2/21/OTP-15867: Don't disconnect on remote exit/2 with old incarnation as recipient
2019-06-17Merge branch 'rickard/dist-exit2/20/OTP-15867' into ↵Rickard Green
rickard/dist-exit2/21/OTP-15867 * rickard/dist-exit2/20/OTP-15867: Don't disconnect on remote exit/2 with old incarnation as recipient
2019-06-17Don't disconnect on remote exit/2 with old incarnation as recipientRickard Green
2019-06-17Introduce udp send ancillary data argument down to inet_drvRaimo Niskanen
2019-06-17Merge branch 'maint-20' into maintJohn Högberg
* maint-20: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # lib/common_test/doc/src/notes.xml # lib/common_test/vsn.mk # lib/tools/doc/src/notes.xml # lib/tools/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-06-16Document extra message element also where trace message format is describedPéter Gömöri
2019-06-14Merge branch 'bmk/erts/esock/20190528/pattern' into maintMicael Karlberg