aboutsummaryrefslogtreecommitdiffstats
path: root/erts
AgeCommit message (Collapse)Author
2019-08-20system: Remove special handling of EDoc in otp_SUITE.Hans Bolinder
2019-06-28Merge branch 'maint'Lukas Larsson
2019-06-28erts: Update etp-stackump, stackmap and disasmLukas Larsson
2019-06-28Merge branch 'maint'Lukas Larsson
2019-06-27erts: Reduce test time for multi_load in valgrindLukas Larsson
The previous test amount could take up to 3 hours to finish!
2019-06-27erts: Randomize valgrind taskset CPULukas Larsson
When running multiple valgrinds on the same machine we want to attempt to make sure that they do not end up on the same core.
2019-06-27erts: Make dump_SUITE:free_dump tc more robust to different systemsLukas Larsson
2019-06-27erts: Fix distr SUITE latency testcasesLukas Larsson
2019-06-27erts: Fix gc disable when terminating processLukas Larsson
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 'maint'Lukas Larsson
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 'maint'Micael Karlberg
2019-06-27Merge branch ↵Micael Karlberg
'bmk/erts/esock/incorrect_map_size_check_update_membership/OTP-15908' into maint
2019-06-27Merge branch 'maint'Lukas Larsson
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-26Merge branch 'kjell/make_test/OTP-15812'Kjell Winblad
2019-06-26Add "make test" command for root and application directoriesKjell Winblad
The added make target is described in HOWTO/TESTING.md.
2019-06-25Merge branch 'maint'Rickard Green
* maint: Update runtime dependency from stdlib to erts Yield when validating UTF8 for long subject in re:run() Add yield_on_subject_validation() test 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-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 'maint'Sverker Eriksson
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-24Merge branch 'maint'Sverker Eriksson
2019-06-24Fix VALGRIND_MISC_FLAGS defaults to use ERL_TOPSverker Eriksson
for suppression file.
2019-06-24Merge branch 'maint'Björn Gustavsson
* maint: Handle addition of bignum + variable in unoptimized code
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-20Merge branch 'maint'Sverker Eriksson
2019-06-20Add default VALGRIND_MISC_FLAGS if not setSverker Eriksson
2019-06-19Merge branch 'maint'Sverker Eriksson
2019-06-19Merge branch 'sverker/erts/several-config-opt-windows/ERL-912/OTP-15918' ↵Sverker Eriksson
into maint
2019-06-19Merge branch 'maint'Sverker Eriksson
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 'maint'Sverker Eriksson
2019-06-19Merge branch 'sverker/fix-hipe-arm-old-gcc-error' into maintSverker Eriksson
2019-06-19Merge branch 'maint'Sverker 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-19Merge pull request #2110 from NattyNarwhal/aix-fixes/OTP-15866Lukas Larsson
Wake AIX up from coma
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.