Skip to content
  • John Hawthorn's avatar
    3b6954f8
    Fix passing actual object_id to finalizer · 3b6954f8
    John Hawthorn authored
    Previously we were passing the memory_id. This was broken previously if
    compaction was run (which changes the memory_id) and now that object_id
    is a monotonically increasing number it was always broken.
    
    This commit fixes this by defering removal from the object_id table
    until finalizers have run (for objects with finalizers) and also copying
    the SEEN_OBJ_ID flag onto the zombie objects.
    3b6954f8
    Fix passing actual object_id to finalizer
    John Hawthorn authored
    Previously we were passing the memory_id. This was broken previously if
    compaction was run (which changes the memory_id) and now that object_id
    is a monotonically increasing number it was always broken.
    
    This commit fixes this by defering removal from the object_id table
    until finalizers have run (for objects with finalizers) and also copying
    the SEEN_OBJ_ID flag onto the zombie objects.
Loading