mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-25 16:37:56 +03:00
Although delegate pages store references to objects on the heap, adding/removing objects from a delegate does not affect their reference counts. When an object that is a member of a delegate is deleted, it is automatically removed from the delegate. In practice, this means that every object needs to keep a list of delegates that it belongs to. This increases the size of the page header on 64 bit systems, but not by much since the additional metadata can be stored in a union with the array-specific metadata.