Questions about object ID lifetimes

jleivent jleivent at comcast.net
Tue Sep 19 14:37:46 UTC 2023


On Tue, 19 Sep 2023 10:02:55 -0400
jleivent <jleivent at comcast.net> wrote:
> ...
> This might help reduce those anomalous messages and be compatible with
> Wayland 1.  Reduce the greediness of object ID reuse by:
> 
> - not reusing any IDs unless at least some minimum number (256?)
>   are free
> 
> - reuse the freed ones in LRU fashion

This also needs something like zombies on the server side.  At least
retain the type info for a free ID until it is reused.


More information about the wayland-devel mailing list