Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!oliveb!amdahl!pacbell!osc!tma From: tma@osc.COM (Tim Atkins) Newsgroups: comp.lang.c++ Subject: garbage collection Keywords: compaction Message-ID: <404@osc.COM> Date: 12 Jul 89 23:24:53 GMT Organization: Object Sciences Corp., Menlo Park, CA Lines: 16 I am working on an application that needs to move objects between different heaps. The problem I'm attempting to get a handle on is how to avoid a stack update of what looks like a pointer to one of the objects moved but is actually some long or other piece of data that happens to contain the same values. It occurs to me that compacting garbage collectors must deal with the same problem. Does anyone know of a reasonable solution or a reference to some piece of literature likely to contain one? I understand that Smalltalk and Lisp don't have to deal with the problem through the use of tagged architectures. Thanks in advance for any help. - Tim Atkins