github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
nwc10 good *, #moarvm 08:57
nine Good day nwc10! 09:33
MasterDuke this patch to add ops for allocation profiling may be getting away from me... 09:51
MasterDuke anybody mind reviewing this for me github.com/MasterDuke17/MoarVM/com...3266124e81 it currently *sometimes* causes `MoarVM panic: Register types do not match between value and node` or a segfault when trying to profile something 10:43
unrelated, but it looks like we have 88 ops that have templates in src/jit/core_templates.expr, but no case in src/jit/graph.c 11:53
nine MasterDuke: since the panic is caused by the JIT, does MVM_SPESH_BLOCKING make it more predictable? 12:01
MasterDuke nine: it's more like profiling some things always causes it, but other things profile just fine 12:02
nine Then I'd just bisect that list to find out which addition causes the panic 12:03
Geth_ MoarVM: MasterDuke17++ created pull request #1270:
Add more ops for allocation profiling
14:16
MasterDuke github.com/MoarVM/MoarVM/pull/1270 was a bit tedious. would there be a way to do this based on a new annotation for the oplist? might make it easier to remember when adding new ops 16:46
timotimo there may perhaps want to be something a little bit more intelligent about the whole instrumentation stuff 16:52
like, sometimes an op allocates more than just one object, we don't catch that at the moment
and the allocation logger also has a little heuristic to prevent double-counting and such, but it could also prevent counting of multiple objects made in the same op 16:54
lizmat and another Rakudo Weekly News hits the Net: rakudoweekly.blog/2020/04/13/2020-...-surprise/ 19:25
ggoebel lizmat: thank you for your long time stewardship and publication of the weekly! 21:49
lizmat ggoebel: you're welcome!
Geth_ MoarVM/gc_measurement_debughelper: 46a3a5ebcb | (Timo Paulssen)++ | src/profiler/log.c
add MVM_profiler_measure_gc_entry_size to count GCs and PCNs
23:30