[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Is there a order to running finalizers of garbage collected objects?
- From: Red Artist <redartofcode@...>
- Date: Wed, 28 Dec 2022 09:47:31 +0530
I am trying to write a pure rust implementation of Lua5.4. I need to know about this order of finalizers thing, so that I can work on my garbage collector design.
for example, in v8, they implement something called lazy incremental sweeping. this allows v8 to run finalizers of dead objects on one page at a time, and there's no relevance of the object's age at all. https://github.com/thlorenz/v8-perf/blob/master/gc.md#lazy-sweeping
Is this just some "general curiosity question"?
Or did you run into any problem with GC?
(if yes, could you perhaps give a slight hint of your application,
this somehow makes the understanding "what is really asked" much
Am Mi., 28. Dez. 2022 um 04:22 Uhr schrieb Red Artist <email@example.com>:
> apologies for the bad formatting. first time using mailing lists