On Apr 11, 2011, at 1:03 PM, Jeff Law wrote: > The obvious solution is you copy the object, but then you have to be > able to distinguish within the object, what fields point to other > temporary objects vs permanent objects so that you can copy the > referenced temporary objects, but not the permanent objects (other parts > of the compiler may expect those permanent objects to be unique/shared). > Not fun, not at all fun. Been there, done that.
And then someone tells you that you can't copy... Usually a nasty bug report much later. So the choice is then, not solve a problem, or make everything permanent or add GC (back). :-) Been there, done that too.