Re: Garbage collector - ccl:terminate (memory stuff)
Tim McNerney <[email protected]> Mon, 20 May 2024 14:28:53 -0400
| Newsgroups | gmane.lisp.openmcl.devel |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-06FE9D7D-986B-4018-8643-067843FB6FCB Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D= utf-8"></head><body dir=3D"auto">My question had more to do with is the CL G= C even <i>allowed</i> to call back into Lisp code during collection? (My ass= umption has always been <b>no</b>). That the spec says <i>nothing</i> about g= arbage collection would explain why this topic has never been on my radar.&n= bsp;<div><br></div><div>Impressive that CCL has these advanced GC hooks. I s= tick by my admonition never to call <b>make-instance</b> inside <b>finalize<= /b>. <br><div><br></div><div>Side note: I am mostly a Lisp machine Lisp= hacker. I think CLTL2 has just been published when I worked at Harlequin, b= ut X3J13 was in the process of being finalized and tweaked when I switched f= ull time to VLSI hacking and then grad school. I rejoined the Lisp world in 2= 006. <div><br id=3D"lineBreakAtBeginningOfSignature"><div dir=3D"ltr">-= -Tim</div><div dir=3D"ltr"><br><blockquote type=3D"cite">On May 20, 2024, at= 12:21, Ron Garret <[email protected]> wrote:<br><br></blockquote></div>= <blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=BF<meta http-equiv=3D"Cont= ent-Type" content=3D"text/html; charset=3Dutf-8"><br class=3D""><div><blockq= uote type=3D"cite" class=3D""><div class=3D"">On May 20, 2024, at 6:10 AM, T= im McNerney <<a href=3D"mailto:[email protected]" class=3D"">[email protected].= edu</a>> wrote:</div><div class=3D""><div dir=3D"auto" class=3D""><div cl= ass=3D""><div class=3D""><br class=3D""></div><div class=3D"">Curious=E2=80=A6= what does Common Lisp <i class=3D"">in general</i> have to say about the GC= calling terminate methods?</div></div></div></div></blockquote><div><br cla= ss=3D""></div><div>Nothing. TERMINATE is a CCL extension, not part of t= he CL spec. In fact, garbage collection in general is not part of the C= L spec.</div><div><br class=3D""></div><div>Surely you knew that?</div><div>= <br class=3D""></div><div>rg</div><div><br class=3D""></div></div></div></bl= ockquote></div></div></div></body></html>= --Apple-Mail-06FE9D7D-986B-4018-8643-067843FB6FCB--