Hi all,

I've known that first field in a heap object is map. In the end of
JSObject::AddFastProperty, a new map will be set, see:

  map()->set_instance_descriptors(old_descriptors);
  new_map->set_instance_descriptors(DescriptorArray::cast
(new_descriptors));
  set_map(new_map);

but, I want to know, how about the old map? GC will collect the old
map or it is stored in some place?
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to