> I traced the context creation and freeing (parrot -D80) but everything there
> matched up, so I finally narrowed things down to the affected lines in
> PMCProxy. Your initial instinct was good, so nice catch and good test case.
Thanks. That suppressed the leak in my first test cases. But I think
there is still a leak. See next.
> I think that the leak is at C<Parrot_PCCINVOKE>.
<snip>
> void set_integer_native(INTVAL ignore) {
> int i;
> for(i=0;i<10000000;i++) {
> Parrot_PCCINVOKE(INTERP, SELF,
> string_from_literal(INTERP, "nothing"), "->");
> }
My bad, the leak was in fact at C<string_from_literal>. I'll open a
new ticket for this.
--
Mehmet