Joel> Would it be possible to use debug information to determine the stack
Joel> layout, similar to how DWARF is used for unwinding?
Yes. Actually there is a paper from 10 years ago or so where the
authors did just this, in GCC, for Modula-3 as I recall. As I
remember the paper, it was a lot of work. And, the patches were never
integrated.
Joel> Also, how might java.util.IdentityHashMap or the hash-synchronization
Joel> option be implemented when using a copying GC, given that object
Joel> addresses may change at any time?
I'm not sure how other VMs do this. I know earlier ones kept the
"system" hash code in the object header, but I'm not sure whether this
is current practice.