Note infinite stack default in release notes.
authorAustin Seipp <aseipp@pobox.com>
Sun, 8 Sep 2013 09:07:23 +0000 (04:07 -0500)
committerAustin Seipp <aseipp@pobox.com>
Sun, 8 Sep 2013 09:07:25 +0000 (04:07 -0500)
Signed-off-by: Austin Seipp <aseipp@pobox.com>
docs/users_guide/7.8.1-notes.xml

index 15bf82b..2021fc6 100644 (file)
 
             <listitem>
                 <para>
+                     By default, the maximum stack size in the runtime
+                     system is now infinite. This is controlled by the
+                     <literal>+RTS -K</literal> flag, which was
+                     previously defaulted to 8MB. In general, this
+                     will allow more programs to run as they will no
+                     longer stack overflow as quickly, although they
+                     may use much more memory.
+               </para>
+
+                <para>
+                     Note that you will still eventually encounter a
+                     stack overflow - when the heap is completely
+                     exhausted, as stacks are serviced from the
+                     storage manager. This will cause a runtime abort
+                     after invoking
+                     <literal>StackOverflowHook</literal>.
+               </para>
+           </listitem>
+
+            <listitem>
+                <para>
                     The performance of <literal>StablePtr</literal>s and
                     <literal>StableName</literal>s has been improved.
                </para>