01:14 vendethiel joined 03:46 FROGGS_ joined 07:42 lizmat joined 09:14 dalek joined 09:35 vendethiel joined 10:06 Ven joined
dalek arVM: d3713c9 | jnthn++ | src/ (2 files):
Replace a #define with a static inline.

There was a note in the #moarvm backlog that we may be failing to pay attention to the "allocate in gen2" flag by using the macro too early. While I can't find any evidence of that, changing to a static inline should make such a bug less likely to be introduced.
10:09
10:28 TimToady joined 11:43 sivoais joined 12:02 Ven joined
nwc10 jnthn: I think that the problem is MVM_gc_allocate_object(), which is used in lots of 6model repr structs 12:36
looks like it allocates in the nursery
and it's called via the function pointer ->allocate() in various places
wait, huh 12:37
jnthn MVM_gc_allocate_object calls MVM_gc_allocate_zeroed which calls MVM_gc_allocate
nwc10 yes, hence "huh"
I'd just got there
jnthn Which is the thing that used to be a macro but is now the inline static.
I was kinda excited that we were gonna discover a stupid thinko and it'd explain so much, but it seems that no...
nwc10 anyway, I hit the problem a third time and didn't paste the stacktrace
but the failure (trying to lock a mutex again) happens down in SCRef.c each time 12:38
jnthn grumble
Of course I can never see these problems on Windows.
'cus mutexes *are* reentrant by default there. 12:39
13:17 FROGGS[mobile] joined 13:27 Ven joined
timotimo o/ 13:48
13:50 zakharyas joined 14:07 xiaomiao joined 15:12 FROGGS[mobile] joined 15:26 FROGGS[mobile] joined 15:33 mj41 joined 15:50 FROGGS[mobile] joined 16:00 colomon joined 16:05 colomon joined 16:17 colomon joined 16:33 FROGGS[mobile] joined 16:39 colomon joined 16:42 colomon joined 17:13 Ven_ joined 17:14 vendethiel joined 18:11 zakharyas joined 18:16 vendethiel- joined 18:17 Ven__ joined
FROGGS jnthn: (just a reminder) moarvm.org needs an update 19:16
jnthn FROGGS: I'm sleeping now 'cus 4:30am wake-up for flight (and after it I at least will have a week without any flights, *phew*...) Anyways, please poke me again in the next couple of days. :) 19:21
FROGGS jnthn: a week without flights is better than a week without sleep (which is what my brain constructed first) 19:22
k, will poke :o)
19:28 Ven joined
timotimo gnite jnthn :) 19:30
jnthn :) 19:31
zzz &
FROGGS gnight jnthn
19:49 zakharyas joined 23:57 Ven joined