summaryrefslogtreecommitdiff
path: root/docs/users_guide/8.2.1-notes.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/8.2.1-notes.rst')
-rw-r--r--docs/users_guide/8.2.1-notes.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/users_guide/8.2.1-notes.rst b/docs/users_guide/8.2.1-notes.rst
index 3011a29700..2c237db4e6 100644
--- a/docs/users_guide/8.2.1-notes.rst
+++ b/docs/users_guide/8.2.1-notes.rst
@@ -14,10 +14,17 @@ The highlights since the 8.0 branch are:
- TODO FIXME
- SCC annotations can now be used for declarations.
+- Heap overflow throws an exception in certain circumstances.
Full details
------------
+- Heap overflow throws a catchable exception, provided that it was detected
+ by the RTS during a GC cycle due to the program exceeding a limit set by
+ ``+RTS -M``, and not due to an allocation being refused by the operating
+ system. This exception is thrown to the same thread that receives
+ ``UserInterrupt`` exceptions, and may be caught by user programs.
+
Language
~~~~~~~~