Re: Value reference counting

Tom Tromey
2009-07-20T16:52:48Z

>>>>> "Thiago" == Thiago Jung Bauermann <thiago.bauermann@gmail.com> writes:

Daniel> free_all_values can have a very long interval. But it looks like
Daniel> breakpoint commands always run it, so not unbounded user behavior.
Daniel> What about breakpoint conditions? Is anything released and free'd
Daniel> during a condition check going to linger until we stop?

Thiago> I don't like the idea of having the GC being ran at unpredictably long
Thiago> intervals. Aren't we aiming at debugging big fat apps with big insane
Thiago> debugging sessions afterall?

Running free_all_values at a long interval is potentially a problem.
However, any particular problem here can (most likely) be resolved
locally, using value_mark and value_free_to_mark in the code that causes
too much allocation.

Tom