Skip to content
  • Peter Zhu's avatar
    7891f940
    Don't allow re-embedding frozen arrays · 7891f940
    Peter Zhu authored
    Frozen arrays should not move from heap allocated to embedded because
    frozen arrays could be shared roots for other (shared) arrays. If the
    frozen array moves from heap allocated to embedded it would cause issues
    since the shared array would no longer know where to set the pointer
    in the shared root.
    7891f940
    Don't allow re-embedding frozen arrays
    Peter Zhu authored
    Frozen arrays should not move from heap allocated to embedded because
    frozen arrays could be shared roots for other (shared) arrays. If the
    frozen array moves from heap allocated to embedded it would cause issues
    since the shared array would no longer know where to set the pointer
    in the shared root.
Loading