Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-08 | Merge branch 'raimo/gen_statem-improvements/OTP-13929' into maint | Raimo Niskanen | |
* raimo/gen_statem-improvements/OTP-13929: Log terminate to sys debug Optimize event timeout Rework timeout handling Clarify the chapter 'Postponing Events' (ERL-284) Fix doc and type for state enter calls | |||
2016-11-08 | fix typo on doc of maps | Jxck | |
typo | |||
2016-10-26 | stdlib: Correct shell_default(3) | Hans Bolinder | |
2016-10-26 | Optimize event timeout | Raimo Niskanen | |
Do not start an event timer unless there are no enqueued events. | |||
2016-10-26 | Rework timeout handling | Raimo Niskanen | |
Handling of timers and timeouts has been cleaned up and generalized. Semantic change regarding state timeout zero: Previously if one state caused a state timeout zero and managed to stay in the same state to insert additional timeout zero(s) in the next state callback invocation, then there would be only one timeout zero event. The mindset was that the machine was faster then the timeout zero. This has changed with the mindset that all state callback invocations should be independent, so now the machine will get one state timeout zero event per started state timeout zero. Note that just using zero timeouts is fairly esoteric... | |||
2016-10-24 | Fix doc and type for state enter calls | Raimo Niskanen | |
2016-10-19 | Merge branch 'raimo/gen_statem-improvements/OTP-13929' into maint | Raimo Niskanen | |
* raimo/gen_statem-improvements/OTP-13929: Fix race condition in cancel_timer/1 Use parameterized types Implement state timeouts Improve docs and types Change state entry events into state enter calls Improve docs Improve docs Implement state entry events Implement call/3 dirty_timeout | |||
2016-10-13 | Use parameterized types | Raimo Niskanen | |
2016-10-12 | Implement state timeouts | Raimo Niskanen | |
2016-10-04 | Improve docs and types | Raimo Niskanen | |
2016-09-30 | Change state entry events into state enter calls | Raimo Niskanen | |
2016-09-20 | Prepare release | Erlang/OTP | |
2016-09-16 | Improve docs | Raimo Niskanen | |
2016-09-16 | Implement state entry events | Raimo Niskanen | |
2016-09-16 | Implement call/3 dirty_timeout | Raimo Niskanen | |
2016-09-01 | doc: Correct errors introduced by Editorial changes | Hans Bolinder | |
Fix some older errors as well. | |||
2016-08-31 | Fix xmllint-warnings | Hans Bolinder | |
2016-08-27 | Fix typo: specificationc -> specification | Philip Arndt | |
2016-08-10 | Doc fixes | Raimo Niskanen | |
2016-08-02 | Rewrite gen_statem docs for M:callback_mode/0 | Raimo Niskanen | |
2016-07-19 | Merge branch ↵ | Raimo Niskanen | |
'raimo/stdlib/gen_statem-types-and-templates/ERL-172_ERL-187/OTP-13746' into maint * raimo/stdlib/gen_statem-types-and-templates/ERL-172_ERL-187/OTP-13746: Fix type and template errors from bugs.erlang.org: ERL-172 and ERL-187 | |||
2016-07-18 | Fix type and template errors from bugs.erlang.org: ERL-172 and ERL-187 | Raimo Niskanen | |
2016-07-14 | Prepare release | Erlang/OTP | |
2016-06-21 | Prepare release | Erlang/OTP | |
2016-06-13 | Update STDLIB documentation | Björn Gustavsson | |
Language cleaned up by the technical writers xsipewe and tmanevik from Combitech. Proofreading and corrections by Björn Gustavsson and Hans Bolinder. | |||
2016-06-09 | stdlib: Correct types and specs | Hans Bolinder | |
2016-06-02 | Revert "Prepare release" | Erlang/OTP | |
This reverts commit e020f75c10410a6943cd055bfa072a2641eab7da. | |||
2016-06-02 | Prepare release | Erlang/OTP | |
2016-05-20 | Fix spelling of "atomicity" in ets.xml | Magnus Henoch | |
2016-05-18 | Merge branch 'hasse/erl_docgen/datatype_anchors/OTP-13600/ERL-141' | Hans Bolinder | |
* hasse/erl_docgen/datatype_anchors/OTP-13600/ERL-141: kernel: Remove no longer needed anchors in documentation stdlib: Remove no longer needed anchors in documentation erts: Remove no longer needed anchors in documentation erl_docgen: Add anchors to datatypes without name attribute | |||
2016-05-17 | Merge branch 'sverker/trace-send-receive-matchspec/OTP-13507' | Sverker Eriksson | |
Second merge of this branch to master with some more docs | |||
2016-05-17 | stdlib: Remove no longer needed anchors in documentation | Hans Bolinder | |
2016-05-12 | stdlib: Add link to match spec user guide | Sverker Eriksson | |
from ets docs. | |||
2016-05-12 | Revert "Prepare release" | Erlang/OTP | |
This reverts commit bd64ad8e15d66e48b36dbe3584315dd5cfc8b59a. | |||
2016-05-11 | Prepare release | Erlang/OTP | |
2016-05-11 | Merge branch 'raimo/polish-gen_statem/OTP-13065' | Raimo Niskanen | |
* raimo/polish-gen_statem/OTP-13065: Reword 'dispatch' into 'branch depending' | |||
2016-05-11 | Reword 'dispatch' into 'branch depending' | Raimo Niskanen | |
2016-05-11 | Merge branch 'lukas/erts/max_heap_size/OTP-13174' | Lukas Larsson | |
* lukas/erts/max_heap_size/OTP-13174: erts: Fix max heap size exit when in hipe mode Update preloaded modules erts: Fix pre-bif yield current_function erts: Implement max_heap_size process flag | |||
2016-05-10 | stdlib: Fix missing anchor in epp docs | Lukas Larsson | |
2016-05-10 | erts: Implement max_heap_size process flag | Lukas Larsson | |
The max_heap_size process flag can be used to limit the growth of a process heap by killing it before it becomes too large to handle. It is possible to set the maximum using the `erl +hmax` option, `system_flag(max_heap_size, ...)`, `spawn_opt(Fun, [{max_heap_size, ...}])` and `process_flag(max_heap_size, ...)`. It is possible to configure the behaviour of the process when the maximum heap size is reached. The process may be sent an untrappable exit signal with reason kill and/or send an error_logger message with details on the process state. A new trace event called gc_max_heap_size is also triggered for the garbage_collection trace flag when the heap grows larger than the configured size. If kill and error_logger are disabled, it is still possible to see that the maximum has been reached by doing garbage collection tracing on the process. The heap size is defined as the sum of the heap memory that the process is currently using. This includes all generational heaps, the stack, any messages that are considered to be part of the heap and any extra memory the garbage collector may need during collection. In the current implementation this means that when a process is set using on_heap message queue data mode, the messages that are in the internal message queue are counted towards this value. For off_heap, only matched messages count towards the size of the heap. For mixed, it depends on race conditions within the VM whether a message is part of the heap or not. Below is an example run of the new behaviour: Eshell V8.0 (abort with ^G) 1> f(P),P = spawn_opt(fun() -> receive ok -> ok end end, [{max_heap_size, 512}]). <0.60.0> 2> erlang:trace(P, true, [garbage_collection, procs]). 1 3> [P ! lists:duplicate(M,M) || M <- lists:seq(1,15)],ok. ok 4> =ERROR REPORT==== 26-Apr-2016::16:25:10 === Process: <0.60.0> Context: maximum heap size reached Max heap size: 512 Total heap size: 723 Kill: true Error Logger: true GC Info: [{old_heap_block_size,0}, {heap_block_size,609}, {mbuf_size,145}, {recent_size,0}, {stack_size,9}, {old_heap_size,0}, {heap_size,211}, {bin_vheap_size,0}, {bin_vheap_block_size,46422}, {bin_old_vheap_size,0}, {bin_old_vheap_block_size,46422}] flush(). Shell got {trace,<0.60.0>,gc_start, [{old_heap_block_size,0}, {heap_block_size,233}, {mbuf_size,145}, {recent_size,0}, {stack_size,9}, {old_heap_size,0}, {heap_size,211}, {bin_vheap_size,0}, {bin_vheap_block_size,46422}, {bin_old_vheap_size,0}, {bin_old_vheap_block_size,46422}]} Shell got {trace,<0.60.0>,gc_max_heap_size, [{old_heap_block_size,0}, {heap_block_size,609}, {mbuf_size,145}, {recent_size,0}, {stack_size,9}, {old_heap_size,0}, {heap_size,211}, {bin_vheap_size,0}, {bin_vheap_block_size,46422}, {bin_old_vheap_size,0}, {bin_old_vheap_block_size,46422}]} Shell got {trace,<0.60.0>,exit,killed} | |||
2016-05-09 | Merge branch 'raimo/polish-gen_statem/OTP-13065' | Raimo Niskanen | |
* raimo/polish-gen_statem/OTP-13065: Fix all seealso and other minor changes Editorial update | |||
2016-05-09 | Fix all seealso and other minor changes | Raimo Niskanen | |
2016-05-09 | Merge branch 'xsipewe_gen_statem1' of https://github.com/xsipewe/otp into ↵ | Raimo Niskanen | |
raimo/polish-gen_statem/OTP-13065 Conflicts: lib/stdlib/doc/src/gen_statem.xml | |||
2016-05-06 | Editorial update | xsipewe | |
2016-05-04 | Merge branch 'raimo/polish-gen_statem/OTP-13065' | Raimo Niskanen | |
* raimo/polish-gen_statem/OTP-13065: Fix documentation Clean up terminate functions Fix callback mode after code change not used Restructure loop_* to clarify S handling | |||
2016-05-04 | Fix documentation | Raimo Niskanen | |
2016-04-29 | Merge branch 'jlouis/stdlib/implement-lists-join/PR-1012/OTP-13523' | Björn Gustavsson | |
* jlouis/stdlib/implement-lists-join/PR-1012/OTP-13523: Implement lists:join/2 | |||
2016-04-28 | Merge branch 'egil/maps-api-additions/PR-1025/OTP-13522' | Björn-Egil Dahlberg | |
* egil/maps-api-additions/PR-1025/OTP-13522: stdlib: Document maps:update_with/3,4 stdlib: Add tests for maps:update_with/3,4 stdlib: Add maps:update_with/3,4 erts: Add tests for maps:take/2 stdlib: Document maps:take/2 erts: Add BIF maps:take/2 | |||
2016-04-27 | stdlib: Document maps:update_with/3,4 | Björn-Egil Dahlberg | |
2016-04-27 | stdlib: Document maps:take/2 | Björn-Egil Dahlberg | |