aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-06-26Eliminate potential unsafe use of general destinationBjörn Gustavsson
a3407eaa2104d6 eliminated the -gen_dest flag for macros in ops.tab. It turns out that the new implementation (taking the address of the X or X destination register) is unsafe if the destination is a Y register and there can be a GC. The problem is that the address to the Y register will change if there is a GC. Fortunately, the few instructions in OTP 20 that have a general destinations are safe. The put_list_ssd instruction never does a GC. The bit syntax instructions that may do a GC will always store the result to an X register. To be completely sure, rewrite the destination register from 'd' to 'x' for the bit syntax instructions. That means that a bit syntax instruction with a Y register destionation will abort the loading if it is encountered.
2017-06-26Merge branch 'maint'Hans Bolinder
* maint: syntax_tools: erl_tidy: Do not hang when exits are trapped
2017-06-26Merge branch 'hasse/syntax_tools/erl_tidy_hangs/ERL-413/OTP-14471' into maintHans Bolinder
* hasse/syntax_tools/erl_tidy_hangs/ERL-413/OTP-14471: syntax_tools: erl_tidy: Do not hang when exits are trapped
2017-06-26Merge branch 'maint'Hans Bolinder
* maint: stdlib: Correct lists(3) regarding filtermap/2
2017-06-26Merge branch 'hasse/stdlib/lists_doc_fix/ERL-402' into maintHans Bolinder
* hasse/stdlib/lists_doc_fix/ERL-402: stdlib: Correct lists(3) regarding filtermap/2
2017-06-23Support e2k architectureBoris Bochkarev
2017-06-22Fix statistics(wall_clock) and statistics(runtime) implementationRickard Green
2017-06-22stdlib: Correct lists(3) regarding filtermap/2Hans Bolinder
See also ERL-402, https://bugs.erlang.org/browse/ERL-402.
2017-06-22syntax_tools: erl_tidy: Do not hang when exits are trappedHans Bolinder
See also ERL-413, https://bugs.erlang.org/browse/ERL-413.
2017-06-21Development VersionHans Nilsson
2017-06-21Updated OTP versionOTP-20.0Erlang/OTP
2017-06-21Prepare releaseErlang/OTP
2017-06-20Update preloaded modulesHans Nilsson
2017-06-20Update primary bootstrapHans Nilsson
2017-06-20Merge branch 'hans/otp/update_copyright'Hans Nilsson
This fixes the missing updates after merge cdc5545536ddeedf9ae4db20464afa6565f4327d whare the branch was rebased and merge after the previous copyright fix in 43718d3b81d7f3d08e25047e22d579801bbe5044
2017-06-19Update copyright yearHans Nilsson
2017-06-16Merge branch 'siri/unicode-atoms/OTP-14285'Siri Hansen
* siri/unicode-atoms/OTP-14285: [sasl] Improve handling of unicode in rb [ttb] Handle unicode atoms in trace data and config files [dbg] Update default trace handler to print unicode atoms correctly [etop] Fix handling of unicode atoms [stdlib] Open sys debug logs as utf8 [stdlib] Open error log file as utf8 [sasl] Improve handling of unicode atoms [ct] Print unicode atoms and strings correctly in common_test logs
2017-06-16[sasl] Improve handling of unicode in rbSiri Hansen
2017-06-16[ttb] Handle unicode atoms in trace data and config filesSiri Hansen
2017-06-16[dbg] Update default trace handler to print unicode atoms correctlySiri Hansen
2017-06-16[etop] Fix handling of unicode atomsSiri Hansen
Print function names and registered names with ~tw. Open dump file with encoding utf8.
2017-06-16[stdlib] Open sys debug logs as utf8Siri Hansen
This allows the use of ~ts/~tp/~tw in the formatting fun to sys:handle_debug/4.
2017-06-16[stdlib] Open error log file as utf8Siri Hansen
This allows the use of ~ts/~tp/~tw in calls to error_logger:format/2, error_logger:error_msg/2 and error_logger:info_msg/2.
2017-06-16[sasl] Improve handling of unicode atomsSiri Hansen
2017-06-16[ct] Print unicode atoms and strings correctly in common_test logsSiri Hansen
And use correct encoding when printing to files.
2017-06-15Merge branch 'kenneth/OTP-14460'Kenneth Lundin
* kenneth/OTP-14460: Remove some ancient chapters which are no longer relevant
2017-06-15Merge branch 'hans/otp/update_copyright'Hans Nilsson
2017-06-14Merge branch 'rickard/ets-doc/OTP-14094'Rickard Green
* rickard/ets-doc/OTP-14094: Update documentation of ERL_MAX_ETS_TABLES
2017-06-14Update documentation of ERL_MAX_ETS_TABLESRickard Green
2017-06-14fixup! erts: Cleanup dropped port tasks correctlyLukas Larsson
2017-06-14erts: Add tests to detect port close raceLukas Larsson
2017-06-14Merge branch 'anders/diameter/transport/ERL-332'Anders Svensson
* anders/diameter/transport/ERL-332: Fix sctp check in examples suite
2017-06-14Remove some ancient chapters which are no longer relevantKenneth Lundin
2017-06-14Fix sctp check in examples suiteAnders Svensson
To partake of the change in commit 69c5a741.
2017-06-14Merge branch 'rickard/t2b-latin1-atom'Rickard Green
OTP-14337 * rickard/t2b-latin1-atom: Fix minor vsn 1 in term_to_binary/2 broken in this branch
2017-06-14Fix minor vsn 1 in term_to_binary/2 broken in this branchRickard Green
2017-06-14Merge branch 'rickard/t2b-latin1-atom'Rickard Green
OTP-14337 * rickard/t2b-latin1-atom: Update primary bootstrap Update preloaded modules Fix erl_interface tests Introduce minor vsn 2 in term_to_binary/2 Revert "kernel: Try mend disk_log whitebox tests" Revert "erts: Do not generate atoms on old latin1 external format"
2017-06-14Update copyright yearHans Nilsson
2017-06-14Merge remote-tracking branch 'ingela/ingela/dtls/client-hello-verify/ERL-434'Hans Nilsson
2017-06-14Merge pull request #1486 from willemdj/patch-1Hans Nilsson
Fix typo on line 872
2017-06-14Update primary bootstrapRickard Green
2017-06-14Update preloaded modulesRickard Green
2017-06-14Fix erl_interface testsRickard Green
2017-06-14Introduce minor vsn 2 in term_to_binary/2Rickard Green
2017-06-14Merge remote-tracking branch 'ingela/ingela/dtls-epoch-next-record'Hans Nilsson
2017-06-14Add a testcase for OTP-13939/ERL-193John Högberg
2017-06-14erts: Cleanup dropped port tasks correctlyLukas Larsson
Before this fix, the extra data attached to a port task had to be cleaned up by the calling function. This caused problems because the outputv call, co-allocates the extra data with the port task. So in rare circumstances the port task would be free'd before the extra data was free'd which led to segfault when looking at the port task. This has been fixed by the generic PORT_TASK_ABORT behaviour being used even for tasks dropped in the erts_schedule_proc2port_signal API.
2017-06-14Mark socket disconnected on tcp_send_or_shutdown_errorkvakvs
The socket left lingering due to {exit_on_close, false} will accept writes in a confusing way, returning either enotconn or blocking. This fix allows socket to know that it has been closed recently, and new writes won't pass.
2017-06-14Remove noisy and redundant #ifdefsJohn Högberg
The relevant macros are already guarded by said #ifdefs.
2017-06-14Merge branch 'anders/diameter/20.0/OTP-14398'Anders Svensson
* anders/diameter/20.0/OTP-14398: vsn -> 2.0 Update appup for 20.0