Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Optimize GC write barriers in the pmc's #1069
GSOC task 1 for ZYROz (i.e. Chirag):
Starting from branch
When to WB SELF in pmc methods
How to annotate WBs for VTABLE methods
so that pmc2c can add the WB line before the return. SELF is the pmc here that was not created by the method.
and pmc2c will not add the WB before the call. Better annotate it with
Otherwise use an intermediate return value. But in this case it would be easier to manually add the WB. See e.g.
The expected performance gain is 2-3%, see https://github.com/parrot/parrot-bench