Geth NativeHelpers-Blob/ugexe/gc-safe-body-access: 8ad903da9a | (Nick Logan)++ | lib/MoarVM/Guts/REPRs.rakumod
Make Offset and BODY_OF survive the GC moving an object

MoarVM::Guts::REPRs locates an object's body by reading raw memory at its .WHERE. The GC can move the object at any allocation, leaving that address stale before the read finishes. Under the RakuAST frontend this happens reliably: the module fails to compile with "Can't determine actual Offset", and past that carray-from-blob(:managed) copies garbage ... (15 more lines)
00:00
NativeHelpers-Blob: ugexe++ created pull request #1:
Make Offset and BODY_OF survive the GC moving an object
00:31
02:48 apogee_ntv left 02:50 apogee_ntv joined