Welcome to the main channel on the development of MoarVM, a virtual machine for NQP and Rakudo (moarvm.org). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
Geth MoarVM/fix_gc_issue_in_materialization: b5d04d754f | (Stefan Seifert)++ | src/spesh/deopt.c
Fix possible access to fromspace after deopt materialization

We stored the newly allocated objects we create during materialization in an array, for future reference so we could store the same objects into multiple target registers if required. Allocating these objects however could trigger a GC run which then missed the pointers in the materialized array. This would then lead to such outdated pointers getting written to frame registers. ... (5 more lines)
14:22
MoarVM/fix_gc_issue_in_materialization: 2883ba7547 | (Stefan Seifert)++ | src/spesh/deopt.c
Fix possible access to fromspace after deopt materialization

We stored the newly allocated objects we create during materialization in an array, for future reference so we could store the same objects into multiple target registers if required. Allocating these objects however could trigger a GC run which then missed the pointers in the materialized array. This would then lead to such outdated pointers getting written to frame registers. ... (7 more lines)
14:23
MoarVM: niner++ created pull request #1630:
Fix possible access to fromspace after deopt materialization
nine I didn't like my first attempt (using temp roots) of a fix and it turned out, it was utterly broken. Second attempt (storing materialized objects in a VMArray) worked but was a bit heavier on performance. This one I like best. Only downside is that it will break on frames with 65535 registers. 14:24
timo as long as we don't store dates in the number-of-registers slot, we should be safe 15:47
lizmat that sounds like an Excel lent idea :-) 16:05
timo let's Exchange more brilliant ideas like this 16:10
Geth MoarVM/new_unsigned_ops: 17 commits pushed by (Stefan Seifert)++
review: github.com/MoarVM/MoarVM/compare/a...d2c4d5ea35
16:40
MoarVM: niner++ created pull request #1631:
New unsigned ops
16:44
Nicholas splitters! 20:15
lizmat the logger reconnected by itself! whee! 20:18
but missed Nicholas' remark at 21:15 20:19
Nicholas I assume that this was because it looks like it pinged out within 60 seconds of my remark, and the ping timeout was reported as 240 seconds, so I'm inferring it was lagged by >240 seconds, so hadn't recieved it 20:20
lizmat yeah, I guess
lizmat it wasn't able to reconnect for ~ 10 minutes from 20:10-20:20 UTC 20:21