summaryrefslogtreecommitdiff
path: root/erts/emulator
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'lukas/23/fixes'Lukas Larsson2020-05-084-6/+6
|\ | | | | | | | | | | * lukas/23/fixes: Use schedulers_online when creating bound processes kernel: Fix boot srv test on ubuntu
| * Use schedulers_online when creating bound processesLukas Larsson2020-05-044-6/+6
| | | | | | | | | | | | If a process is bound to a suspended schedulers we get into all sorts of problems as they will never run and thus purge cannot complete.. etc etc.
* | Merge branch 'maint'Rickard Green2020-05-082-7/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | * maint: Fix dirty check process code Fix literal area gc bug Suppress Dialyzer warnings of type no_match in generated files Correct printout that shows which encoding rules the tests are done for.
| * \ Merge branch 'rickard/low-prio-sys-task-delay-bufix-22/OTP-16642' into maintRickard Green2020-05-082-3/+118
| |\ \ | | | | | | | | | | | | | | | | * rickard/low-prio-sys-task-delay-bufix-22/OTP-16642: Fix delayed low prio system tasks
| * \ \ Merge branch 'rickard/dirty-check-proc-code-bugfix/OTP-16641' into maintRickard Green2020-05-081-2/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * rickard/dirty-check-proc-code-bugfix/OTP-16641: Fix dirty check process code
| | * | | Fix dirty check process codeRickard Green2020-05-071-2/+4
| | | | |
| * | | | Merge branch 'rickard/literal-gc-bugfix/OTP-16640' into maintRickard Green2020-05-081-5/+15
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * rickard/literal-gc-bugfix/OTP-16640: Fix literal area gc bug
| | * | | | Fix literal area gc bugRickard Green2020-05-071-5/+15
| | |/ / /
* | | | | Merge branch 'rickard/low-prio-sys-task-delay-bufix-22/OTP-16642' into ↵Rickard Green2020-05-072-2/+117
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | rickard/low-prio-sys-task-delay-bufix-23/OTP-16642 * rickard/low-prio-sys-task-delay-bufix-22/OTP-16642: Fix delayed low prio system tasks
| * | | | Merge branch 'rickard/low-prio-sys-task-delay-bufix/OTP-16642' into ↵Rickard Green2020-05-072-3/+118
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rickard/low-prio-sys-task-delay-bufix-22/OTP-16642 * rickard/low-prio-sys-task-delay-bufix/OTP-16642: Fix delayed low prio system tasks
| | * | | | Fix delayed low prio system tasksRickard Green2020-05-072-3/+118
| | | |/ / | | |/| |
| * | | | Merge branch 'rickard/recv-opt-fix/ERL-1199/OTP-16572' into maint-22Erlang/OTP2020-04-067-35/+269
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * rickard/recv-opt-fix/ERL-1199/OTP-16572: Fix handling of receive marker
| * \ \ \ \ Merge branch 'rickard/bad-utf8-subject-22/OTP-16553' into maint-22Erlang/OTP2020-04-061-21/+59
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rickard/bad-utf8-subject-22/OTP-16553: re:run(): ensure badarg on illegal utf8 in subject
| * \ \ \ \ \ Merge branch 'john/erts/fix-cla-disable-gc/OTP-16555/ERL-1088' into maint-22Erlang/OTP2020-04-063-5/+82
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * john/erts/fix-cla-disable-gc/OTP-16555/ERL-1088: erts: Delay copying literal area when GC is disabled
* | \ \ \ \ \ \ Merge branch 'hans/crypto/cuddle_valgrind'Hans Nilsson2020-05-041-1/+13
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hans/crypto/cuddle_valgrind: crypto: Suppress false memory leak for engine test
| * | | | | | | | crypto: Suppress false memory leak for engine testHans Nilsson2020-04-291-1/+13
| | | | | | | | |
* | | | | | | | | Merge branch 'sverker/win-compile-warnings/OTP-15800'Sverker Eriksson2020-05-0310-48/+60
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sverker/win-compile-warnings/OTP-15800: odbc: Fix windows compiler warnings wx: Fix windows compiler warnings os_mon: Fix windows compiler warnings erl_interface: Fix windows compiler warnings erts: Fix int_drv use of type SOCKLEN_T erts: Use ERTS_SYS_FD_INVALID instead of -1 erts: Fix misc Windows C compiler warnings
| * | | | | | | | | erts: Fix int_drv use of type SOCKLEN_TSverker Eriksson2020-05-031-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SOCKLEN_T is used for the last arguments of #define sock_getopt getsockopt #define sock_setopt setsockopt #define sock_name getsockname #define sock_peer getpeername On unix this is type socklen_t, but on Windows this is type int. Commit 011954e851d421b882b0b4eaeda04cfc2895d70a changed SOCKLEN_T from int to size_t which is not correct on Windows. Kept size_t fallback on non-Windows with a compile #warning, not sure if this is ever needed/correct.
| * | | | | | | | | erts: Use ERTS_SYS_FD_INVALID instead of -1Sverker Eriksson2020-05-032-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to avoid Windows C compiler warning and make it more correct.
| * | | | | | | | | erts: Fix misc Windows C compiler warningsSverker Eriksson2020-05-039-39/+48
| | |/ / / / / / / | |/| | | | | | |
* | | | | | | | | Merge branch 'sverker/win-compile-warnings-master/OTP-15800'Sverker Eriksson2020-05-033-4/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sverker/win-compile-warnings-master/OTP-15800: erts: Change type ErlDrvEvent from long to SWord for sys-drivers erl_interface: Fix Windows C compiler warnings erts: Fix Windows C compiler warnings
| * | | | | | | | | erts: Change type ErlDrvEvent from long to SWord for sys-driversSverker Eriksson2020-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To get a pointer sized signed integer on win64 as well. Q: Why do sys-drivers have their own definition of ErlDrvEvent in the first place?
| * | | | | | | | | erts: Fix Windows C compiler warningsSverker Eriksson2020-04-232-3/+3
| | | | | | | | | |
* | | | | | | | | | Merge branch 'john/erts/update-pcre/OTP-16557'John Högberg2020-04-308-27/+32
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * john/erts/update-pcre/OTP-16557: erts: Update PCRE to 8.44 pcre: Add instructions for checking/installing locale
| * | | | | | | | | | erts: Update PCRE to 8.44John Högberg2020-04-287-26/+28
| | | | | | | | | | |
| * | | | | | | | | | pcre: Add instructions for checking/installing localeJohn Högberg2020-04-281-1/+4
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'john/cuddle-tests'John Högberg2020-04-301-1/+3
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * john/cuddle-tests: lcnt_SUITE: Ignore more untoggleable locks file_name_SUITE: Darwin 19 is hopeless too
| * | | | | | | | | | lcnt_SUITE: Ignore more untoggleable locksJohn Högberg2020-04-281-1/+3
| | |/ / / / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge branch 'lukas/23/fixes'Lukas Larsson2020-04-303-10/+28
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/23/fixes: docgen: Include type deprecation again epmd: Add ipaddress to epmd debug printouts erts: Extend fragment latency timeout tools: Extend prof_bench test timer tools: Polish fprof testcases erts: Fix port_bif_SUITE:busy_opts with large pipe size erts: Adjust bif test timers for extreme SMT systems kernel: Fix global many nodes tc to use less threads shell_docs: Fix strange testcase diskread errors erts: Fix erlc doc -WError error kernel: fix init_SUITE:restart_with_mode windows check otp: Cleanup top makefile from redundant build_erl_interface docgen: Don't use mod2app for seeerl type links reltool: Fix sorting of erl_libs
| * | | | | | | | | | erts: Extend fragment latency timeoutLukas Larsson2020-04-291-5/+18
| | | | | | | | | | |
| * | | | | | | | | | erts: Fix port_bif_SUITE:busy_opts with large pipe sizeLukas Larsson2020-04-291-2/+7
| | | | | | | | | | |
| * | | | | | | | | | erts: Adjust bif test timers for extreme SMT systemsLukas Larsson2020-04-291-3/+3
| | |/ / / / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #2614 from ↵Lukas Larsson2020-04-301-3/+0
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | garazdawi/lukas/erts/include_erl_call/OTP-16602/OTP-16603 Copy erl_call to erts and filter tools from systools:make_tar
| * | | | | | | | | | sasl: Add erts binary filter to systools:make_tar/2Lukas Larsson2020-04-291-3/+0
| | |_|_|/ / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge branch 'raimo/erts/socket-local-seqpacket/ERIERL-476/OTP-16550'Raimo Niskanen2020-04-303-104/+71
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'raimo/erts/socket-local-seqpacket/ERIERL-476/OTP-16550': Handle native option with encoded level Fix test cases for seqpacket Rename socket option variables to Opt Remove type ip_address() Honour sockaddr_storage Remove remote address field Test local,seqpacket Fix #ifdef:s for SOCK_SEQPACKET
| * | | | | | | | | Handle native option with encoded levelRaimo Niskanen2020-04-281-1/+1
| | | | | | | | | |
| * | | | | | | | | Honour sockaddr_storageRaimo Niskanen2020-04-222-2/+5
| | | | | | | | | |
| * | | | | | | | | Remove remote address fieldRaimo Niskanen2020-04-221-94/+58
| | | | | | | | | |
| * | | | | | | | | Fix #ifdef:s for SOCK_SEQPACKETRaimo Niskanen2020-04-222-7/+7
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-16550 ERIERL-476 The combination of AF_LOCAL and SOCK_SEQPACKET is valid and independent of SCTP, so change all tests for HAVE_SCTP before using SOCK_SEQPACKET into tests for defined(SOCK_SEQPACKET).
* | | | | | | | | Merge pull request #2602 from bjorng/bjorn/erts/binary-cost/OTP-16601Björn Gustavsson2020-04-284-10/+65
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Add a cost for copying binaries with the binary syntax
| * | | | | | | | | Add a cost for copying binaries with the binary syntaxBjörn Gustavsson2020-04-224-10/+65
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When constructing binaries using the binary syntax, there would not be any cost in terms of reductions for copying large binaries, and a process could copy many large binaries before being scheduled out. Add a cost of 1 reduction per 1 KiB of binary data copied in binary construction.
* | | | | | | | | Merge branch ↵Micael Karlberg2020-04-271-15/+24
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'bmk/esock/20200423/make_rcv_and_snd_timeo_options_configuarble/OTP-16620' OTP-16620
| * | | | | | | | | [erts|kernel|esock] Make use of rcvtimeo and sndtimeo configMicael Karlberg2020-04-231-15/+24
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it possible to configure esock to use the the socket options rcvtimeo (SO_RCVTIMEO) and sndtimeo (SO_SNDTIMEO). Default is now that they are disabled. OTP-16620
* | | | | | | | | Merge branch 'bmk/esock/20200422/socket_counters_type/OTP-16535'Micael Karlberg2020-04-271-63/+93
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OTP-16535
| * | | | | | | | | [erts|kernel|esock] Changed the global socket counters to mapMicael Karlberg2020-04-221-34/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed tghe global socket counters the same way as usual socket counters (from property list to map). OTP-16535
| * | | | | | | | | [erts|kernel|esock] Socket counters is now a mapMicael Karlberg2020-04-221-29/+45
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The socket counters type has been changed from a property list to a map. OTP-16535
* | | | | | | | | Merge branch 'sverker/crashdump-timer-segv/ERL-1105/OTP-16596'Sverker Eriksson2020-04-271-0/+4
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | * sverker/crashdump-timer-segv/ERL-1105/OTP-16596: erts: Fix SEGV while printing timer to crash dump
| * | | | | | | | erts: Fix SEGV while printing timer to crash dumpSverker Eriksson2020-04-221-0/+4
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if the timer is not ACTIVE, in which case the 'message' may have been deallocated.
* | | | | | | | Merge pull request #2600 from RoadRunnr/fix/socket-bindtodeviceMicael Karlberg2020-04-221-1/+1
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | socket-nif: Fix string argument passing for setsockopt
| * | | | | | | socket-nif: Fix string argument passing for setsockoptAndreas Schultz2020-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When passing a string into setsockopt we have to use the pointer to the string, not a pointer to a pointer. Affects the socket bindtodevice and tcp congestion option.