Antonio Cuni pushed to branch branch/default at PyPy / pypy
Commits: f99c9092 by Antonio Cuni at 2022-06-19T17:28:46+01:00 The final goal l of this branch is to ensure that we can use @specialize.memo(on callbacks which are passed to rgc.register_custom_trace_hook. The firfirst step is to ensure e that if we pass a method instead function to gc.trace, we crash cleanly. The rest of this branch will try to fix all the places which are broken by this commit --HG-- branch : gc-custom-trace-memo-on-default - - - - - a76c15a0 by Antonio Cuni at 2022-06-19T23:19:48+01:00 fix all the calls to gc.trace which were found by running test_direct.py --HG-- branch : gc-custom-trace-memo-on-default - - - - - c79477b0 by Antonio Cuni at 2022-06-19T23:26:50+01:00 fix test_inspector.py --HG-- branch : gc-custom-trace-memo-on-default - - - - - 908d468d by Antonio Cuni at 2022-06-20T09:39:05+01:00 WIP: add a second argument to the gc.trace callback, fix it everywhere, and turn more method-callbacks into function-callbacks; all the tests in memory/gc/test/ pass --HG-- branch : gc-custom-trace-memo-on-default - - - - - 65ea9675 by Antonio Cuni at 2022-06-20T11:52:15+01:00 WIP: fix more places, until all test_gctransformed -k customtrace pass --HG-- branch : gc-custom-trace-memo-on-default - - - - - b2ff5cff by Antonio Cuni at 2022-06-20T12:07:19+01:00 fix one more test --HG-- branch : gc-custom-trace-memo-on-default - - - - - a11aae69 by Antonio Cuni at 2022-06-20T12:24:37+01:00 one more place to fix, and kill trailing whitespace while I'm at it --HG-- branch : gc-custom-trace-memo-on-default - - - - - 7220932b by Antonio Cuni at 2022-06-20T12:47:27+01:00 fix the _stacklet_shadowstack custom tracer --HG-- branch : gc-custom-trace-memo-on-default - - - - - 7397947a by Antonio Cuni at 2022-06-20T12:52:39+01:00 fix the customtrace for rthread --HG-- branch : gc-custom-trace-memo-on-default - - - - - 4ffa5371 by Antonio Cuni at 2022-06-20T12:57:48+01:00 hopefully fix the jitframe custom tracer --HG-- branch : gc-custom-trace-memo-on-default - - - - - 4ac80e6c by Antonio Cuni at 2022-06-20T13:06:40+01:00 hopefully fix the gcrefs custom tracer --HG-- branch : gc-custom-trace-memo-on-default - - - - - d212c836 by Antonio Cuni at 2022-06-20T13:09:15+01:00 blindly fix micronumpy, since the tests are disabled --HG-- branch : gc-custom-trace-memo-on-default - - - - - fedad894 by Antonio Cuni at 2022-06-20T14:14:41+01:00 fix test_gcreftracer --HG-- branch : gc-custom-trace-memo-on-default - - - - - 578b9a7b by Antonio Cuni at 2022-06-24T16:46:35+01:00 make sure to always inline the callback inside the specialized gc.trace functions. This is essential for minor collections, else we do an unnecessary call to _trace_drag_out which costs 5-10% on gcbench --HG-- branch : gc-custom-trace-memo-on-default - - - - - edcd6ad8 by Antonio Cuni at 2022-06-29T13:09:11+00:00 Merge branch 'branch/gc-custom-trace-memo-on-default' into 'branch/default' Make it possible to @specialize.memo on gc.trace callbacks See merge request pypy/pypy!851 - - - - - 21 changed files: - pypy/module/micronumpy/concrete.py - rpython/jit/backend/llsupport/gcreftracer.py - rpython/jit/backend/llsupport/jitframe.py - rpython/jit/backend/llsupport/test/test_gc.py - rpython/jit/backend/llsupport/test/test_gcreftracer.py - rpython/memory/gc/base.py - rpython/memory/gc/generation.py - rpython/memory/gc/incminimark.py - rpython/memory/gc/inspector.py - rpython/memory/gc/minimark.py - rpython/memory/gc/semispace.py - rpython/memory/gctransform/framework.py - rpython/memory/gctransform/shadowstack.py - rpython/memory/gctransform/test/test_framework.py - rpython/memory/gcwrapper.py - rpython/memory/test/gc_test_base.py - rpython/memory/test/test_transformed_gc.py - rpython/rlib/_stacklet_shadowstack.py - rpython/rlib/rgc.py - rpython/rlib/rthread.py - rpython/translator/c/test/test_newgc.py View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/738cef5c6c0dc6c9cbcb36975d22688d2c5fd42b...edcd6ad867da563c8c8b3f3007120d414598836e -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/738cef5c6c0dc6c9cbcb36975d22688d2c5fd42b...edcd6ad867da563c8c8b3f3007120d414598836e You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________ pypy-commit mailing list -- pypy-commit@python.org To unsubscribe send an email to pypy-commit-le...@python.org https://mail.python.org/mailman3/lists/pypy-commit.python.org/ Member address: arch...@mail-archive.com