aboutsummaryrefslogtreecommitdiffstats
path: root/erts
AgeCommit message (Collapse)Author
2019-07-09[esock|test] IPv6 socket address includes optional fieldsMicael Karlberg
OTP-15897
2019-07-09Merge branch 'rickard/test-fixes-21' into maint-22Erlang/OTP
* rickard/test-fixes-21: Fix unstable test dump_SUITE:signal_abort Fix unstable node_container_SUITE:magic_ref test Fix unstable node_container_SUITE:node_controller_refc test Fix unstable tests process_SUITE:no_priority_inversion{,2}
2019-07-08[esock|test] Add async IPv6 test caseMicael Karlberg
OTP-15897
2019-07-08[esock|test] Add counters IPv6 test casesMicael Karlberg
OTP-15897
2019-07-08[esock] Make it it work for IPv6Micael Karlberg
The nif code expects the socket address to be "complete", that is all fields must exist. This was not the case for a couple of functions, sendto, sendmsg and connect. What was mssing was a call to 'ensure_sockaddr'. Test: 1) Add a condition function to test if IPv6 is available and works. 2) Needed to adjust a test case (actually a common function used in several test cases) since the socket address data type has two optional fields, which we do not initiate (when sending), but the nif-code does fill in. OTP-15897
2019-07-08Merge branch 'maint'Micael Karlberg
2019-07-08Merge branch 'bmk/erts/esock/20190701/improve_multicast_test' into maintMicael Karlberg
2019-07-08Merge branch 'maint'Micael Karlberg
2019-07-08Merge branch 'bmk/erts/esock/20190626/finalize_counters/OTP-15818' into maintMicael Karlberg
2019-07-08Merge branch 'maint'Micael Karlberg
2019-07-08Merge branch 'bmk/erts/esock/20190624/socket_command/OTP-15817' into maintMicael Karlberg
2019-07-08Merge branch 'maint'Raimo Niskanen
* maint: Refine test cases Remove test code that fails on Windows
2019-07-08Merge branch 'raimo/udp-send-TOS/OTP-15422' into maintRaimo Niskanen
* raimo/udp-send-TOS/OTP-15422: Refine test cases Remove test code that fails on Windows
2019-07-08Merge branch 'maint'Micael Karlberg
2019-07-08Merge branch 'bmk/erts/esock/20190614/split_modules/OTP-15765' into maintMicael Karlberg
2019-07-08Merge branch 'maint'Rickard Green
* maint: Fix unstable test dump_SUITE:signal_abort Fix unstable node_container_SUITE:magic_ref test Fix unstable node_container_SUITE:node_controller_refc test Fix unstable tests process_SUITE:no_priority_inversion{,2}
2019-07-08Merge branch 'rickard/test-fixes-21' into maintRickard Green
* rickard/test-fixes-21: Fix unstable test dump_SUITE:signal_abort Fix unstable node_container_SUITE:magic_ref test Fix unstable node_container_SUITE:node_controller_refc test Fix unstable tests process_SUITE:no_priority_inversion{,2}
2019-07-08Fix unstable test dump_SUITE:signal_abortRickard Green
Sometimes processes have not had the time to spread from one scheduler. Force spread by using the undocumented 'scheduler' option.
2019-07-08Merge branch 'rickard/test-fixes-20' into rickard/test-fixes-21Rickard Green
* rickard/test-fixes-20: Fix unstable node_container_SUITE:magic_ref test Fix unstable node_container_SUITE:node_controller_refc test Fix unstable tests process_SUITE:no_priority_inversion{,2}
2019-07-08Fix unstable node_container_SUITE:magic_ref testRickard Green
2019-07-08Fix unstable node_container_SUITE:node_controller_refc testRickard Green
2019-07-08Fix unstable tests process_SUITE:no_priority_inversion{,2}Rickard Green
Sometimes processes have not had the time to spread from one scheduler. Force spread by using the undocumented 'scheduler' option.
2019-07-05Merge branch 'sverker/hash-improve-shrink'Sverker Eriksson
* sverker/hash-improve-shrink: erts: Tweak hash shrink limit erts: Improve hash shrinking
2019-07-05erts: Tweak hash shrink limitSverker Eriksson
* Only shrink when we can remove one segment and still remain below 50% table load. * Only shrink down to two table segments. It just leads to a lot of potentially "unnecessary" rehashing to have a chance of getting rid of the last extra segment before the last delete op. I don't think it's worth it.
2019-07-05Merge branch 'maint'Sverker Eriksson
2019-07-05Merge branch 'sverker/valgrind-hipe-suppression' into maintSverker Eriksson
* sverker/valgrind-hipe-suppression: erts: Suppress valgrind warning in offset_heap_ptr
2019-07-05Merge branch 'sverker/ets_SUITE-fixtable_iter_bag'Sverker Eriksson
* sverker/ets_SUITE-fixtable_iter_bag: stdlib: ets_SUITE:fixtable_iter_bag
2019-07-05stdlib: ets_SUITE:fixtable_iter_bagSverker Eriksson
Turns out the bug in ets:next() that I tried to provoke with this new test wasn't really there. Oh well.
2019-07-04[esock] Format buffer lengthMicael Karlberg
Corrected calculation of buffer length for format(ed) string. OTP-15817
2019-07-04[esock|test] Add conditional skip to debug test caseMicael Karlberg
The api_m_debug test case seems to trigger a gcc bug that causes a segfault on an ancient Fedora 16 VM (with gcc version 4.6.3-2). The simplest way to avoid this is to test for this specific (gcc) version... OTP-15817
2019-07-04[esock] Fixed debug "file"Micael Karlberg
Debug printouts is done to "dbgout", but the dbg macro flushed "stdout" (which was the default). So, in order to make the macro work properly in all cases, we rename dbgout to esock_dbgout and make it extern (was static), and then used that in the macro. OTP-15817
2019-07-03Remove test code that fails on WindowsRaimo Niskanen
2019-07-03Merge branch 'maint'John Högberg
* maint: Updated OTP version Prepare release # Conflicts: # OTP_VERSION
2019-07-03Merge branch 'maint-22' into maintJohn Högberg
* maint-22: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-07-03Merge branch 'maint'John Högberg
* maint: Updated OTP version Prepare release
2019-07-03Merge branch 'maint-21' into maintJohn Högberg
* maint-21: Updated OTP version Prepare release # Conflicts: # OTP_VERSION # erts/doc/src/notes.xml # erts/vsn.mk # lib/ssl/doc/src/notes.xml # lib/ssl/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-07-02erts: Improve hash shrinkingSverker Eriksson
* Release is_resizing as soon as possible to improve shrink concurrency. - Do join of buckets after release, but with kept WLOCK_HASH. - Do deallocations of seg and segtab after release of both is_resizing and WLOCK_HASH. * Do lazy initialization of buckets in extended segments. - Mark inactive buckets in DEBUG.
2019-07-02Merge branch 'maint'Rickard Green
* maint: Updated stdlib runtime dependency to erts Convert generated re replace and split tests from latin1 to UTF8 Adjust generated re replacement and split tests Generate new re replacement and split tests using perl 5.22.1 Update internal PCRE to version 8.43
2019-07-02Merge branch 'rickard/pcre-8.43/OTP-15889' into maintRickard Green
* rickard/pcre-8.43/OTP-15889: Updated stdlib runtime dependency to erts Convert generated re replace and split tests from latin1 to UTF8 Adjust generated re replacement and split tests Generate new re replacement and split tests using perl 5.22.1 Update internal PCRE to version 8.43
2019-07-02Prepare releaseErlang/OTP
2019-07-02Merge branch 'poroh/erts/sched-stuck-fix/OTP-15941' into maint-21Erlang/OTP
* poroh/erts/sched-stuck-fix/OTP-15941: Infinite cycle fixed on try to change run queue (if it has already changed concurrently)
2019-07-02Merge branch 'sverker/system_info-procs-bug/ERL-979/OTP-15909' into maint-21Erlang/OTP
* sverker/system_info-procs-bug/ERL-979/OTP-15909: Fix fatal bug in erts_proc_sig_signal_size
2019-07-02Merge branch 'john/erts/lists_subtract_fixes/OTP-15938/OTP-15939' into maint-21Erlang/OTP
* john/erts/lists_subtract_fixes/OTP-15938/OTP-15939: erts: Fix integer overflow in loader erts: Fix integer overflow in list subtraction
2019-07-02Prepare releaseErlang/OTP
2019-07-02Merge branch 'poroh/erts/sched-stuck-fix/OTP-15941' into maint-22Erlang/OTP
* poroh/erts/sched-stuck-fix/OTP-15941: Infinite cycle fixed on try to change run queue (if it has already changed concurrently)
2019-07-02Merge branch ↵Erlang/OTP
'bmk/erts/esock/incorrect_map_size_check_update_membership/OTP-15908' into maint-22 * bmk/erts/esock/incorrect_map_size_check_update_membership/OTP-15908: [esock|test] Add test case for IP add|drop membership [esock] socket:setopt add_membership fails with badarg
2019-07-02Merge branch 'sverker/system_info-procs-bug/ERL-979/OTP-15909' into maint-22Erlang/OTP
* sverker/system_info-procs-bug/ERL-979/OTP-15909: Fix fatal bug in erts_proc_sig_signal_size
2019-07-02Merge branch 'john/erts/lists_subtract_fixes/OTP-15938/OTP-15939' into maint-22Erlang/OTP
* john/erts/lists_subtract_fixes/OTP-15938/OTP-15939: erts: Fix integer overflow in loader erts: Fix integer overflow in list subtraction
2019-07-01Merge branch 'sverker/re-enable-big-creation/OTP-15603'Sverker Eriksson
* sverker/re-enable-big-creation/OTP-15603: doc: Add links between dist flags and external tags (DTD updated) erts: Fix docs for new pid,port,ref external tags erts: Document new EPMD response ALIVE2_X_RESP erl_interface: Support 32-bit creation local cnode jinterface: Remove old encoding of pid,port,refs epmd: Support 32-bit creation values in local node erl_interface: Remove old encoding of pid,port,refs erts: Remove old encoding of pids, ports and refs erts: Make DFLAG_BIG_CREATION mandatory
2019-07-01doc: Add links between dist flags and external tags (DTD updated)Sverker Eriksson
DTD updated to allow seealso-marker inside taglist.