From af2073640c4b7c67c9b978ebc203d57ac43e96dc Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Fri, 22 Sep 2017 15:21:49 +0200 Subject: Update release notes --- erts/doc/src/notes.xml | 178 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 178 insertions(+) (limited to 'erts/doc') diff --git a/erts/doc/src/notes.xml b/erts/doc/src/notes.xml index 4eeea87bad..1a5bea8820 100644 --- a/erts/doc/src/notes.xml +++ b/erts/doc/src/notes.xml @@ -31,6 +31,184 @@

This document describes the changes made to the ERTS application.

+
Erts 9.1 + +
Fixed Bugs and Malfunctions + + +

+ Changed erlang:apply/2 to raise a badarg + exception if the second argument is not a proper list. + Previous behavior was a misleading undef + exception.

+

+ Own Id: OTP-14490 Aux Id: ERL-432

+
+ +

On macOS, crypto would crash if observer + had been started before crypto. On the beta for + macOS 10.13 (High Sierra), crypto would crash. + Both of those bugs have been fixed.

+

+ Own Id: OTP-14499 Aux Id: ERL-251 ERL-439

+
+ +

+ Fixed bug in enif_whereis_pid/port that could cause heap + corruption in rare cases.

+

+ Own Id: OTP-14523

+
+ +

+ Fix so that trace messages generated when in a dirty nif + are flushed correctly when the dirty nif is done + executing.

+

+ Own Id: OTP-14538

+
+ +

+ Fix escape code handling when using ANSI color codes in + the shell.

+

+ Own Id: OTP-14549 Aux Id: PR1536

+
+ +

+ Upgraded the ERTS internal PCRE library from version 8.40 + to version 8.41. See http://pcre.org/original/changelog.txt + for information about changes made to PCRE. This library + implements major parts of the re regular + expressions module.

+

+ Own Id: OTP-14574

+
+ +

+ Fixed a bug causing statistics(runtime) to produce + negative values and a bug in + statistics(wall_clock) causing it to produce + values one second too long.

+

+ statistics(runtime) now also use + getrusage() as source when available preventing + the returned value from wrapping as frequent as before.

+

+ Own Id: OTP-14597 Aux Id: ERL-465

+
+ +

+ Fixed small memory leak that could occur when sending to + a terminating port.

+

+ Own Id: OTP-14609

+
+ +

+ Fix bug causing VM crash when a module with + -on_load directive is loaded while + erlang:trace(on_load, ...) is enabled.

+

+ Own Id: OTP-14612

+
+ +

A warning that the compiler may optimize away atoms + have been added to the documentation of + list_to_existing_atom/1 and + binary_to_existing_atom/2.

+

+ Own Id: OTP-14614 Aux Id: ERL-453

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

Lock counting can now be fully toggled at runtime in + the lock counting emulator (-emu_type lcnt). + Everything is enabled by default to match the old + behavior, but specific categories can be toggled at will + with minimal runtime overhead when disabled. Refer to the + documentation on lcnt:rt_mask/1 for details.

+

+ Own Id: OTP-13170

+
+ +

The zlib module has been refactored and all its + operations will now yield appropriately, allowing them to + be used freely in concurrent applications.

The + following functions have been deprecated, but will not + produce compiler warnings until OTP 21: + zlib:adler32, zlib:crc32, + zlib:inflateChunk, zlib:getBufSize, + zlib:setBufSize.

The behavior of throwing + an error when a dictionary is required for decompression + has also been deprecated. Refer to the documentation on + inflateSetDictionary/2 for details.

+

+ Own Id: OTP-14185

+
+ +

lcnt:collect and lcnt:clear will no + longer block all other threads in the runtime system.

+

+ Own Id: OTP-14412

+
+ +

Add erlang:iolist_to_iovec/1, which converts an + iolist() to an erlang:iovec(), which suitable for use + with enif_inspect_iovec.

+

+ Own Id: OTP-14520

+
+ +

When provided with bad arguments, the zlib + module will now raise named exceptions instead of just + badarg. For example, not_initialized when + using zlib:inflate/2 with an uninitialized + stream.

+

+ Own Id: OTP-14527

+
+ +

+ erlang:halt/2 allows any Unicode string as slogan + for the crash dump.

+

+ Own Id: OTP-14553

+
+ +

Add new nif API functions for managing an I/O Queue. + The added functions are:

+ + enif_ioq_create() + enif_ioq_destroy() + enif_ioq_enq_binary() + + enif_ioq_enqv() + enif_ioq_deq() + enif_ioq_peek() + enif_inspect_iovec() + + enif_free_iovec() +

+ Own Id: OTP-14598

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