<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/runtime_tools/test, branch master</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Merge branch 'richcarl/erts/erl_init-cleanup/OTP-15336'</title>
<updated>2018-10-01T10:00:23+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2018-10-01T10:00:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=71a6e006f71e14e3a67d64b5acfec2875cdc3e32'/>
<id>71a6e006f71e14e3a67d64b5acfec2875cdc3e32</id>
<content type='text'>
* richcarl/erts/erl_init-cleanup/OTP-15336:
  sasl: Order systools_make:preloaded modules alphabetically
  Update preloaded modules
  Move calling on_load for preloaded modules to erl_init
  Make erl_init.c pass the boot module to erl_init.beam
  Remove obsolete comment text
  Remove undocumented and unused -# display_items emulator option
  Remove broken and undocumented boot function emulator option
  Replace remaining references to otp_ring0 with erl_init
  Drop otp_ring0, using erl_init instead
  Update preloaded modules
  Add erl_init module

Conflicts:
	erts/emulator/beam/erl_init.c
	erts/preloaded/ebin/erl_prim_loader.beam
	erts/preloaded/ebin/erl_tracer.beam
	erts/preloaded/ebin/erlang.beam
	erts/preloaded/ebin/erts_code_purger.beam
	erts/preloaded/ebin/erts_dirty_process_signal_handler.beam
	erts/preloaded/ebin/erts_internal.beam
	erts/preloaded/ebin/erts_literal_area_collector.beam
	erts/preloaded/ebin/init.beam
	erts/preloaded/ebin/otp_ring0.beam
	erts/preloaded/ebin/prim_buffer.beam
	erts/preloaded/ebin/prim_eval.beam
	erts/preloaded/ebin/prim_file.beam
	erts/preloaded/ebin/prim_inet.beam
	erts/preloaded/ebin/prim_zip.beam
	erts/preloaded/ebin/zlib.beam
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* richcarl/erts/erl_init-cleanup/OTP-15336:
  sasl: Order systools_make:preloaded modules alphabetically
  Update preloaded modules
  Move calling on_load for preloaded modules to erl_init
  Make erl_init.c pass the boot module to erl_init.beam
  Remove obsolete comment text
  Remove undocumented and unused -# display_items emulator option
  Remove broken and undocumented boot function emulator option
  Replace remaining references to otp_ring0 with erl_init
  Drop otp_ring0, using erl_init instead
  Update preloaded modules
  Add erl_init module

Conflicts:
	erts/emulator/beam/erl_init.c
	erts/preloaded/ebin/erl_prim_loader.beam
	erts/preloaded/ebin/erl_tracer.beam
	erts/preloaded/ebin/erlang.beam
	erts/preloaded/ebin/erts_code_purger.beam
	erts/preloaded/ebin/erts_dirty_process_signal_handler.beam
	erts/preloaded/ebin/erts_internal.beam
	erts/preloaded/ebin/erts_literal_area_collector.beam
	erts/preloaded/ebin/init.beam
	erts/preloaded/ebin/otp_ring0.beam
	erts/preloaded/ebin/prim_buffer.beam
	erts/preloaded/ebin/prim_eval.beam
	erts/preloaded/ebin/prim_file.beam
	erts/preloaded/ebin/prim_inet.beam
	erts/preloaded/ebin/prim_zip.beam
	erts/preloaded/ebin/zlib.beam
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2018-06-18T12:51:18+00:00</updated>
<author>
<name>Henrik Nord</name>
<email>henrik@erlang.org</email>
</author>
<published>2018-06-18T12:51:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5ca92e2eac1e84fd22f60e7abc3aa2b0ff1cb42b'/>
<id>5ca92e2eac1e84fd22f60e7abc3aa2b0ff1cb42b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace remaining references to otp_ring0 with erl_init</title>
<updated>2018-05-23T11:33:21+00:00</updated>
<author>
<name>Richard Carlsson</name>
<email>richardc@klarna.com</email>
</author>
<published>2018-05-23T11:33:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f188b1618c9fae9771070afd2735bd36f4da0763'/>
<id>f188b1618c9fae9771070afd2735bd36f4da0763</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add zzz_SUITE with erts_debug:lc_graph last in tests</title>
<updated>2018-04-13T15:40:48+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2018-04-13T12:47:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6915407d64fca30896929bbc717408595a63d45b'/>
<id>6915407d64fca30896929bbc717408595a63d45b</id>
<content type='text'>
for erts, stdlib, kernel and runtime_tools.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for erts, stdlib, kernel and runtime_tools.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implementation of true asynchronous signaling between processes</title>
<updated>2018-03-21T09:27:03+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2018-03-07T00:17:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4bc282d812cc2c49aa3e2d073e96c720f16aa270'/>
<id>4bc282d812cc2c49aa3e2d073e96c720f16aa270</id>
<content type='text'>
Communication between Erlang processes has conceptually always been
performed through asynchronous signaling. The runtime system
implementation has however previously preformed most operation
synchronously. In a system with only one true thread of execution, this
is not problematic (often the opposite). In a system with multiple threads
of execution (as current runtime system implementation with SMP support)
it becomes problematic. This since it often involves locking of structures
when updating them which in turn cause resource contention. Utilizing
true asynchronous communication often avoids these resource contention
issues.

The case that triggered this change was contention on the link lock due
to frequent updates of the monitor trees during communication with a
frequently used server. The signal order delivery guarantees of the
language makes it hard to change the implementation of only some signals
to use true asynchronous signaling. Therefore the implementations
of (almost) all signals have been changed.

Currently the following signals have been implemented as true
asynchronous signals:
- Message signals
- Exit signals
- Monitor signals
- Demonitor signals
- Monitor triggered signals (DOWN, CHANGE, etc)
- Link signals
- Unlink signals
- Group leader signals

All of the above already defined as asynchronous signals in the
language. The implementation of messages signals was quite
asynchronous to begin with, but had quite strict delivery constraints
due to the ordering guarantees of signals between a pair of processes.

The previously used message queue partitioned into two halves has been
replaced by a more general signal queue partitioned into three parts
that service all kinds of signals. More details regarding the signal
queue can be found in comments in the erl_proc_sig_queue.h file.

The monitor and link implementations have also been completely replaced
in order to fit the new asynchronous signaling implementation as good
as possible. More details regarding the new monitor and link
implementations can be found in the erl_monitor_link.h file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Communication between Erlang processes has conceptually always been
performed through asynchronous signaling. The runtime system
implementation has however previously preformed most operation
synchronously. In a system with only one true thread of execution, this
is not problematic (often the opposite). In a system with multiple threads
of execution (as current runtime system implementation with SMP support)
it becomes problematic. This since it often involves locking of structures
when updating them which in turn cause resource contention. Utilizing
true asynchronous communication often avoids these resource contention
issues.

The case that triggered this change was contention on the link lock due
to frequent updates of the monitor trees during communication with a
frequently used server. The signal order delivery guarantees of the
language makes it hard to change the implementation of only some signals
to use true asynchronous signaling. Therefore the implementations
of (almost) all signals have been changed.

Currently the following signals have been implemented as true
asynchronous signals:
- Message signals
- Exit signals
- Monitor signals
- Demonitor signals
- Monitor triggered signals (DOWN, CHANGE, etc)
- Link signals
- Unlink signals
- Group leader signals

All of the above already defined as asynchronous signals in the
language. The implementation of messages signals was quite
asynchronous to begin with, but had quite strict delivery constraints
due to the ordering guarantees of signals between a pair of processes.

The previously used message queue partitioned into two halves has been
replaced by a more general signal queue partitioned into three parts
that service all kinds of signals. More details regarding the signal
queue can be found in comments in the erl_proc_sig_queue.h file.

The monitor and link implementations have also been completely replaced
in order to fit the new asynchronous signaling implementation as good
as possible. More details regarding the new monitor and link
implementations can be found in the erl_monitor_link.h file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge PR-1639 from sverker/scheduler_utilization OTP-14904</title>
<updated>2018-01-29T17:33:12+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2018-01-29T17:33:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=fc6eb93ae081ac5ebf715e53d0d2519067fcea95'/>
<id>fc6eb93ae081ac5ebf715e53d0d2519067fcea95</id>
<content type='text'>
runtime_tools: Add scheduler module</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
runtime_tools: Add scheduler module</pre>
</div>
</content>
</entry>
<entry>
<title>runtime_tools: Add scheduler module</title>
<updated>2018-01-29T17:24:23+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2018-01-11T19:52:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0359cdc8552ad056e976a8c097624b4305ef6755'/>
<id>0359cdc8552ad056e976a8c097624b4305ef6755</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix testcases after removal of non-smp emulator</title>
<updated>2017-07-17T08:01:53+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2017-07-13T10:28:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2a84c3d7f6822f1293ad860cf094b549fd3fe634'/>
<id>2a84c3d7f6822f1293ad860cf094b549fd3fe634</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2016-12-07T14:05:52+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2016-12-07T14:05:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ba1d721c4af43a1c775ef83322105ab9c5d96265'/>
<id>ba1d721c4af43a1c775ef83322105ab9c5d96265</id>
<content type='text'>
* maint:
  Update copyright-year

Conflicts:
	lib/dialyzer/src/dialyzer.hrl
	lib/dialyzer/src/dialyzer_options.erl
	lib/dialyzer/test/opaque_SUITE_data/src/recrec/dialyzer.hrl
	lib/dialyzer/test/opaque_SUITE_data/src/recrec/dialyzer_races.erl
	lib/hipe/icode/hipe_icode.erl
	lib/hipe/main/hipe.erl
	lib/hipe/main/hipe.hrl.src
	lib/hipe/main/hipe_main.erl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint:
  Update copyright-year

Conflicts:
	lib/dialyzer/src/dialyzer.hrl
	lib/dialyzer/src/dialyzer_options.erl
	lib/dialyzer/test/opaque_SUITE_data/src/recrec/dialyzer.hrl
	lib/dialyzer/test/opaque_SUITE_data/src/recrec/dialyzer_races.erl
	lib/hipe/icode/hipe_icode.erl
	lib/hipe/main/hipe.erl
	lib/hipe/main/hipe.hrl.src
	lib/hipe/main/hipe_main.erl
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright-year</title>
<updated>2016-12-07T12:15:31+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2016-12-07T12:15:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3eddb0f762de248d3230b38bc9d478bfbc8e7331'/>
<id>3eddb0f762de248d3230b38bc9d478bfbc8e7331</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
