Age | Commit message (Collapse) | Author |
|
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}}.
|
|
esdp==NULL if run by non scheduler thread.
|
|
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.
|
|
Add a pattern field to the (beginning of the) socket descriptor.
To make it more easy to spot memory over-writes. One pattern
for create and one for dtor. Also reset various fields of the
descriptor at dtor.
|
|
Rebase (on maint as of 20190529) resulted in a number of
issues. Mostly in the (esock) test suite.
OTP-15731
|
|
* maint:
Updated OTP version
Prepare release
|
|
* 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
|
|
* maint:
Updated OTP version
Prepare release
# Conflicts:
# OTP_VERSION
# make/otp_version_tickets_in_merge
|
|
* maint-22:
Updated OTP version
Prepare release
# Conflicts:
# make/otp_version_tickets
|
|
|
|
'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,_)
|
|
* bjorn/erts/fix-wrong-class/ERIERL-367/OTP-15834:
Fix sticky class in exception
|
|
The script used the wrong variable for active (async).
|
|
Tests on Darwin Kernel Version 18.2.0 reveled some
problems handling connect (on that platform).
It seems that calling connect the second time is not needed
(it results in eisconn), so we needed to handle that case,
which we now do.
|
|
Changed tag type tpo opaque. Also added connect (monitor and
process) cleanup.
OTP-15731
|
|
Had forgot about the connect function. But it can now also
handle the Timeout = nowait, maybe resulting in a select.
Required some nif work also...
OTP-15731
|
|
OTP-15731
|
|
Attempted to implement a common report function for
the time test (ttest). Not complete.
|
|
Updated the ttest test(s) to handle async properly.
OTP-15731
|
|
|
|
The return value for an async call (Timeout = nowait) will now
(normally) result in a {select, SelectInfo} instead (if a select
was performed).
OTP-15731
|
|
If another process closes the socket, the caller will
receive an abort message instead (of the select message).
OTP-15731
|
|
Add recv and recvmsg test case testing the abort message
received when "another" process closes a socket. Multiple
readers for good measure.
|
|
Add accept test case testing the abort message received
when "another" process closes a socket. Multiple accept(ors)
for good measure.
|
|
Add recvmsg test case testing the abort message received
when "another" process closes a socket. Multiple readers
for good measure.
|
|
Add recvfrom test case testing the abort message received
when "another" process closes a socket. Multiple readers
for good measure.
|
|
Document the new way to make asynchronous calls to some
of the functions: accept, all recv and all send.
OTP-15731
|
|
|
|
* 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,_)
|
|
Make it possible for the tttest server to run with async.
|
|
Add the recvmsg(nowait) cancel for tcp IPv4 test cases.
|
|
Add the recv(nowait) cancel for tcp IPv4 test cases.
|
|
Add the accept(nowait) cancel test cases.
Also fixed some timetrap times.
|
|
Add the recvmsg(nowait) cancel test cases.
|
|
Add the (public) cancel function and the first of
the cancel test cases (recvfrom(nowait)).
|
|
Added test case api_a_sendmsg_and_recvmsg_tcp4.
|
|
Added test case api_a_send_and_recv_tcp4.
|
|
Added test case api_a_sendmsg_and_recvmsg_udp4.
|
|
Added test case api_a_sendto_and_recvfrom_udp4.
Also, fixed duplicate spec.
|
|
Update function accept and its spec(s) to handle
the Timeout value of nowait.
|
|
Update function sendmsg and its spec(s) to handle
the Timeout value of nowait.
|
|
Update function sendto and its spec(s) to handle
the Timeout value of nowait.
|
|
Add proper type(s) for the select info. Also add
a utility macro to build the term.
|
|
Update function send and its spec(s) to handle
the Timeout value of nowait.
|
|
Update function recvmsg and its spec(s) to handle
the Timeout value of nowait.
|
|
Update function recvfrom and its spec(s) to handle
the Timeout value of nowait.
Also replaced timestamp method with erlang:monotonic_time(milli_seconds).
|
|
Update function recv and its spec(s) to handle
the Timeout value of nowait.
|
|
|
|
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
|
|
Make Unix Domain (stream) socket work with the ttest
command line tool (for esock server and client).
OTP-15822
|