[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: When are unused overlays garbage collected?
From: |
Stefan Monnier |
Subject: |
Re: When are unused overlays garbage collected? |
Date: |
Wed, 26 May 2021 11:36:16 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> But what would happen if I (delete-overlay my-overlay), then it gets
>> garbage collected, and then I (move-overlay my-overlay ...)?
> ^^^^^^^^^^
> You are still holding a reference to it. It would be an extremely
> impolite action on part of the garbage collector to even look at
> your overlay. I'm sure it would bring about a severe reprimand :)
Oh, the GC will definitely look at it, but it will be discrete, you
won't notice it.
Stefan
- When are unused overlays garbage collected?, Marcin Borkowski, 2021/05/24
- Re: When are unused overlays garbage collected?, Emanuel Berg, 2021/05/24
- Re: When are unused overlays garbage collected?, Eli Zaretskii, 2021/05/24
- Re: When are unused overlays garbage collected?, Eli Zaretskii, 2021/05/26
- Re: When are unused overlays garbage collected?, Marcin Borkowski, 2021/05/27
- Re: When are unused overlays garbage collected?, Eli Zaretskii, 2021/05/27
- Re: When are unused overlays garbage collected?, Marcin Borkowski, 2021/05/28
Re: When are unused overlays garbage collected?, Stefan Monnier, 2021/05/24