[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: GC tuning idea
- From: "Bilyk, Alex" <ABilyk@...>
- Date: Fri, 8 Aug 2008 11:54:23 -0700
I was thinking this is a great idea. However, one can already control GC
manually, as far as I understand, by doing
Plugging a custom application allocator allows gathering Lua allocation
statistics on the application side as well. So, looking back at this, it
feels like application can already do whatever it needs with respect to
GC as it is.
[mailto:email@example.com] On Behalf Of Mark Hamburg
Sent: Thursday, August 07, 2008 11:32 PM
To: Lua list
Subject: GC tuning idea
Just a quick thought...
It might be interesting to provide a hook in the GC process so that
clients could postpone the atomic phase for the GC. One would probably
need to pass in some statistics regarding memory usage so that the
client could decide whether the memory usage outweighed the risk of
taking a GC pause.