cfbolz changed the topic of #pypy to: #pypy PyPy, the flexible snake https://pypy.org | IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end and https://libera.irclog.whitequark.org/pypy | Matti: I made a bit of progress, the tests now only segfault towards the end
jcea has quit [Ping timeout: 260 seconds]
fotis has quit [Ping timeout: 252 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 268 seconds]
derpydoo has quit [Quit: derpydoo]
fotis has joined #pypy
fotis has quit [Ping timeout: 244 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
otisolsen70 has joined #pypy
otisolsen70 has quit [Remote host closed the connection]
fotis has joined #pypy
fotis has quit [Ping timeout: 268 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
fotis has joined #pypy
Dejan_ has joined #pypy
ctismer has quit [Quit: Connection closed for inactivity]
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 268 seconds]
<mattip> something is weird with the snippet to reproduce issue 3806
<mattip> I commented on the issue: when I add a `gc.hooks.on_collect_hook` to report major collections, I see that they occur
<mattip> but only when I call `gc.collect()` manually does the object count stabilize
fotis has joined #pypy
otisolsen70 has joined #pypy
otisolsen70 has quit [Remote host closed the connection]
otisolsen70 has joined #pypy
otisolsen70_ has joined #pypy
otisolsen70 has quit [Ping timeout: 244 seconds]
otisolsen70__ has joined #pypy
otisolsen70_ has quit [Ping timeout: 252 seconds]
otisolsen70__ has quit [Remote host closed the connection]
<antocuni> mattip: IIRC gc.hooks.on_collect_hook is called whenever an incremental step is done
<antocuni> but gc.collect() does a full collection which consists of several incremental steps
<antocuni> so this might explain the difference
<mattip> sorry, I was setting the hook in 'on_gc_collect' which is called "when a major collection is fully done"
fotis has quit [Ping timeout: 244 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
<arigato> one difference is incremental vs non-incremental if you call gc.collect(). I think there is an env var to disable incremental collections, can you try it out?
<arigato> e.g. PYPY_GC_INCREMENT_STEP=2G
fotis has joined #pypy
derpydoo has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
Atque has quit [Remote host closed the connection]
fotis has joined #pypy
<mattip> arigato PYPY_GC_INCREMENT_STEP=2G does not seem to change anything
<mattip> with gc.collect(), the number of ojbects stays constant, without it the number of objects continuously rises, even though the 'on_gc_collect' hook is being called
Dejan_ has quit [Quit: Leaving]
fotis has quit [Ping timeout: 268 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 260 seconds]
fotis has joined #pypy
fotis has quit [Ping timeout: 252 seconds]
derpydoo has quit [Quit: derpydoo]
fotis has joined #pypy
jcea has joined #pypy
jcea has quit [Quit: jcea]
jcea has joined #pypy
jcea has quit [Quit: jcea]
jcea has joined #pypy