From: Juho Snellman <jsnell@us...> - 2007-03-02 04:36:07
Update of /cvsroot/sbcl/sbcl/src/compiler/x86-64
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv10024/src/compiler/x86-64
18.104.22.168: Fix deportation gc safety bug
* Pin objects that are deported by taking a SAP to a GCd object
* In some cases the object that the SAP is taken to isn't actually
EQ to the one that was deported -> split deportation into
separate alien-type-class-methods for the allocation and the
* Don't do pinning on non-x86oids, since we can't really disable
the GC during all alien calls.
RCS file: /cvsroot/sbcl/sbcl/src/compiler/x86-64/macros.lisp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- macros.lisp 13 Sep 2006 17:30:30 -0000 1.17
+++ macros.lisp 2 Mar 2007 04:36:03 -0000 1.18
@@ -414,7 +414,7 @@
(move result value)))))
;;; helper for alien stuff.
-(defmacro with-pinned-objects ((&rest objects) &body body)
+(def!macro with-pinned-objects ((&rest objects) &body body)
"Arrange with the garbage collector that the pages occupied by
OBJECTS will not be moved in memory for the duration of BODY.
Useful for e.g. foreign calls where another thread may trigger
Get latest updates about Open Source Projects, Conferences and News.