chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: #243: GC in callbacks will invalidate references


From: Chicken Trac
Subject: [Chicken-janitors] Re: #243: GC in callbacks will invalidate references to Scheme data used in "crunch" code
Date: Sat, 22 May 2010 12:24:06 -0000

#243: GC in callbacks will invalidate references to Scheme data used in "crunch"
code
-------------------------+--------------------------------------------------
  Reporter:  felix       |       Owner:        
      Type:  defect      |      Status:  closed
  Priority:  minor       |   Milestone:        
 Component:  extensions  |     Version:        
Resolution:  wontfix     |    Keywords:  crunch
-------------------------+--------------------------------------------------
Changes (by felix):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 Replying to [ticket:243 felix]:
 > 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.

 This also applies to normal foreign code that uses callbacks, so this is
 not a problem with `crunch`, but with the question of how to handle such
 data in general.

-- 
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/243#comment:1>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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