From cfea5eea406ba3af96588ff458e55de9a149d9c5 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Sun, 1 Apr 2012 20:14:41 +0200 Subject: Prepare release --- erts/doc/src/notes.xml | 188 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 188 insertions(+) (limited to 'erts') diff --git a/erts/doc/src/notes.xml b/erts/doc/src/notes.xml index d7967212b1..028a2bbf3d 100644 --- a/erts/doc/src/notes.xml +++ b/erts/doc/src/notes.xml @@ -30,6 +30,194 @@

This document describes the changes made to the ERTS application.

+
Erts 5.9.1 + +
Fixed Bugs and Malfunctions + + +

erlang:system_profile errorneous profiled the + profiler process when observing runnable processes. This + has been corrected.

+

+ Own Id: OTP-9849

+
+ +

Calling trace_info/2 asking for information about a + function that had native could could crash the run-time + system.

+

+ Own Id: OTP-9886

+
+ +

+ reduce smp locking time range in erts_garbage_collect + (thanks to Jovi Zhang)

+

+ Own Id: OTP-9912

+
+ +

+ Fix typo in supervisor behaviour doc (Thanks to Ricardo + Catalinas Jiménez)

+

+ Own Id: OTP-9924

+
+ +

+ Correct spelling of registered (Thanks to Richard + Carlsson)

+

+ Own Id: OTP-9925

+
+ +

+ erts: Remove unused variable (Thanks to Jovi Zhang)

+

+ Own Id: OTP-9926

+
+ +

+ Fix bug in ETS with compressed option and + insertion of term containing large integers (>2G) on + 64-bit machines. Seen to cause emulator crash. (Thanks to + Diego Llarrull for excellent bug report)

+

+ Own Id: OTP-9932

+
+ +

+ Handle Linux OS where /sys/devices/system/node is only + readable by root. Fallback to /sys/devices/system/cpu for + topology info.

+

+ Own Id: OTP-9978

+
+ +

When an escript ends now all printout to standard + output and standard error gets out on the terminal. This + bug has been corrected by changing the behaviour of + erlang:halt/0,1, which should fix the same problem for + other escript-like applications, i.e that data stored in + the output port driver buffers got lost when printing on + a TTY and exiting through erlang:halt/0,1.

+

The BIF:s erlang:halt/0,1 has gotten improved + semantics and there is a new BIF erlang:halt/2 to + accomplish something like the old semantics. See the + documentation.

+

Now erlang:halt/0 and erlang:halt/1 with an integer + argument will close all ports and allow all pending async + threads operations to finish before exiting the emulator. + Previously erlang:halt/0 and erlang:halt(0) would just + wait for pending async threads operations but not close + ports. And erlang:halt/1 with a non-zero integer argument + would not even wait for pending async threads operations. +

+

To roughly the old behaviour, to not wait for ports + and async threads operations when you exit the emulator, + you use erlang:halt/2 with an integer first argument and + an option list containing {flush,false} as the second + argument. Note that now is flushing not dependant of the + exit code, and you can not only flush async threads + operations which we deemed as a strange behaviour anyway. +

+

Also, erlang:halt/1,2 has gotten a new feature: If the + first argument is the atom 'abort' the emulator is + aborted producing a core dump, if the operating system so + allows.

+

+ Own Id: OTP-9985

+
+ +

+ Added check to inet driver to avoid building on operating + systems that do not yet have IPv6 compatible socket API. + (Thanks to Peer Stritzinger)

+

+ Own Id: OTP-9996

+
+ +

+ Fix bug when the number of CPUs actually found is lower + than the configured value. (Thanks to Benjamin + Herrenschmidt)

+

+ Own Id: OTP-10004

+
+ +

+ The runtime system without SMP support and without thread + support erroneously busy waited when no work was present. + This bug first appeared in erts-5.9.

+

+ Own Id: OTP-10019

+
+ +

+ Various typographical errors corrected in documentation + for common_test, driver, erl_driver and windows + installation instructions. (Thanks to Tuncer Ayaz)

+

+ Own Id: OTP-10037

+
+ +

+ Fix memory leak caused by race on exiting process

+

+ Own Id: OTP-10041

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

Add erlang:statistics(scheduler_wall_time) to + ensure correct determination of scheduler utilization. + Measuring scheduler utilization is strongly preferred + over CPU utilization, since CPU utilization gives very + poor indications of actual scheduler/vm usage.

+

+ Own Id: OTP-9858

+
+ +

+ ERTS internal API improvements. In some cases the amount + of atomic read operations needed have been reduced due to + this.

+

+ Own Id: OTP-9922

+
+ +

+ The DTrace source patch from Scott Lystig Fritchie is + integrated in the source tree. Using an emulator with + dtrace probe is still not supported for production use, + but may be a valuable debugging tool. Configure with + --with-dynamic-trace=dtrace (or + --with-dynamic-trace=systemtap) to create a build with + dtrace probes enabled. See runtime_tools for + documentation and examples.

+

+ Own Id: OTP-10017

+
+
+
+ + +
Known Bugs and Problems + + +

+ enif_make_copy may invalidate enif_inspect_binary.

+

+ Own Id: OTP-9828

+
+
+
+ +
+
Erts 5.9.0.1
Fixed Bugs and Malfunctions -- cgit v1.2.3