[pypy-dev] Custom scanning methods?
anto.cuni at gmail.com
Sat Sep 16 11:36:54 EDT 2017
I'm surely not an expert of this area and others can probably explain
better how it works, but I think that you are looking for
`rgc.register_custom_trace_hook`; for an example of usage, see e.g.
On Fri, Sep 15, 2017 at 10:52 PM, Timothy Baldridge <tbaldridge at gmail.com>
> I have a rather complicated structure I'd like to create in RPython. The
> structure consists of a heterogeneous array of RPython classes laid out in
> a single "byte array". The problem is these structures will contain GC'd
> Is there a way (and can someone point me to the place) to tell the GC to
> use a special scanning method when looking for pointers in a specific
> object type? I've read the docs on rstrategies, but that seems to be
> dealing mostly with swapping out primitive arrays for object arrays, which
> isn't exactly what I'm looking for.
> Can anyone help?
> pypy-dev mailing list
> pypy-dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pypy-dev