|
Re: Seeing memory corruption, GC moves my objects around: msg#00344lisp.cmucl.devel
Christophe Rhodes <csr21@xxxxxxxxx> writes: > It can't confuse GC, but it can confuse the system to the point of > confusing GC later. > > (defstruct foo (s " " :type (string 10))) > > (defstruct (bar (:include foo (s " " :type (simple-string 10))))) > > (defun baz (x) > (setf (schar (bar-s x) 9) #\Space)) He, nice example. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Seeing memory corruption, GC moves my objects around: 00344, Christophe Rhodes |
|---|---|
| Next by Date: | heapanal.lisp {was Re: Removing files from tools/}: 00344, Rob MacLachlan |
| Previous by Thread: | Re: Seeing memory corruption, GC moves my objects aroundi: 00344, Christophe Rhodes |
| Next by Thread: | Re: Seeing memory corruption, GC moves my objects around: 00344, Raymond Toy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |