<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/test, branch OTP-19.3.6.6</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>code_SUITE:on_load_trace_on_load</title>
<updated>2017-09-13T13:23:01+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2017-09-13T13:23:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=bde065de5088d896cda8ac708788bd8849c3164b'/>
<id>bde065de5088d896cda8ac708788bd8849c3164b</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 'john/erts/fix-port-leak/OTP-13939/ERL-193' into maint-19</title>
<updated>2017-06-26T14:03:10+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2017-06-26T14:03:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5f2d536cb2ad0447eca64d91755dd8a4549561ac'/>
<id>5f2d536cb2ad0447eca64d91755dd8a4549561ac</id>
<content type='text'>
* john/erts/fix-port-leak/OTP-13939/ERL-193:
  Add a testcase for OTP-13939/ERL-193
  Mark socket disconnected on tcp_send_or_shutdown_error

# Conflicts:
#	lib/kernel/test/gen_tcp_misc_SUITE.erl
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* john/erts/fix-port-leak/OTP-13939/ERL-193:
  Add a testcase for OTP-13939/ERL-193
  Mark socket disconnected on tcp_send_or_shutdown_error

# Conflicts:
#	lib/kernel/test/gen_tcp_misc_SUITE.erl
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a testcase for OTP-13939/ERL-193</title>
<updated>2017-06-14T10:14:10+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2017-06-14T10:14:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=02c0cf44437df3ed1ff8cdbb48b477b489977b85'/>
<id>02c0cf44437df3ed1ff8cdbb48b477b489977b85</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>
</feed>
