aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2019-08-19Merge branch 'maint'Hans Nilsson
* maint: ssh: Remove unused address,port from #connection{} ssh: Remove unused port_bindings from #connection{}
2019-08-19Merge branch 'hans/ssh/remove_unused_rec_fields/OTP-15984' into maintHans Nilsson
* hans/ssh/remove_unused_rec_fields/OTP-15984: ssh: Remove unused address,port from #connection{} ssh: Remove unused port_bindings from #connection{}
2019-08-19Merge branch 'maint'Hans Nilsson
* maint: ssh: Don't assume Reason to be a string()
2019-08-19Merge branch 'hans/ssh/early_crash_fail_logging/ERL-990/OTP-15962' into maintHans Nilsson
* hans/ssh/early_crash_fail_logging/ERL-990/OTP-15962: ssh: Don't assume Reason to be a string()
2019-08-19Merge branch 'maint'Hans Bolinder
* maint: kernel: Correct a test case in global_SUITE
2019-08-19Merge branch 'hasse/kernel/global_tests' into maintHans Bolinder
* hasse/kernel/global_tests: kernel: Correct a test case in global_SUITE
2019-08-16ssh: Don't assume Reason to be a string()Hans Nilsson
2019-08-16Merge branch 'maint'Björn Gustavsson
* maint: Fix an internal consistency check failure caused by beam_except
2019-08-16Merge branch 'john/compiler/recv-test-coverage'John Högberg
* john/compiler/recv-test-coverage: compiler: Improve test coverage for recv_crit_edges
2019-08-16Merge pull request #2343 from josevalim/patch-13John Högberg
Document file:open/2 monitors the owner process
2019-08-16Remove duplicate word.iRedMail
Remove duplicate word.
2019-08-15compiler: Improve test coverage for recv_crit_edgesJohn Högberg
2019-08-15Fix an internal consistency check failure caused by beam_exceptBjörn Gustavsson
https://bugs.erlang.org/browse/ERL-1026
2019-08-14Merge branch 'maint'Björn Gustavsson
* maint: Fix compiler crash when compiling some receive statements
2019-08-14Merge pull request #2347 from ↵Björn Gustavsson
bjorng/bjorn/compiler/fix-receive-bug/ERL-1022/OTP-15982 Fix compiler crash when compiling some receive statements
2019-08-14ssh: Remove unused address,port from #connection{}Hans Nilsson
2019-08-14ssh: Remove unused port_bindings from #connection{}Hans Nilsson
2019-08-14Fix compiler crash when compiling some receive statementsBjörn Gustavsson
The compiler would crash when compiling the following code: do(Acc) -> receive {Pid, abc} -> ok; {Pid, []} -> ok; {Pid, _Res} -> exit(_Res) end, do([Pid | Acc]). The last clause that always raises an exception would confuse the compiler so that it would think that the `receive` statement was at the end of the function and it would generate incorrect code for the `do/1` call following the `receive`. https://bugs.erlang.org/browse/ERL-1022
2019-08-12Merge branch 'maint'John Högberg
* maint: erts: Create heap binaries in binary:split/2-3 erts: Create heap binaries in binary_part/2-3 erts: Create heap binaries in split_binary/2 erts: Create heap binaries in bs_get_binary2 erts: Remove size check in bs_start_match erts: Disallow binaries whose size in bits exceeds UWORD_MAX
2019-08-12Merge branch 'john/erts/bs_get_binary2-heap-binaries/OTP-15977' into maintJohn Högberg
* john/erts/bs_get_binary2-heap-binaries/OTP-15977: erts: Create heap binaries in binary:split/2-3 erts: Create heap binaries in binary_part/2-3 erts: Create heap binaries in split_binary/2 erts: Create heap binaries in bs_get_binary2 erts: Remove size check in bs_start_match erts: Disallow binaries whose size in bits exceeds UWORD_MAX
2019-08-09Merge branch 'maint'Dan Gudmundsson
* maint: Correct dump_log_write_threshold default value
2019-08-09Merge pull request #2332 from the-mikedavis/patch-1Dan Gudmundsson
Correct documentation on dump_log_write_threshold default value
2019-08-09Merge branch 'maint'Dan Gudmundsson
* maint: Handle clicking links more than once in Observer's "Expanded term"
2019-08-09Merge remote-tracking branch 'upstream/pr/2201' into maintDan Gudmundsson
* upstream/pr/2201: Handle clicking links more than once in Observer's "Expanded term" OTP-15980
2019-08-09erts: Create heap binaries in bs_get_binary2John Högberg
ErlSubBin is a large struct that often dwarfs the region of memory it points at, and it's common for them to refer to a ProcBin which must be kept around as long as the SubBin lives, using up even more heap space and keeping the referenced binary alive regardless of how small the sub-binary is.
2019-08-09Merge branch 'maint'Dan Gudmundsson
* maint: mnesia: Bump protocol version mnesia: Introduce sync_asym_trans protocol observer: Fixes for html viewers observer: Support darkmode gui
2019-08-09Merge branch 'dgud/observer/fix-darkmode/OTP-15916' into maintDan Gudmundsson
* dgud/observer/fix-darkmode/OTP-15916: observer: Fixes for html viewers observer: Support darkmode gui
2019-08-09Merge branch 'dgud/mnesia/sticky-bug/ERL-768/OTP-15979' into maintDan Gudmundsson
* dgud/mnesia/sticky-bug/ERL-768/OTP-15979: mnesia: Bump protocol version mnesia: Introduce sync_asym_trans protocol
2019-08-09Merge branch 'maint'Dan Gudmundsson
* maint: mnesia: Fix deadlock caused by add_table_copy
2019-08-09Merge branch 'dgud/mnesia/add_table_copy_deadlock/ERL-872/OTP-15933' into maintDan Gudmundsson
* dgud/mnesia/add_table_copy_deadlock/ERL-872/OTP-15933: mnesia: Fix deadlock caused by add_table_copy
2019-08-08Document file:open/2 monitors the owner processJosé Valim
The documentation states that file:open/2 is linked to the owner process but that's not true. A monitor is used instead (it has been so for a while).
2019-08-08Merge branch 'john/compiler/fix-bs_skip-succeeded-oddity'John Högberg
* john/compiler/fix-bs_skip-succeeded-oddity: compiler: Fix awkward match context substitution beam_ssa_lint: Use #b_var{} instead of variable names
2019-08-08Merge branch 'john/compiler/remove-dead-code-beam_ssa_type'John Högberg
* john/compiler/remove-dead-code-beam_ssa_type: beam_ssa_type: Remove unreachable code
2019-08-07Merge pull request #2226 from josevalim/jv-expand-squeeze-literal-integer-utf8John Högberg
Expand and squeeze literal integers/utf8 bin segments
2019-08-07compiler: Fix awkward match context substitutionJohn Högberg
This worked out by accident since codegen never actually looks at the arguments for 'succeeded'; it just assumes that they reference the preceding instruction.
2019-08-07beam_ssa_lint: Use #b_var{} instead of variable namesJohn Högberg
2019-08-07Merge branch 'maint'Dan Gudmundsson
* maint: Update java doc Print last lines of configure log Force xenial builds in travis
2019-08-07Update java docDan Gudmundsson
Replace deprecated <tt> with <code>
2019-08-07beam_ssa_type: Remove unreachable codeJohn Högberg
Now that impossible branches are skipped altogether, it's no longer possible to encounter get_tuple_element with a 'none' argument.
2019-08-07Merge branch 'maint'Lukas Larsson
2019-08-07Merge branch 'john/compiler/validator-improve-try_case-handling'John Högberg
* john/compiler/validator-improve-try_case-handling: beam_validator: Disallow jumps to try_case handlers
2019-08-07Merge branch 'john/compiler/explicit-call-exceptions'John Högberg
* john/compiler/explicit-call-exceptions: compiler: Simplify set_tuple_element optimization compiler: Make 'succeeded' optimization more general compiler: Simplify call type optimization compiler: All calls may throw, so they all need success checks erts_debug: Turn off unsafe optimizations in test case
2019-08-06os_mon: Fix sscanf to use %llu instead of gnu specific %LuLukas Larsson
For instance musl does not recognize the %L modifier.
2019-08-06Merge branch 'lukas/otp/add-dialyzer-make-target/OTP-15915'Lukas Larsson
* lukas/otp/add-dialyzer-make-target/OTP-15915: otp: Add make dialyzer and make xmllint documentation Add 'make dialyzer' target to top and apps
2019-08-06Merge branch 'maint'Lukas Larsson
2019-08-06Fix syntax error in logger_disk_log_h.xmlShion Ryuu
2019-08-06beam_validator: Disallow jumps to try_case handlersJohn Högberg
By keeping track of the tag types in the exception handler list, we can reject direct jumps to try_case handlers such as those provoked by OTP-15945.
2019-08-06compiler: Simplify set_tuple_element optimizationJohn Högberg
By removing 'succeeded' tests on setelement/3 when we know it succeeds, all sequences that are eligible for set_tuple_element will be nicely bundled in the same block, so we won't need to bother with special try/catch handling. The new version is slightly worse in the case where the first setelement/3 is used to infer the tuple size as that call will remain in its own block, but in practice this only occurs when the user manually spells them out and I couldn't find any examples of this in OTP or Elixir. It's equivalent for record updates.
2019-08-06compiler: Make 'succeeded' optimization more generalJohn Högberg
2019-08-06compiler: Simplify call type optimizationJohn Högberg