- 11 Apr, 2016 16 commits
-
-
Kevin Modzelewski authored
- simple bug where when clearing the IC I forgot to clear the old list of gc references. - keep gc references alive during the duration of the rewrite. There are some cases where the thing we are guarding on would normally get destroyed by the end of the operation. So make the ref an owned ref. But at the end if we see that we hold the only reference to the object, abort the rewrite (since the guard could never pass in the future)
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ie a commit that worked around our (previous) lack of refcounting.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
I think technically only the globals are needed but I think this is probably safer. There's a FunctionMetadata* inbetween that doesn't get memory managed, so the function just looks through that for now.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Or maybe it's just hacking it up some more.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Not very realistic but easy for testing
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 09 Apr, 2016 7 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Use the CPython technique of swapping out the list contents for the duration of the sort, since the compare functions can look at the list. This wasn't even being triggered by something that explicitly looked at the list: the issue was that the comparison function invoked a gc collection and the gc saw the half-mutated list.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ie if we do set.remove(k), we don't decrement k -- we decrement whatever was in the set, which can be different.
-
- 08 Apr, 2016 11 commits
-
-
Kevin Modzelewski authored
We can just use the CPython implementation now
-
Kevin Modzelewski authored
This is kind of dumb but it's the same thing that we were doing with a tracing GC.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
The unbound-instancemethod part of it is still failing, but I don't want to gate the rest of the test on a failure that is unrelated.
-
Kevin Modzelewski authored
ie calling an unbound instancemethod of the wrong type will result in an exception. Tricky because this shouldn't end up applying to __new__
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Where we hadn't gone through and updated the exception-catch sites to clear/hand off their owned ref appropriately.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 07 Apr, 2016 6 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Mostly, what happens if class-creation fails.
-