[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #860: C_in_stackp may be buggy
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #860: C_in_stackp may be buggy |
Date: |
Wed, 30 May 2012 10:20:23 -0000 |
#860: C_in_stackp may be buggy
------------------------------------+---------------------------------------
Reporter: felix | Owner: felix
Type: defect | Status: new
Priority: major | Milestone:
Component: unknown | Version: 4.7.x
Keywords: C_in_stackp nursery GC |
------------------------------------+---------------------------------------
There may be situations where an allocation in the nursery exceeds the
current stack-limit - the limit is "soft", any the check whether the limit
is reached does take place only in certain functions and only at the start
of a generated C function. Coalescing of allocations and various other
factors could create a situation where an object is allocated just slighly
above the limit which would trigger a minor GC at the next check but may
leave us with an object that is in the nursery but starts outside of the
limits.
Also the use of `C_stack_pointer_test` is not necessary in this function -
taking the address of a local would be more than sufficient.
--
Ticket URL: <http://bugs.call-cc.org/ticket/860>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #860: C_in_stackp may be buggy,
Chicken Trac <=