From bd64ad8e15d66e48b36dbe3584315dd5cfc8b59a Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Wed, 11 May 2016 17:22:23 +0200 Subject: Prepare release --- lib/kernel/doc/src/notes.xml | 153 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 153 insertions(+) (limited to 'lib/kernel') diff --git a/lib/kernel/doc/src/notes.xml b/lib/kernel/doc/src/notes.xml index d0540768de..b90a6dc3c2 100644 --- a/lib/kernel/doc/src/notes.xml +++ b/lib/kernel/doc/src/notes.xml @@ -31,6 +31,159 @@

This document describes the changes made to the Kernel application.

+
Kernel 5.0 + +
Fixed Bugs and Malfunctions + + +

The handling of on_load functions has been + improved. The major improvement is that if a code upgrade + fails because the on_load function fails, the + previous version of the module will now be retained.

+

+ Own Id: OTP-12593

+
+ +

rpc:call() and rpc:block_call() would + sometimes cause an exception (which was not mentioned in + the documentation). This has been corrected so that + {badrpc,Reason} will be returned instead.

+

+ Own Id: OTP-13409

+
+ +

On Windows, for modules that were loaded early (such + as the lists module), code:which/1 would + return the path with mixed slashes and backslashes, for + example: "C:\\Program + Files\\erl8.0/lib/stdlib-2.7/ebin/lists.beam". This + has been corrected.

+

+ Own Id: OTP-13410

+
+ +

+ Use fsync instead of fdatasync on Mac OSX.

+

+ Own Id: OTP-13411

+
+ +

+ The default chunk size for the fallback sendfile + implementation, used on platforms that do not have a + native sendfile, has been decreased in order to reduce + connectivity issues.

+

+ Own Id: OTP-13444

+
+ +

+ Huges writes (2Gb or more) could fail on some Unix + platforms (for example, OS X and FreeBSD).

+

+ Own Id: OTP-13461

+
+ +

+ A bug has been fixed where the DNS resolver inet_res did + not refresh its view of the contents of for example + resolv.conf immediately after start and hence then failed + name resolution. Reported and fix suggested by Michal + Ptaszek in GitHUB pull req #949.

+

+ Own Id: OTP-13470 Aux Id: Pull #969

+
+ +

+ Fix process leak from global_group. Thanks to Xuming who + reported and fixed this!

+

+ Own Id: OTP-13516 Aux Id: PR-1008

+
+
+
+ + +
Improvements and New Features + + +

+ Added os:perf_counter/1.

+

+ The perf_counter is a very very cheap and high resolution + timer that can be used to timestamp system events. It + does not have monoticity guarantees, but should on most + OS's expose a monotonous time.

+

+ Own Id: OTP-12908

+
+ +

+ The os:cmd call has been optimized on unix platforms to + be more performant as the number of schedulers increase.

+

+ Own Id: OTP-13089

+
+ +

New functions that can load multiple functions at once + have been added to the 'code' module. The + functions are code:atomic_load/1, + code:prepare_loading/1, + code:finish_loading/1, and + code:ensure_modules_loaded/1.

+

+ Own Id: OTP-13111

+
+ +

+ The code path cache feature turned out not to be very + useful in practice and has been removed. If an attempt is + made to enable the code path cache, there will be a + warning report informing the user that the feature has + been removed.

+

+ Own Id: OTP-13191

+
+ +

When an attempt is made to start a distributed Erlang + node with the same name as an existing node, the error + message will be much shorter and easier to read than + before. Example:

+

Protocol 'inet_tcp': the name somename@somehost + seems to be in use by another Erlang node

+

+ Own Id: OTP-13294

+
+ +

+ The output of the default error logger is somewhat + prettier and easier to read. The default error logger is + used during startup of the OTP system. If the start-up + fails, the output will be easier to read.

+

+ Own Id: OTP-13325

+
+ +

The functions rpc:safe_multi_server_call/2,3 + that were deprecated in R12B have been removed.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13449

+
+ +

+ Update the error reasons in dist_util, and show them in + the logs if net_kernel:verbose(1) has been called.

+

+ Own Id: OTP-13458

+
+
+
+ +
+
Kernel 4.2
Fixed Bugs and Malfunctions -- cgit v1.2.3