aboutsummaryrefslogtreecommitdiffstats
path: root/erts
AgeCommit message (Collapse)Author
2019-06-11Merge branch 'john/erts/fix-bad-get_tuple_element-opt/OTP-15871/ERIERL-374' ↵John Högberg
into maint * john/erts/fix-bad-get_tuple_element-opt/OTP-15871/ERIERL-374: erts: Fix bad loader optimization of get_tuple_element
2019-06-10Merge branch 'sverker/erts/hipe-arm-freebsd-clear-cache/ERL-958' into maintSverker Eriksson
OTP-15874 PR-2266 * sverker/erts/hipe-arm-freebsd-clear-cache/ERL-958: erts: Fix hipe_flush_icache_range for FreeBSD on ARM
2019-06-10erts: Fix hipe_flush_icache_range for FreeBSD on ARMSverker Eriksson
Avoid old Linux specific syscall assembler if we can.
2019-06-10Merge branch ↵Sverker Eriksson
'sverker/erts/process-info-reductions-idle-proc/ERL-964/OTP-15865' into maint * 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-10erts: Improve test of process_info(reductions)Sverker Eriksson
to provoke case when the main lock is released during execution.
2019-06-10Merge branch 'sverker/erts/break-p-segv/ERL-965/OTP-15873' into maintSverker Eriksson
* sverker/erts/break-p-segv/ERL-965/OTP-15873: erts: Fix SEGV crash on shell break (p)roc info
2019-06-10erts: Fix bad loader optimization of get_tuple_elementJohn Högberg
The following sequence would be wrongly optimized into a i_get_tuple_element2 instruction, reading an element from the wrong tuple: {get_tuple_element,{x,0},1,{x,0}}. {get_tuple_element,{x,0},2,{x,1}}.
2019-06-04erts: Fix SEGV crash on shell break (p)roc infoSverker Eriksson
esdp==NULL if run by non scheduler thread.
2019-06-04Revert "erts: Force process_info(reductions) as signal"Sverker Eriksson
This reverts commit 70dbf671a8196110d2aee2e7507afc2c2c75183f. As the comment of 70dbf671a8 itself indicates, that "fix" is not really necessary. It has, however, the bad effect of always consuming reductions of the process you want to know reduction from, that is you can't meassure reduction count without affecting it.
2019-06-04Merge branch 'maint-21' into maintIngela Anderton Andin
* maint-21: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # lib/kernel/doc/src/notes.xml # lib/kernel/src/kernel.appup.src # lib/kernel/vsn.mk # lib/ssl/doc/src/notes.xml # lib/ssl/vsn.mk # lib/stdlib/doc/src/notes.xml # lib/stdlib/src/stdlib.appup.src # lib/stdlib/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-06-03Merge branch 'maint-22' into maintHans Bolinder
* maint-22: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-06-03Prepare releaseErlang/OTP
2019-06-03Merge branch ↵Erlang/OTP
'sverker/seq-trace-label-old-heap-bug/ERL-700/OTP-15849/OTP-15858/OTP-15859' into maint-21 * sverker/seq-trace-label-old-heap-bug/ERL-700/OTP-15849/OTP-15858/OTP-15859: erts: Fix faulty spec for seq_trace:set_token/2 erts: Fix seq_trace:print/2 for arbitrary labels erts: Fix bug in seq_trace:set_token(label,_)
2019-06-03Merge branch 'bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834' into maint-21Erlang/OTP
* bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834: Fix sticky class in exception
2019-05-29Merge branch 'sverker/seq-trace-label-old-heap-bug/ERL-700/OTP-15849' into maintSverker Eriksson
* sverker/seq-trace-label-old-heap-bug/ERL-700/OTP-15849: erts: Fix faulty spec for seq_trace:set_token/2 erts: Fix seq_trace:print/2 for arbitrary labels erts: Fix bug in seq_trace:set_token(label,_)
2019-05-29[esock|test] Add condition for running ping pong test caseMicael Karlberg
Add condition for running the large ping-pong sendmsg/recvmsg test case. Also add a limit to the path creation (max number of tries). OTP-15822
2019-05-29[esock|ttest] Make it possible use local for ttestMicael Karlberg
Make Unix Domain (stream) socket work with the ttest command line tool (for esock server and client). OTP-15822
2019-05-29[esock|ttest] Updated the ttest command line toolMicael Karlberg
Updated the ttest command line tool to the new API. OTP-15822
2019-05-29[esock|test] Skip some test cases on old linux(s)Micael Karlberg
OTP-15822
2019-05-29[esock] Make sure AF_LOCAL exist before usingMicael Karlberg
Add if-def for AF_LOCAL before using the flag. OTP-15822
2019-05-29[esock|test] Try even harder to make unique pathMicael Karlberg
Some (Unix Domain socket) test cases fails because the path (supposedly) already existed on a (admittedly old) gento VM. So, we try enen harder to ensure that the path is unique... OTP-15822
2019-05-29[esock|test] Fixed host cond testMicael Karlberg
Incorrect host condition test for linux (the api timeout connect test cases). OTP-15822
2019-05-29[esock|test] Skip Unix Domain stream test case on Open IndianaMicael Karlberg
On OpenIndiana Hipster on a Unix Domain stream socket it may be possible to set a *large* recv buffer size, that will actually not work. So, to avoid issues, simply skip the traffic_ping_pong_large_send_and_recv_tcpL on that platform. OTP-15822
2019-05-29[esock|test] On some platforms recvmsg does *not* return addressMicael Karlberg
On some platforms, e.g. FreeBSD, recvmsg does *not* return address for a Unix Domain (stream) socket. Unlike, for instance, on Linux. OTP-15822
2019-05-29[esock|doc] Updated accoring to handling of Unix Domain socketMicael Karlberg
Updated documentation with regard to Unix Domain sockets. OTP-15822
2019-05-29[esock] Fixed check domain local and specsMicael Karlberg
Fixed the spec's for function open/3,4. Also, corrected the test for retreiving resulting protocol when performing open with proto = 0 (default) and domain is not local. Local may not be defined on all platforms. OTP-15822
2019-05-29[esock] Fixed 'typing' of type timeval on darwinMicael Karlberg
2019-05-29[esock] Update the supports functions to also display localMicael Karlberg
The socket:supports/0,1 now also displays local (Unix Domain Socket). OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sst/cst/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = true Client: socket with active = true Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sst/cso/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = true Client: socket with active = once Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sst/csf/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = true Client: socket with active = false Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sso/cst/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = once Client: socket with active = true Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sso/cso/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = once Client: socket with active = once Message Size: small, medium and large Also added server path cleanup when closing. OTP-15822
2019-05-29[esock|test] Add ttest case(s) (sso/csf/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = once Client: socket with active = false Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (ssf/cst/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = false Client: socket with active = true Message Size: small, medium and large OTP-15822
2019-05-29[esock|test] Add ttest case(s) (ssf/cso/s,m,l) work for local (stream)Micael Karlberg
Add ttest test case(s) for Unix Domain (stream) socket: Server: socket with active = false Client: socket with active = once Message Size: small, medium and large OTP-15822
2019-05-29[esock] SO_PROTOCOL does not exist on darwin (18.2.0)Micael Karlberg
The flag SO_PROTOCOL does not exist on darwin 18.2.0 (atleast). So, creating a socket with domain =/= local using the default protocol does not work in this case. OTP-15822
2019-05-29[esock|test] Add ttest case (ssf/csf/l) work for local (stream)Micael Karlberg
Add ttest test case for Unix Domain (stream) socket: Server: socket with active = false Client: socket with active = false Message Size: large OTP-15822
2019-05-29[esock|test] Add ttest case (ssf/csf/m) work for local (stream)Micael Karlberg
Add ttest test case for Unix Domain (stream) socket: Server: socket with active = false Client: socket with active = false Message Size: medium OTP-15822
2019-05-29[esock|test] Made the first ttest case (ssf/csf/s) work for local (stream)Micael Karlberg
Add the first *working* ttest test case for Unix Domain (stream) socket: Server: socket with active = false Client: socket with active = false Message Size: small OTP-15822
2019-05-29[esock|test] Improved the path "unlink"Micael Karlberg
Wrapped unlinking of path (for Unix Domain sockets) in a utility function. OTP-15822
2019-05-29[esock|test] Preliminary Domain = local update for ttestMicael Karlberg
OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg medium ping-pong test case for local (dgram)Micael Karlberg
Add a sendmsg and recvmsg small ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg small ping-pong test case for local (dgram)Micael Karlberg
Add a sendmsg and recvmsg small ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg large ping-pong test case for local (stream)Micael Karlberg
Add a sendmsg and recvmsg large ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg medium ping-pong test case for local (stream)Micael Karlberg
Add a sendmsg and recvmsg medium ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add sendmsg/recvmsg small ping-pong test case for local (stream)Micael Karlberg
Add a sendmsg and recvmsg small ping-pong test case for Unix Domain (stream) socket. OTP-15822
2019-05-29[esock|test] Add sendto/recvfrom medium ping-pong test case for localMicael Karlberg
Add a sendto and recvfrom medium ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add sendto/recvfrom small ping-pong test case for localMicael Karlberg
Add a sendto and recvfrom small ping-pong test case for Unix Domain (dgram) socket. OTP-15822
2019-05-29[esock|test] Add plain send/recv large ping-pong test case for localMicael Karlberg
Add a (plain) send and recv large ping-pong test case for Unix Domain (stream) socket. OTP-15822