Yes. That's exactly the reason why handles are needed. V8 does two moving GCs: scavenge and mark-compact.
yours, anton. On Thu, Jun 17, 2010 at 8:28 PM, Matt Seegmiller <[email protected]> wrote: > Am I correct in assuming that the V8 memory allocation and garbage > collection is using movable memory? So, for example, if I have a > handle to a Context and in the course of debugging I dereference down > and get the address of the v8::internal::Context it points at, at a > later point in time, is it possible that if I do the same dereference > I could get a different address for the same v8::internal::Context? > > Thanks, > > matt > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
