<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/test, branch OTP-19.3</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Update copyright year</title>
<updated>2017-03-10T14:00:46+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2017-03-10T14:00:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=26c3cd82529836cb5b6eefbf7f92f318fd91f847'/>
<id>26c3cd82529836cb5b6eefbf7f92f318fd91f847</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Fail sticky_dir tc if module not sticky</title>
<updated>2017-02-20T09:34:07+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2017-02-20T09:31:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=44ab65763bbeb307a3431de284805325114a3d35'/>
<id>44ab65763bbeb307a3431de284805325114a3d35</id>
<content type='text'>
Running this test when for some reason stdlib has been
unstickied could cause the emulator to die. So we check first
to make sure that the expected files are sticky.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Running this test when for some reason stdlib has been
unstickied could cause the emulator to die. So we check first
to make sure that the expected files are sticky.
</pre>
</div>
</content>
</entry>
<entry>
<title>Store messages for 'rex' and 'error_logger' off heap</title>
<updated>2017-02-03T12:31:24+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2017-02-03T12:27:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5f7f86be7bc7ec7a1c9b0042ff08254dca063d76'/>
<id>5f7f86be7bc7ec7a1c9b0042ff08254dca063d76</id>
<content type='text'>
Performance for processes that receive huge amounts of
messages can be increased by storing the incoming messages
outside the heap (that avoids copying the message in a
garbage collection).

Two OTP processes that are known to receive many messages
are 'rex' (used by 'rpc') and 'error_logger'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Performance for processes that receive huge amounts of
messages can be increased by storing the incoming messages
outside the heap (that avoids copying the message in a
garbage collection).

Two OTP processes that are known to receive many messages
are 'rex' (used by 'rpc') and 'error_logger'.
</pre>
</div>
</content>
</entry>
<entry>
<title>file_SUITE: Test file:write_file/3</title>
<updated>2016-09-22T10:29:15+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2016-09-22T10:19:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3f3f25b23379b1afb15cc97462cf5d385690f5a0'/>
<id>3f3f25b23379b1afb15cc97462cf5d385690f5a0</id>
<content type='text'>
Extend file_SUITE:read_write_file/1 to test file:write_file/3
which was not tested at all.

While we are it, remove the superfluous roundtrips tests of
term_to_binary/1 and binary_to_term/1. Those BIFs are tested
in detail in other test suites (for example, binary_SUITE in
emulator_test).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extend file_SUITE:read_write_file/1 to test file:write_file/3
which was not tested at all.

While we are it, remove the superfluous roundtrips tests of
term_to_binary/1 and binary_to_term/1. Those BIFs are tested
in detail in other test suites (for example, binary_SUITE in
emulator_test).
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'raimo/diffserv-socket-option/OTP-13582' into maint</title>
<updated>2016-09-15T13:20:32+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2016-09-15T13:20:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=996a0630f2d20557c2f981106a4c316ac6a360ff'/>
<id>996a0630f2d20557c2f981106a4c316ac6a360ff</id>
<content type='text'>
* raimo/diffserv-socket-option/OTP-13582:
  Tune 'tclass' semantics
  Implement IPV6_TCLASS
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* raimo/diffserv-socket-option/OTP-13582:
  Tune 'tclass' semantics
  Implement IPV6_TCLASS
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't leak old code when loading a modules with an on_load function</title>
<updated>2016-09-14T10:54:54+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2016-09-05T14:16:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c70ca686fe269db6079a2ca1c7e09cdfc0cfa903'/>
<id>c70ca686fe269db6079a2ca1c7e09cdfc0cfa903</id>
<content type='text'>
Normally, calling code:delete/1 before re-loading the code for a
module is unnecessary but causes no problem.

But there will be be problems if the new code has an on_load function.
Code with an on_load function will always be loaded as old code
to allowed it to be easily purged if the on_load function would fail.
If the on_load function succeeds, the old and current code will be
swapped.

So in the scenario where code:delete/1 has been called explicitly,
there is old code but no current code. Loading code with an
on_load function will cause the reference to the old code to be
overwritten. That will at best cause a memory leak, and at worst
an emulator crash (especially if NIFs are involved).

To avoid that situation, we will put the code with the on_load
function in a special, third slot in Module.

ERL-240
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Normally, calling code:delete/1 before re-loading the code for a
module is unnecessary but causes no problem.

But there will be be problems if the new code has an on_load function.
Code with an on_load function will always be loaded as old code
to allowed it to be easily purged if the on_load function would fail.
If the on_load function succeeds, the old and current code will be
swapped.

So in the scenario where code:delete/1 has been called explicitly,
there is old code but no current code. Loading code with an
on_load function will cause the reference to the old code to be
overwritten. That will at best cause a memory leak, and at worst
an emulator crash (especially if NIFs are involved).

To avoid that situation, we will put the code with the on_load
function in a special, third slot in Module.

ERL-240
</pre>
</div>
</content>
</entry>
<entry>
<title>Tune 'tclass' semantics</title>
<updated>2016-09-14T06:42:15+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2016-09-13T07:40:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8d5a41b9eeae54d1135c570878fecc2ad3ad1d8e'/>
<id>8d5a41b9eeae54d1135c570878fecc2ad3ad1d8e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement IPV6_TCLASS</title>
<updated>2016-09-12T12:54:34+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2016-09-12T08:14:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=82d673f8c9dd39cc78cb7567fe59ebda2b88bf2d'/>
<id>82d673f8c9dd39cc78cb7567fe59ebda2b88bf2d</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 'lukas/kernel/os_cmd_fix_stdin_close/OTP-13867' into maint</title>
<updated>2016-09-05T15:08:40+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2016-09-05T15:08:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=bb8d105fd6d5b09097dc64b341d63f0f8d7e8906'/>
<id>bb8d105fd6d5b09097dc64b341d63f0f8d7e8906</id>
<content type='text'>
* lukas/kernel/os_cmd_fix_stdin_close/OTP-13867:
  kernel: Close stdin of commands run in os:cmd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lukas/kernel/os_cmd_fix_stdin_close/OTP-13867:
  kernel: Close stdin of commands run in os:cmd
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Close stdin of commands run in os:cmd</title>
<updated>2016-09-02T14:34:56+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2016-09-02T12:29:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c0ed19c1261ee281d3c8f36ec3f28fa7328f0f39'/>
<id>c0ed19c1261ee281d3c8f36ec3f28fa7328f0f39</id>
<content type='text'>
This is needed when running programs that only exit when
stdin has been closed, e.g. 'more'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is needed when running programs that only exit when
stdin has been closed, e.g. 'more'.
</pre>
</div>
</content>
</entry>
</feed>
