[pypy-commit] stmgc default: hg merge implement-id

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r232:db385d3d043d Date: 2013-06-22 11:12 +0200 http://bitbucket.org/pypy/stmgc/changeset/db385d3d043d/ Log:hg merge implement-id Right now test_multi_thread doesn't pass, but I'll investigate diff --git a/c4/demo_random.c b/c4/demo_random.c ---

[pypy-commit] stmgc default: More asserts. The next issue is that we need to reset GCFLAG_VISITED

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r231:0484208e300e Date: 2013-06-21 17:32 +0200 http://bitbucket.org/pypy/stmgc/changeset/0484208e300e/ Log:More asserts. The next issue is that we need to reset GCFLAG_VISITED on stubs (and free unused stubs, too). diff --git a/c4/gcpage.c b/c4/

[pypy-commit] stmgc default: Fixes probably (but the tests fail a bit unpredictably...)

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r230:3a3f0932121a Date: 2013-06-21 17:14 +0200 http://bitbucket.org/pypy/stmgc/changeset/3a3f0932121a/ Log:Fixes probably (but the tests fail a bit unpredictably...) diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +++ b/c4/et.c @@ -661,11 +661,15 @@

[pypy-commit] stmgc default: Reset this to False in the check-in version until it passes more reliably.

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r233:c7aa0eeec5b1 Date: 2013-06-22 14:42 +0200 http://bitbucket.org/pypy/stmgc/changeset/c7aa0eeec5b1/ Log:Reset this to False in the check-in version until it passes more reliably. diff --git a/c4/test/test_random.py b/c4/test/test_random.py --

[pypy-commit] stmgc default: Simplify the allocation of stubs, at the cost of ~9/10th of a pointer :-)

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r234:87869a164209 Date: 2013-06-22 14:55 +0200 http://bitbucket.org/pypy/stmgc/changeset/87869a164209/ Log:Simplify the allocation of stubs, at the cost of ~9/10th of a pointer :-) For now it's good enough. We'll try later to compress one

[pypy-commit] stmgc default: Fix the test to avoid a thread-order-dependent failure.

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r235:68143e7ceb28 Date: 2013-06-22 15:28 +0200 http://bitbucket.org/pypy/stmgc/changeset/68143e7ceb28/ Log:Fix the test to avoid a thread-order-dependent failure. diff --git a/c4/test/support.py b/c4/test/support.py --- a/c4/test/support.py +++ b/c4/tes

[pypy-commit] stmgc default: After a major GC, make sure the other threads abort if the major GC found

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r236:531e5789c7dd Date: 2013-06-22 15:57 +0200 http://bitbucket.org/pypy/stmgc/changeset/531e5789c7dd/ Log:After a major GC, make sure the other threads abort if the major GC found that they should. diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +

[pypy-commit] stmgc default: Fix in the test: allow for other threads that want to abort us after

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r237:511679409ba9 Date: 2013-06-22 16:12 +0200 http://bitbucket.org/pypy/stmgc/changeset/511679409ba9/ Log:Fix in the test: allow for other threads that want to abort us after a major gc. diff --git a/c4/test/model.py b/c4/test/model.py --- a/c4

[pypy-commit] pypy default: Fix for issue1520.

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r64955:30e24bcbd0e5 Date: 2013-06-22 17:54 +0200 http://bitbucket.org/pypy/pypy/changeset/30e24bcbd0e5/ Log:Fix for issue1520. diff --git a/pypy/module/sys/initpath.py b/pypy/module/sys/initpath.py --- a/pypy/module/sys/initpath.py +++ b/pypy/module/sys

[pypy-commit] stmgc default: typo

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r238:b7104acf55fd Date: 2013-06-22 18:24 +0200 http://bitbucket.org/pypy/stmgc/changeset/b7104acf55fd/ Log:typo diff --git a/c4/stmgc.h b/c4/stmgc.h --- a/c4/stmgc.h +++ b/c4/stmgc.h @@ -31,7 +31,7 @@ /* returns a never changing hash for the object *

[pypy-commit] stmgc default: demo_random shows another livelock with this spinloop. Added it to the comment, revert again to always abort.

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r239:fe90ba781e8a Date: 2013-06-22 18:30 +0200 http://bitbucket.org/pypy/stmgc/changeset/fe90ba781e8a/ Log:demo_random shows another livelock with this spinloop. Added it to the comment, revert again to always abort. diff --git a/c4/et.c b/c4/et

[pypy-commit] stmgc default: Next issue

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r240:0a23ff34c542 Date: 2013-06-22 19:33 +0200 http://bitbucket.org/pypy/stmgc/changeset/0a23ff34c542/ Log:Next issue diff --git a/c4/test/test_random.py b/c4/test/test_random.py --- a/c4/test/test_random.py +++ b/c4/test/test_random.py @@ -522,4 +522,4

[pypy-commit] stmgc default: Fix

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r241:ec718b479e29 Date: 2013-06-22 19:46 +0200 http://bitbucket.org/pypy/stmgc/changeset/ec718b479e29/ Log:Fix diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +++ b/c4/et.c @@ -1184,6 +1184,10 @@ { /* copy the backup copy B back over th

[pypy-commit] stmgc default: Fix

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r242:f689f7d2a0b4 Date: 2013-06-22 19:52 +0200 http://bitbucket.org/pypy/stmgc/changeset/f689f7d2a0b4/ Log:Fix diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +++ b/c4/et.c @@ -1501,8 +1501,8 @@ assert(descriptor_array_free_list >= 0);

[pypy-commit] stmgc default: This XXX is fine now, as stubs are no longer in specially allocated

2013-06-22 Thread arigo
Author: Armin Rigo Branch: Changeset: r243:f820ff645e44 Date: 2013-06-22 19:53 +0200 http://bitbucket.org/pypy/stmgc/changeset/f820ff645e44/ Log:This XXX is fine now, as stubs are no longer in specially allocated pieces of memory. diff --git a/c4/gcpage.c b/c4/gcpage.c --- a/c4/gcpa