summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeo Camarasu <teofilcamarasu@gmail.com>2022-10-15 18:09:03 +0100
committerTeo Camarasu <teofilcamarasu@gmail.com>2022-10-15 18:11:29 +0100
commit4a4641ca2f2a157dab0fe2df5316f79ffb52c047 (patch)
tree73be8c614c31302f9ba0d6b84c2eac5d0939806d
parent29bb90db7e0756cd7dda96d9a61c3ab0abe769c2 (diff)
downloadhaskell-4a4641ca2f2a157dab0fe2df5316f79ffb52c047.tar.gz
Add realease note for #21927
-rw-r--r--docs/users_guide/9.6.1-notes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users_guide/9.6.1-notes.rst b/docs/users_guide/9.6.1-notes.rst
index faa8d2d8e9..dfd800d11b 100644
--- a/docs/users_guide/9.6.1-notes.rst
+++ b/docs/users_guide/9.6.1-notes.rst
@@ -121,6 +121,12 @@ Runtime system
by library authors directly, who may wrap them a safe API that maintains the
necessary invariants. See the documentation in ``GHC.Prim`` for more details.
+- The behaviour of the ``-M`` flag has been made more strict. It will now trigger
+ a heap overflow if the total amount of memory used by the Haskell heap exceeds the limit.
+ Previously only live blocks were taken into account.
+ This makes it more likely to trigger promptly when the heap is highly fragmented.
+
+
``base`` library
~~~~~~~~~~~~~~~~