2 ms·
This approach will trip on a conservative garbage collector scan of memory that looks for root pointers. If you have precisely traced heap objects and conservat
by kazinator 9y ago
This approach will trip on a conservative garbage collector scan of memory that looks for root pointers. If you have precisely traced heap objects and conservative stack scan, and this is only used on the heap, things are cool.
It will blow when a core dump is being saved of the process, because that just walks memory maps, dumping them without regard for trampling on the tripwires.
If you have struct that contains multiple arrays that are fenced off from each other with tripwires, you can't memcpy it or assign.