[Openmcl-devel] Garbage collector - ccl:terminate (memory stuff)

Grégory Vanuxem g.vanuxem at gmail.com
Sat May 4 08:53:07 PDT 2024


Thanks for the tip! I will quickly try this, I remember someone tell me
that here, you I presume. I just leave it in my head for later use. I will
now try this.

I will be back! 😉

Le sam. 4 mai 2024 à 17:37, Ron Garret <ron at flownet.com> a écrit :

>
>
> On May 4, 2024, at 8:27 AM, Grégory Vanuxem <g.vanuxem at gmail.com> wrote:
>
> In CL I only keep a reference to this Julia object in a very small CL
> class instance that contains the Julia type and the Julia hashtable
> reference key.
>
> After, the CCL GC does its job, but **my problem here**, see this
> discussion before, CCL:terminate is never called.
>
>
> My guess is you need to use a weak hash table:
>
> https://ccl.clozure.com/docs/ccl.html#weak-references
>
> rg
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20240504/6fd1b1eb/attachment-0001.htm>


More information about the Openmcl-devel mailing list