aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-04-09Merge branch ↵Lukas Larsson
'lukas/erts/fragment-dist-messages/OTP-13397/OTP-15610/OTP-15611/OTP-15612/OTP-15613/OTP-15703' * lukas/erts/fragment-dist-messages/OTP-13397/OTP-15610/OTP-15611/OTP-15612/OTP-15613/OTP-15703: erts: Fix dist sequence yield state allocator type erts: Fix driver_SUITE:use_fallback_pollset erts: Yield when exiting/free process is suspended by de erts: Fix alignment of ErtsDistExternal on sparc erts: Fix incorrect gcc may be used init warning erts: Skip large dist testcases on machines with little memory erts: Fix lock order violation in system_info(procs) erts: Fix buffer alignment bug in alloc_dist_obuf erts: Fix build of dist_ctrl_get_data return term
2019-04-09erts: Fix dist sequence yield state allocator typeLukas Larsson
The wrong allocator type was given to erts_free.
2019-04-09erts: Fix driver_SUITE:use_fallback_pollsetLukas Larsson
We don't check for io errors as the pollset will be unstable.
2019-04-09erts: Yield when exiting/free process is suspended by deLukas Larsson
Complementory fix to 922fd355831575965
2019-04-09erts: Fix alignment of ErtsDistExternal on sparcLukas Larsson
The edep->data values need to be 64-bit aligned as it contains 64-bit values.
2019-04-09erts: Fix incorrect gcc may be used init warningLukas Larsson
2019-04-09erts: Skip large dist testcases on machines with little memoryLukas Larsson
2019-04-09erts: Fix lock order violation in system_info(procs)Lukas Larsson
2019-04-09erts: Fix buffer alignment bug in alloc_dist_obufLukas Larsson
Cannot do unaligned word writes on sparc!
2019-04-09erts: Fix build of dist_ctrl_get_data return termLukas Larsson
2019-04-09Merge branch 'maint'Lukas Larsson
2019-04-09Merge branch 'lukas/erts/fix-fd-driver-select/OTP-15753' into maintLukas Larsson
* lukas/erts/fix-fd-driver-select/OTP-15753: erts: Fix sys_driver to correctly deselect fds
2019-04-09erts: Fix sys_driver to correctly deselect fdsLukas Larsson
Incorrect precidence rules made the driver never deselect the given fds.
2019-04-09Merge branch 'hasse/stdlib/erl_pp_throw/OTP-15751'Hans Bolinder
* hasse/stdlib/erl_pp_throw/OTP-15751: stdlib: Fix a bug concerning exception class 'throw'
2019-04-09Issue an error for improper use of record_info/2 in a funBjörn Gustavsson
`record_info/2` is a pseudo-function that requires literal arguments known at compile time. Therefore, the following usage is illegal: f() -> fun record_info/2. However, `erl_lint` did not issue a compilation error for this usage, and the compiler would crash in a later pass. https://bugs.erlang.org/browse/ERL-907
2019-04-08Merge branch 'maint'Sverker Eriksson
2019-04-08Merge branch 'sverker/crypto/bcmp-memcmp-fix/OTP-15750' into maintSverker Eriksson
* sverker/crypto/bcmp-memcmp-fix/OTP-15750: crypto: Fix link error on windows
2019-04-08Merge branch 'maint'Rickard Green
* maint: Use string:tokens instead of string:lexemes on OTP 19
2019-04-08Merge branch 'rickard/ts-find-ubuntu-inst-19/OTP-15716' into maintRickard Green
* rickard/ts-find-ubuntu-inst-19/OTP-15716: Use string:tokens instead of string:lexemes on OTP 19
2019-04-08Use string:tokens instead of string:lexemes on OTP 19Rickard Green
2019-04-08Merge branch 'bjorn/erts/cuddle-with-tests'Björn Gustavsson
* bjorn/erts/cuddle-with-tests: statistics_SUITE: Make wall_clock_update/1 more tolerant
2019-04-08Add erts_debug:interpreter_size/0Björn Gustavsson
Add erts_debug:interpreter_size/0 for retrieving the approximate size of the BEAM interpreter (process_main()).
2019-04-08Merge branch 'sverker/master/crypto/bcmp-memcmp-fix/OTP-15750'Sverker Eriksson
* sverker/master/crypto/bcmp-memcmp-fix/OTP-15750: crypto: Fix link error on windows
2019-04-08Clear ERL_AFLAGS when starting a previous releaseBjörn Gustavsson
When starting a slave or peer node, options in ERL_AFLAGS might not be valid for the previous release. For instance, "-emu_type lcnt" would only work if the previous release happened to have been built with a lock counting emulator.
2019-04-08dialyzer: Fix pretty printing of binariesHans Bolinder
Notice the comment in dialyzer_utils: %% Copied from core_pp. The function cerl:binary_segments/2 should/could %% be extended to handle literals, but then the cerl module cannot be %% HiPE-compiled as of Erlang/OTP 22.0 (due to <<I:N>>). When at it: simplify some common cases like "/binary-unit:8".
2019-04-08Merge pull request #2202 from bjorng/bjorn/tune-beam-4Björn Gustavsson
Optimize the i_minus instruction
2019-04-08stdlib: Fix a bug concerning exception class 'throw'Hans Bolinder
Since the introduction of the stack trace variable, the Erlang Pretty Printer has left out the exception class 'throw' even when the stack trace variable cannot be left out, which is not correct Erlang code. The fix is to always include the exception class 'throw'. An alternative is to exclude 'throw' exactly when the stack trace variable is '_'.
2019-04-08Merge branch 'ingela/ssl/cuddle-tests'Ingela Anderton Andin
* ingela/ssl/cuddle-tests: ssl: Do not use broken OpenSSL clients ssl: Correct test input
2019-04-08Merge pull request #2200 from ↵Björn Gustavsson
bjorng/bjorn/deprecation-warnings/ERL-904/OTP-15749 Add compiler option for suppressing warnings about removed functions/modules
2019-04-08erts: Optimize arithmetic ops using overflow intrinsicsJohn Högberg
2019-04-08erts: Skip ERTS_NOINLINE on non-GCC-compatible compilersJohn Högberg
__declspec(noinline) works fine on MSVC but requires us to place the macro before a function rather than after, which in turn causes early versions of GCC to puke since they only accept __attribute__ at the end of a function declaration. Since this is a new macro that previously only saw use in beam_emu, I figured it's easiest to leave it disabled on MSVC.
2019-04-08Merge pull request #2203 from mikpe/calendar-xml-typoBjörn Gustavsson
calendar.xml: fix typo
2019-04-07calendar.xml: fix typoMikael Pettersson
2019-04-05Merge branch 'hans/crypto/cuddle_docs'Hans Nilsson
* hans/crypto/cuddle_docs: crypto: User's Guide and Reference Manual for the new api
2019-04-05Merge branch 'sverker/crypto/bcmp-memcmp-fix/OTP-15750'Sverker Eriksson
into sverker/master/crypto/bcmp-memcmp-fix/OTP-15750
2019-04-05crypto: Fix link error on windowsSverker Eriksson
Replace deprecated 'bcmp' with 'memcmp'.
2019-04-05Optimize the i_minus instructionBjörn Gustavsson
Measurements show that i_minus instructions (subtraction) are frequent enough to warrant creating specialized i_minus instructions. Thanks to José Valim for doing instruction counting on Elixir code.
2019-04-05crypto: User's Guide and Reference Manual for the new apiHans Nilsson
2019-04-05Merge branch 'hans/crypto/polish_new_api/OTP-15644'Hans Nilsson
* hans/crypto/polish_new_api/OTP-15644: crypto: Fix valgrind error for api_ng.c ssh: Use new crypto function names crypto: Fixup lots of tests crypto: Rename new api and rework the typing crypto: Misc C-changes,
2019-04-05crypto: Fix valgrind error for api_ng.cHans Nilsson
2019-04-05ssh: Use new crypto function namesHans Nilsson
2019-04-05crypto: Fixup lots of testsHans Nilsson
2019-04-05crypto: Rename new api and rework the typingHans Nilsson
Split conceptually into an OLD and a NEW api with separate typing. The NEW api will in general not provide types for ciphers without key length like aes_ctr. Use aes_128_ctr etc. Later the C-code will not accept them either.
2019-04-05crypto: Misc C-changes,Hans Nilsson
error fixes, better error reporting (file and line), make aead more robust and like the _ng api.
2019-04-05ssl: Do not use broken OpenSSL clientsIngela Anderton Andin
Also remove dead code
2019-04-05ssl: Correct test inputIngela Anderton Andin
2019-04-05Merge branch 'lukas/erl_docgen/add-internal-docs'Björn Gustavsson
OTP-15715 * lukas/erl_docgen/add-internal-docs: cerl_clauses: Fix broken link Fix minor typos Add CountingInstructions to the internal documentation GarbageCollection.md: Fix links to references emd2exml: Remove paragraphs around image tags emd2exml: Clean emphasis markers in link texts emd2exml: Allow short names of anchors for internal links Include figures erts: Fix more internal docs xmllint compiler: Add internal docs section erl_docgen: Add new internal docs chapter to docs
2019-04-05Merge branch 'bjorn/doc/fix-broken-links'Björn Gustavsson
* bjorn/doc/fix-broken-links: Fix broken links
2019-04-05Merge remote-tracking branch 'trofi/master' into john/merge-re-replace-fixJohn Högberg
PR 2194, stdlib: fix re:replace on LTO builds * trofi/master: cleanup: beam_emu.c: use ERTS_NOINLINE instead of NOINLINE stdlib: fix re:replace on LTO builds
2019-04-05Merge branch 'john/kernel/file_SUITE-skip-large_write-nfs'John Högberg
* john/kernel/file_SUITE-skip-large_write-nfs: file_SUITE: Skip large_file test if we fail to query free disk space