bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39361: continuation and gc performance


From: Ludovic Courtès
Subject: bug#39361: continuation and gc performance
Date: Sun, 22 Mar 2020 21:51:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi,

Stefan Israelsson Tampe <address@hidden> skribis:

> That function marks the working stack no, what about stack segments in
> continuations will they be marked correctly as well?

Oh you’re right, from a quick look at continuations.c, a continuation’s
stack appears to be conservatively scanned (allocated with
‘scm_gc_malloc’).

My intuition is that it’s “good enough” in most cases, but could affect
GC performance a tiny bit in continuation-heavy code, such as Fibers.

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]