2 ms·
There's no space for the finalizer in the object, so it has to be recorded on the side, and it's kinda messy.
by tedunangst 3y ago
There's no space for the finalizer in the object, so it has to be recorded on the side, and it's kinda messy.
- hayley-patton 3y agoThere's a good chance you don't want the finaliser in the object; finding finalisers to run would require reading heap memory, when sweeping otherwise just touches side tables (IIUC for the bitmap allocator Go uses).