aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-10-30Merge branch 'bjorn/compiler/eliminate-v3_life/OTP-14712'Björn Gustavsson
* bjorn/compiler/eliminate-v3_life/OTP-14712: Eliminate the v3_life pass
2017-10-30Merge branch 'maint'Björn Gustavsson
* maint: erl_process_dump: Don't assume that literals can be found Remove one superfluous closing parenthesis in oam_intro.xml
2017-10-30Merge branch 'bjorn/improve-crash-dumps/OTP-14685' into maintBjörn Gustavsson
* bjorn/improve-crash-dumps/OTP-14685: erl_process_dump: Don't assume that literals can be found
2017-10-30erl_process_dump: Don't assume that literals can be foundBjörn Gustavsson
Native code does not register its literals in the code header for the loaded code. Therefore, a literal created by native code can not be found by mark_literal(). Ignore literals that can't be found instead of crashing (the crasdump_viewer will report such literals as incomplete heap data, but will not crash).
2017-10-30Merge pull request #1612 from ↵Rickard Green
bitnitdit/bitnitdit/oam_intro-superfluous-closing-parenthesis Remove one superfluous closing parenthesis in oam_intro.xml
2017-10-29Remove one superfluous closing parenthesis in oam_intro.xmlbitnitdit
2017-10-27Merge branch 'lukas/erts/gc-docs'Lukas Larsson
* lukas/erts/gc-docs: erts: Add Garbage Collection internal docs
2017-10-27erts: Add Garbage Collection internal docsLukas Larsson
2017-10-27Merge branch 'maint'Ingela Anderton Andin
2017-10-27Merge branch 'ingela/public_key-test' into maintIngela Anderton Andin
* ingela/public_key-test: public_key: Check that ec curve used for test is supported
2017-10-27Merge branch 'maint'Ingela Anderton Andin
2017-10-27Merge branch 'ingela/inets/ERL-455/OTP-14716' into maintIngela Anderton Andin
* ingela/inets/ERL-455/OTP-14716: inets: Correct guard test
2017-10-27Eliminate the v3_life passBjörn Gustavsson
The v3_life pass does not do enough to be worth being its own pass. Essentially it does two things: * Calculates life-time information starting from the annotations that v3_kernel provides. That part can be moved into v3_codegen. * Rewrites the Kernel Erlang records to similar plain tuples (for example, #k_cons{hd=Hd,tl=Tl} is rewritten to {cons,Hd,Tl}). That rewriting is not needed and can be eliminated.
2017-10-26inets: Correct guard testIngela Anderton Andin
Guard test for error case was not updated to handle httpc stream concept properly.
2017-10-26public_key: Check that ec curve used for test is supportedIngela Anderton Andin
2017-10-26Merge branch 'maint'Ingela Anderton Andin
2017-10-26Merge branch 'ingela/inets/not-chunked-esi/OTP-14656' into maintIngela Anderton Andin
* ingela/inets/not-chunked-esi/OTP-14656: inets: httpd - Fix broken handling of POST requests
2017-10-25Merge branch 'maint'Hans Bolinder
* maint: parsetools: Fix unused functions warnings in leexinc.hrl
2017-10-25Merge branch 'hasse/parsetools/unused_funcs_leexinc/ERL-497/OTP-14697' into ↵Hans Bolinder
maint * hasse/parsetools/unused_funcs_leexinc/ERL-497/OTP-14697: parsetools: Fix unused functions warnings in leexinc.hrl
2017-10-25Merge branch 'maint'Ingela Anderton Andin
2017-10-25Merge branch 'ingela/inets/http-sync-close/OTP-14696' into maintIngela Anderton Andin
* ingela/inets/http-sync-close/OTP-14696: inets: Make sure httpd:stop_service is synchronous
2017-10-25inets: httpd - Fix broken handling of POST requestsIngela Anderton Andin
New chunk mechanism of body data in POST requests added in 5d01c70ca399edf28e99dc760506329689fab6ba broke handling of POST body data not using the new mechanism. Added better regression test
2017-10-25Merge branch 'maint'John Högberg
* maint: Updated OTP version Update release notes Update version numbers erts: Fix so that bind correct schedulers Update version Fix error handling when decoding an AVP with an alternate dictionary Remove unused function arguments Fix faulty recursion vsn -> 2.1.2 Update appup for ERIERL-14684 Fix speling error 'sndbuf' -> 'recbuf' Add zlib:set_controlling_process/2
2017-10-25Merge branch 'maint-20' into maintJohn Högberg
* maint-20: Updated OTP version Update release notes Update version numbers erts: Fix so that bind correct schedulers Update version Fix error handling when decoding an AVP with an alternate dictionary Remove unused function arguments Fix faulty recursion vsn -> 2.1.2 Update appup for ERIERL-14684 Fix speling error 'sndbuf' -> 'recbuf' Add zlib:set_controlling_process/2
2017-10-25Updated OTP versionOTP-20.1.3Erlang/OTP
2017-10-25Update release notesErlang/OTP
2017-10-25Update version numbersErlang/OTP
2017-10-25Merge branch 'lukas/erts/fix-cpu-bind-w-modifies-scheduler-avail/OTP-14694' ↵Erlang/OTP
into maint-20 * lukas/erts/fix-cpu-bind-w-modifies-scheduler-avail/OTP-14694: erts: Fix so that bind correct schedulers
2017-10-25Merge branch 'anders/diameter/decode/OTP-14684' into maint-20Erlang/OTP
* anders/diameter/decode/OTP-14684: vsn -> 2.1.2 Update appup for ERIERL-14684
2017-10-25Merge branch 'anders/diameter/decode/ERIERL-85' into maint-20Erlang/OTP
* anders/diameter/decode/ERIERL-85: Fix error handling when decoding an AVP with an alternate dictionary Remove unused function arguments Fix faulty recursion
2017-10-25Merge branch 'raimo/snmp/option-recbuf-broken-for-snmpm/OTP-13372' into maint-20Erlang/OTP
* raimo/snmp/option-recbuf-broken-for-snmpm/OTP-13372: Update version Fix speling error 'sndbuf' -> 'recbuf'
2017-10-25Merge branch 'john/erts/zlib-ctrl-proc/OTP-14672/ERL-494' into maint-20Erlang/OTP
* john/erts/zlib-ctrl-proc/OTP-14672/ERL-494: Add zlib:set_controlling_process/2
2017-10-24parsetools: Fix unused functions warnings in leexinc.hrlHans Bolinder
2017-10-24inets: Make sure httpd:stop_service is synchronousIngela Anderton Andin
2017-10-23erts: Fix so that bind correct schedulersLukas Larsson
When the cpu ids and scheduler ids don't match, the end schedulers could end up not being bound when they should be. example: > taskset -c 1-3 erl +S 4 +sbts > erlang:system_info(scheduler_bindings). {1,2,3,unbound} This fix makes it so that all cores are used to bind schedulers.
2017-10-23Merge pull request #1565 from mikpe/stdlib-base64-decode-speedupHans Bolinder
base64:decode(List) optimized reimplementation OTP-14624
2017-10-23Merge branch 'maint'Siri Hansen
2017-10-23Merge branch 'siri/rb/fix-bad_form/ERL-261/OTP-13906' into maintSiri Hansen
* siri/rb/fix-bad_form/ERL-261/OTP-13906: [rb] Don't fail for unexpected type of report
2017-10-23Merge branch 'bjorn/compiler/match-literals'Björn Gustavsson
* bjorn/compiler/match-literals: Optimize instructions for comparing a register with a literal Optimize matching of literals for single-valued types
2017-10-23Merge branch 'maint'Dan Gudmundsson
* maint: fix win32 share filename join/split (#1604) Correct io_vec handling
2017-10-23Merge branch 'dgud/wx/fix-empty-binaries/OTP-14688' into maintDan Gudmundsson
* dgud/wx/fix-empty-binaries/OTP-14688: Correct io_vec handling
2017-10-23fix win32 share filename join/split (#1604)Bikram Chatterjee
Handle UNC (shared) path on win32, previously "//dir/.." and "\\\\dir\.." was cleaned up to "/dir/.." which was not correct. OTP-14693
2017-10-23Merge branch 'maint'Ingela Anderton Andin
Conflicts: lib/ssl/src/inet_tls_dist.erl
2017-10-23Merge branch 'ingela/ssl/dist-crl' into maintIngela Anderton Andin
* ingela/ssl/dist-crl: ssl: Do not provide IP address to ssl:connect in erlang distribution over TLS
2017-10-23Merge branch 'maint'Ingela Anderton Andin
2017-10-23Merge branch 'ingela/public_key/ecc-keys/RRL-482/OTP-14620' into maintIngela Anderton Andin
* ingela/public_key/ecc-keys/RRL-482/OTP-14620: public_key: Handle formatting of ECC params from DER to crypto API
2017-10-21public_key: Handle formatting of ECC params from DER to crypto APIIngela Anderton Andin
Solves ERL-482
2017-10-21Optimize instructions for comparing a register with a literalBjörn Gustavsson
We can avoid calling eq() from the is_eq_exact_literal/3 and is_ne_exact_literal/3 instructions if the source operand is an immediate (since a literal is either a boxed or a list, never an immediate).
2017-10-21Optimize matching of literals for single-valued typesBjörn Gustavsson
If a type only has one clause and if the pattern is literal, the matching can be done more efficiently by directly comparing with the literal. Example: find(String, "") -> String; find(String, <<>>) -> String; find(String, SearchPattern) -> . . . Without this optimization, the relevant part of the code would look this: {test,bs_start_match2,{f,3},2,[{x,1},0],{x,2}}. {test,bs_test_tail2,{f,4},[{x,2},0]}. return. {label,3}. {test,is_nil,{f,4},[{x,1}]}. return. {label,4}. . . . That is, if {x,1} is a binary, a match context will be built to test whether {x,1} is an empty binary. With the optimization, the code will look this: {test,is_eq_exact,{f,3},[{x,1},{literal,<<>>}]}. return. {label,3}. {test,is_nil,{f,4},[{x,1}]}. return. {label,4}. . . .
2017-10-20ssl: Do not provide IP address to ssl:connect in erlang distribution over TLSIngela Anderton Andin
As TLS clients will perform a hostname check against certificates the IP-address does not make much sense.