Boost logo

Boost :

Subject: Re: [boost] [block_ptr] & Java
From: Andrew Koenig (ark-mlist_at_[hidden])
Date: 2013-08-31 00:44:48


> There's no one correct destruction order for objects participating in a
cycle.
> That's one reason most C++ garbage collectors collect memory but don't run
> destructors. How does your system deal with this?

I can think of another reason: The whole point of garbage collection is to
simulate unbounded memory by recycling memory that is no longer reachable.
If you run destructors on objects that are collect as garbage, the
simulation is no longer a simulation.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk