summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2022-11-29 12:19:16 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-01-12 15:52:23 -0500
commita1491c8791c57a64d94bc08d639d585815c8d4e2 (patch)
tree2798061cf74e3ea784939f4da456fd8af3200857 /docs
parent905d0b6e1db714b306a940fb58a570c9294aa88d (diff)
downloadhaskell-a1491c8791c57a64d94bc08d639d585815c8d4e2.tar.gz
Only gc sparks locally when we can ensure marking is done.
When performing GC without work stealing there was no guarantee that spark pruning was happening after marking of the sparks. This could cause us to GC live sparks under certain circumstances. Fixes #22528.
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/9.6.1-notes.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/users_guide/9.6.1-notes.rst b/docs/users_guide/9.6.1-notes.rst
index 797ff72f3a..9fd0ca2d75 100644
--- a/docs/users_guide/9.6.1-notes.rst
+++ b/docs/users_guide/9.6.1-notes.rst
@@ -129,6 +129,9 @@ Runtime system
Previously only live blocks were taken into account.
This makes it more likely to trigger promptly when the heap is highly fragmented.
+- Fixed a bug that sometimes caused live sparks to be GC'ed too early either during
+ minor GC or major GC with workstealing disabled. See #22528.
+
``base`` library
~~~~~~~~~~~~~~~~
@@ -149,9 +152,9 @@ Runtime system
- Updated to `Unicode 15.0.0 <https://www.unicode.org/versions/Unicode15.0.0/>`_.
-- Add standard Unicode case predicates :base-ref:`Data.Char.isUpperCase` and
- :base-ref:`Data.Char.isLowerCase`. These predicates use the standard Unicode
- case properties and are more intuitive than :base-ref:`Data.Char.isUpper` and
+- Add standard Unicode case predicates :base-ref:`Data.Char.isUpperCase` and
+ :base-ref:`Data.Char.isLowerCase`. These predicates use the standard Unicode
+ case properties and are more intuitive than :base-ref:`Data.Char.isUpper` and
:base-ref:`Data.Char.isLower`.
``ghc-prim`` library