aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2019-06-26Adjust generated re replacement and split testsRickard Green
Adjustment needed due to incompatibility between PCRE 8.43 and perl version 5.22.1
2019-06-26Generate new re replacement and split tests using perl 5.22.1Rickard Green
2019-06-26Fix slow compilation of huge functionsBjörn Gustavsson
Some huge functions would compile very slowly because of a bottleneck in `beam_ssa:def_used/2`. One example is the `cuter_binlib` module in https://github.com/cuter-testing/cuter. On my computer, this commit reduces the compilatation time for `cuter_binlib` to 45 seconds down from more than 4 minutes. Noticed-by: Kostis Sagonas
2019-06-26Update internal PCRE to version 8.43Rickard Green
2019-06-26crypto: Fix the build of static crypto nifsSebastien Merle
2019-06-26Merge branch 'dgud/wx-configure-fixes' into maintDan Gudmundsson
* dgud/wx-configure-fixes: Speed up compilation Cleanup configure Fail if no C++ compiler is avaiable
2019-06-26Merge branch 'bjorn/compiler/fix-dialyzer-warnings' into maintBjörn Gustavsson
* bjorn/compiler/fix-dialyzer-warnings: Eliminate dialyzer warnings
2019-06-26Fix typo in logger_chapter.xmlBoris Murashov
2019-06-25Remove unused "ssh_assert" macro definitionPaul Meinhardt
2019-06-25Remove unused "ssh_key" record definitionPaul Meinhardt
2019-06-25Merge pull request #2250 from ↵Rickard Green
rickard-green/rickard/re-unicode-validation/OTP-15831/OTP-15836/ERL-876 re unicode validation
2019-06-25Always fallback to source when we can't parse ASTJosé Valim
This commit fixes a bug in Dialyzer where it would assume all Erlang AST can be converted back to valid Erlang code. A case where this was is no true was already documented in the source code, in relation to opaque types, but this can also be true when it comes to other BEAM languages.
2019-06-25[megaco|test] Attempt to avoid race on slow VMsMicael Karlberg
2019-06-25[megaco|test] Make sure more of the (mess) test suite printouts are shownMicael Karlberg
Make the test suite log more readable. Normal io and the debug printouts from megaco does not mix well. Its difficult to know the proper timeline. So add some "sleeps" so that its easier to read.
2019-06-25[megaco|test] Fixing the examples test suiteMicael Karlberg
The simple test case was faulty in that the simple example (which it is testing) require that the MGC and MG run on different erlang nodes. But the test case did not do this. Instead, it ran both the MGC and the MG on the test server node, which caused the test case to fail 1 time of 10.
2019-06-25[megaco|test] Timer test suite improvementsMicael Karlberg
We did not check the actual result of the timer cancel operation before continuing, which seems to cause problems on some platforms (where the timer may actually expire even though we have 100 ms to cancel). So now we check the cancel result, and if we did not succeed, we instead skip the test case.
2019-06-25[megaco|test] Removed compile_all for mib test sub-suiteMicael Karlberg
2019-06-25[megaco|test] Improving the example and mib test suitesMicael Karlberg
The examples test suite was hard to debug just based on its output (both plain debug printouts and printouts generated via dbg). Some timeouts has been added between the various actions so that it will be easier to understand the output.
2019-06-24Merge branch 'peterdmv/ssl/fix-cert-error-handling/OTP-15900' into maintPéter Dimitrov
* peterdmv/ssl/fix-cert-error-handling/OTP-15900: ssl: Fix handling of certificate decoding problems
2019-06-24Merge branch 'bmk/snmp/20190524/ipv6_issues/OTP-15764' into maintMicael Karlberg
2019-06-24Merge branch 'bmk/snmp/20190614/snmpnet_on_openindiana' into maintMicael Karlberg
2019-06-24Eliminate dialyzer warningsBjörn Gustavsson
Eliminate the Dialyzer warnings shown when the limits in lib/cerl/erl_types.erl were raised as follows: -define(TUPLE_TAG_LIMIT, 10). -define(TUPLE_ARITY_LIMIT, 10). -define(SET_LIMIT, 64).
2019-06-24Merge branch 'lukas/os_mon/disk_sup_ignore_sqashfs/OTP-15778' into maintLukas Larsson
* lukas/os_mon/disk_sup_ignore_sqashfs/OTP-15778: os_mon: Make disk_sup ignore squashfs
2019-06-19Merge branch 'sverker/erl_interface/test-print-bitstrings/OTP-15917' into maintSverker Eriksson
2019-06-19ssl: Fix handling of certificate decoding problemsPéter Dimitrov
2019-06-19os_mon: Make disk_sup ignore squashfsLukas Larsson
Ideally we should ignore all read only filesystems, but this will have to do for now. We do this as we don't want disk_sup to report that a filesystem is almost full if it is read-only.
2019-06-19crypto: Fix FIPS flags for MACsHans Nilsson
2019-06-19crypto: Fix FIPS flags for digests in HMACHans Nilsson
2019-06-19crypto: Fix FIPS flags for digestsHans Nilsson
2019-06-19crypto: Rename cipher fips macroHans Nilsson
FORBIDDEN_IN_FIPS -> CIPHER_FORBIDDEN_IN_FIPS
2019-06-19crypto: Fix bad linkHans Nilsson
2019-06-19Merge branch 'ingela/ssl/TLS-hibernate-bug/OTP-15910' into maintIngela Anderton Andin
* ingela/ssl/TLS-hibernate-bug/OTP-15910: ssl: Fix hibernation bug
2019-06-18Merge branch 'rickard/re-yield-unicode-validation/OTP-15836/ERL-876' into ↵Rickard Green
rickard/re-unicode-validation/OTP-15831/OTP-15836/ERL-876 * rickard/re-yield-unicode-validation/OTP-15836/ERL-876: Update runtime dependency from stdlib to erts Yield when validating UTF8 for long subject in re:run() Add yield_on_subject_validation() test
2019-06-18Update runtime dependency from stdlib to ertsRickard Green
2019-06-18Merge branch 'rickard/re-global-unicode-validation/OTP-15831/ERL-876' into ↵Rickard Green
rickard/re-unicode-validation/OTP-15831/OTP-15836/ERL-876 * rickard/re-global-unicode-validation/OTP-15831/ERL-876: Update runtime dependency from stdlib to erts Only validate subject once when global is used in re:run() Add global_unicode_validation() test
2019-06-18ssl: Fix hibernation bugIngela Anderton Andin
2019-06-18Merge branch 'kjell/stdlib/ets_ordered_set_slow_react/OTP-15906' into maintKjell Winblad
* kjell/stdlib/ets_ordered_set_slow_react/OTP-15906: ETS ordered_set: Improvements to the CA tree implementation
2019-06-18ETS ordered_set: Improvements to the CA tree implementationKjell Winblad
This commit only affects the implementation of ETS `ordered_set` tables with the `write_concurrency` option enabled. Such tables are implemented with a data structure that is called the contention adapting search tree (CA tree). This commit introduces the following changes: * This commit causes a join to be triggered in one randomly selected base node in about one of 1000 read unlock calls for base node locks. No such joins happened before this commit. Before this commit, operations that only acquired looks in read-mode never triggered any contention adaptation. Therefore, the CA tree could get stuck in a sub-optimal state in certain scenarios. This could happen, for example, when a CA tree is first populated with parallel inserts (which will cause splits of base nodes) and then only read-only operations are applied to the data structure. Benchmark results from the `ets_SUITE:lookup_catree_par_vs_seq_init_benchmark/0` benchmark function (which is included in this commit) shows that this change can improve the throughput of the CA tree in the scenario described above. * Read-only operations will now also increase values of statistics counters when they detect that they need to wait for other operations. Only write operation changed statistics counters before this commit. This improves the statistics that the adaptation heuristics is based on. * Additionally, this commit adds an upper and lower limit to the contention statistics variables in the base nodes. Such limits did not exist before this commit. This should, for example, make the CA tree more responsive to contention after long periods of low contention.
2019-06-18Merge branch 'maint-22' into maintJohn Högberg
* maint-22: Updated OTP version Prepare release # Conflicts: # make/otp_version_tickets
2019-06-18Merge pull request #2272 from ↵Lukas Larsson
garazdawi/lukas/erts/fix_active_n_close_win32/ERL-960/OTP-15901 Fix {active,N} close race condition on windows
2019-06-18Merge 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/common_test/doc/src/notes.xml # lib/common_test/vsn.mk # lib/kernel/doc/src/notes.xml # lib/kernel/vsn.mk # lib/public_key/doc/src/notes.xml # lib/public_key/vsn.mk # lib/ssl/doc/src/notes.xml # lib/ssl/vsn.mk # lib/stdlib/doc/src/notes.xml # lib/stdlib/vsn.mk # make/otp_version_tickets # otp_versions.table
2019-06-17Prepare releaseErlang/OTP
2019-06-17Merge branch 'peterdmv/ssl/fix-handshake-hello/ERL-975/OTP-15888' into maint-22Erlang/OTP
* peterdmv/ssl/fix-handshake-hello/ERL-975/OTP-15888: ssl: Fix negative tests in ssl_basic_SUITE ssl: Fix run_client_error/1 in ssl_test_lib ssl: Fix ssl_handshake:extension_value/1
2019-06-17Merge branch 'peterdmv/ssl/tls12-java11-interop/ERL-973/OTP-15887' into maint-22Erlang/OTP
* peterdmv/ssl/tls12-java11-interop/ERL-973/OTP-15887: ssl: Add interop test ssl: Improve handling of signature algorithms
2019-06-17Merge branch 'john/kernel/fix-io-proto-user-drv/OTP-15805' into maint-22Erlang/OTP
* john/kernel/fix-io-proto-user-drv/OTP-15805: kernel: Force synchronous port_commands in user/user_drv
2019-06-17Merge branch 'ingela/ssl/handshake-handling/ERL-968/OTP-15879' into maint-22Erlang/OTP
* ingela/ssl/handshake-handling/ERL-968/OTP-15879: ssl: Correct handshake handling
2019-06-17Prepare releaseErlang/OTP
2019-06-17Merge branch ↵Erlang/OTP
'siri/ct/fail-after-failed-init_per_testcase/maint-21/ERIERL-350/OTP-15869' into maint-21 * siri/ct/fail-after-failed-init_per_testcase/maint-21/ERIERL-350/OTP-15869: [ct] Allow post_init_per_testcase to change skip to fail
2019-06-17Merge branch 'ingela/public_key/PEBS2-backport/OTP-15870' into maint-21Erlang/OTP
* ingela/public_key/PEBS2-backport/OTP-15870: public_key: Add AES to PBE2
2019-06-17Merge branch 'ingela/ssl/handshake-handling/ERL-968/OTP-15879' into maint-21Erlang/OTP
* ingela/ssl/handshake-handling/ERL-968/OTP-15879: ssl: Correct handshake handling