[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #243: GC in callbacks will invalidate references to S
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #243: GC in callbacks will invalidate references to Scheme data used in "crunch" code |
Date: |
Fri, 21 May 2010 21:52:03 -0000 |
#243: GC in callbacks will invalidate references to Scheme data used in "crunch"
code
------------------------+---------------------------------------------------
Reporter: felix | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: extensions | Version:
Keywords: crunch |
------------------------+---------------------------------------------------
When code compiled with `crunch` manipulates number-vectors or strings
allocated in Scheme, then a callback is likely to trigger a GC, which will
move those data-structures, rendering existing references to them on the
crunch side invalid.
It may be possible to use a special vector/buffer type for data-objects
passed from Scheme to crunch.
--
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/243>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #243: GC in callbacks will invalidate references to Scheme data used in "crunch" code,
Chicken Trac <=