X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-c-call.lisp;h=df7fa8c0faa44cf8c83f477c3236d864ff1708a8;hb=8886298f2c0e50e595cf481c426b6331ab898a23;hp=cc3eef735b6120c16c07cce44840f977177c5a41;hpb=6ee1bc3f01760f7d95da156ff3863fe8fed491eb;p=sbcl.git diff --git a/src/code/target-c-call.lisp b/src/code/target-c-call.lisp index cc3eef7..df7fa8c 100644 --- a/src/code/target-c-call.lisp +++ b/src/code/target-c-call.lisp @@ -41,6 +41,11 @@ ;;; appear to be vulnerable to the lisp string moving from underneath ;;; them if the world undergoes a GC, possibly triggered by another ;;; thread. Ugh. +;;; +;;; Actually the above shouldn't happen; x86 and x86-64 use GENCGC, +;;; so the string can't move by virtue of pointers to it from +;;; outside the heap. Other platforms will access the lisp string +;;; through the GC-safe interior pointer. -- JES, 2006-01-13 (defun %naturalize-c-string (sap) (declare (type system-area-pointer sap)) (locally