<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/test, branch OTP-19.1.1</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 '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>
<entry>
<title>kernerl: Remove infinite loop from testcase</title>
<updated>2016-08-31T09:21:17+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2016-08-31T09:21:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1ecf5e62d59624cad7e095d46243ec149cb1fcbc'/>
<id>1ecf5e62d59624cad7e095d46243ec149cb1fcbc</id>
<content type='text'>
We don't want the infinite loop as it leaks after the test finished.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't want the infinite loop as it leaks after the test finished.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rickard/ds-purge-module/OTP-13808' into maint</title>
<updated>2016-08-29T16:38:48+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2016-08-29T16:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5006f1e0c45d4e9b888b2c0ca48130049d33074c'/>
<id>5006f1e0c45d4e9b888b2c0ca48130049d33074c</id>
<content type='text'>
* rickard/ds-purge-module/OTP-13808:
  Perform check_process_code while process is executing dirty

Conflicts:
	erts/doc/src/erl_nif.xml
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* rickard/ds-purge-module/OTP-13808:
  Perform check_process_code while process is executing dirty

Conflicts:
	erts/doc/src/erl_nif.xml
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rickard/fun-purge-bug/OTP-13809' and 'rickard/new-purge-strategy/OTP-13833' into maint</title>
<updated>2016-08-29T15:52:10+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2016-08-29T15:52:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=928d74ffa09bd56652d9390b02fa51ef51d71d51'/>
<id>928d74ffa09bd56652d9390b02fa51ef51d71d51</id>
<content type='text'>
* rickard/fun-purge-bug/OTP-13809:
  Fix purge of code
  Reclaim literal area after purge has completed
  Separate literal area from code

Conflicts:
	erts/doc/src/erlang.xml
	erts/emulator/beam/beam_bif_load.c
	erts/emulator/beam/erl_init.c
	erts/preloaded/ebin/init.beam
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* rickard/fun-purge-bug/OTP-13809:
  Fix purge of code
  Reclaim literal area after purge has completed
  Separate literal area from code

Conflicts:
	erts/doc/src/erlang.xml
	erts/emulator/beam/beam_bif_load.c
	erts/emulator/beam/erl_init.c
	erts/preloaded/ebin/init.beam
</pre>
</div>
</content>
</entry>
<entry>
<title>Perform check_process_code while process is executing dirty</title>
<updated>2016-08-29T14:26:25+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2016-08-08T15:13:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0e04e76df2ea71e2e2e116afef04c497d84b1024'/>
<id>0e04e76df2ea71e2e2e116afef04c497d84b1024</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
