Author: Remi Meier <[email protected]>
Branch:
Changeset: r252:6effbf62467f
Date: 2013-06-24 10:48 +0200
http://bitbucket.org/pypy/stmgc/changeset/6effbf62467f/
Log: remove assert
diff --git a/c4/et.c b/c4/et.c
--- a/c4/et.c
+++ b/c4/et.c
@@ -1501,8 +1501,11 @@
assert(descriptor_array_free_list >= 0);
assert(pd->stolen_objects.size == 0);
assert(pd->stolen_young_stubs.size == 0);
- assert(pd->collection_lock == 0);
pd->shutdown = 0;
+ /* there may be a thread holding the collection lock
+ because it steals a stub belonging to the thread
+ that previously owned this descriptor.
+ */
}
else {
/* no item in the free list */
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit