[pypy-commit] stmgc default: Untested, work in progress

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r8:26dca82e7423 Date: 2013-05-26 12:05 +0200 http://bitbucket.org/pypy/stmgc/changeset/26dca82e7423/ Log:Untested, work in progress diff --git a/c3/atomic_ops.h b/c3/atomic_ops.h --- a/c3/atomic_ops.h +++ b/c3/atomic_ops.h @@ -115,7 +115,7 @@ } whi

[pypy-commit] stmgc default: Passes the first test.

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r9:09fe2350 Date: 2013-05-26 12:09 +0200 http://bitbucket.org/pypy/stmgc/changeset/09fe2350/ Log:Passes the first test. diff --git a/c3/nursery.c b/c3/nursery.c --- a/c3/nursery.c +++ b/c3/nursery.c @@ -481,7 +481,7 @@

[pypy-commit] stmgc default: Add a test and tweak tweak tweak

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r10:ee48768dd5e6 Date: 2013-05-26 12:52 +0200 http://bitbucket.org/pypy/stmgc/changeset/ee48768dd5e6/ Log:Add a test and tweak tweak tweak diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -360,7 +360,6 @@ if (!(v & 1))

[pypy-commit] stmgc default: A simpler failing test

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r11:cf227a57babe Date: 2013-05-26 13:01 +0200 http://bitbucket.org/pypy/stmgc/changeset/cf227a57babe/ Log:A simpler failing test diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -620,7 +620,6 @@ gcptr R = item->addr; #ifdef DUMP_EXT

[pypy-commit] stmgc default: Fix the test simply by killing GCFLAG_PRIVATE_COPY, which was not used

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r12:78d0be847b9a Date: 2013-05-26 13:06 +0200 http://bitbucket.org/pypy/stmgc/changeset/78d0be847b9a/ Log:Fix the test simply by killing GCFLAG_PRIVATE_COPY, which was not used any more. diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c

[pypy-commit] stmgc default: fix

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r13:e27d375c4a29 Date: 2013-05-26 13:17 +0200 http://bitbucket.org/pypy/stmgc/changeset/e27d375c4a29/ Log:fix diff --git a/c3/gcpage.c b/c3/gcpage.c --- a/c3/gcpage.c +++ b/c3/gcpage.c @@ -701,13 +701,13 @@ case -1: fprintf(stderr, " (unmanaged

[pypy-commit] stmgc default: Use _GC_DEBUG=2 to enable DUMP_EXTRA. Do it from the tests but not from

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r14:279a2e235032 Date: 2013-05-26 13:21 +0200 http://bitbucket.org/pypy/stmgc/changeset/279a2e235032/ Log:Use _GC_DEBUG=2 to enable DUMP_EXTRA. Do it from the tests but not from the Makefile. diff --git a/c3/nursery.c b/c3/nursery.c --- a/c3/nur

[pypy-commit] stmgc default: Test, covering another "abort(); //XXX".

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r15:1bcd5a031e38 Date: 2013-05-26 13:39 +0200 http://bitbucket.org/pypy/stmgc/changeset/1bcd5a031e38/ Log:Test, covering another "abort();//XXX". diff --git a/c3/et.h b/c3/et.h --- a/c3/et.h +++ b/c3/et.h @@ -54,6 +54,9 @@ * * GCFLAG_STOLEN is set o

[pypy-commit] stmgc default: Fix stmgc_nursery_hiding(): use a real refcount and locking policy now,

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r16:8cfb3a9e834d Date: 2013-05-26 15:01 +0200 http://bitbucket.org/pypy/stmgc/changeset/8cfb3a9e834d/ Log:Fix stmgc_nursery_hiding(): use a real refcount and locking policy now, which avoids races when stealing. diff --git a/c3/nursery.c b/c3/nu

[pypy-commit] stmgc default: Test for one extra "abort();//XXX".

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r17:ce7dcafc00aa Date: 2013-05-26 15:11 +0200 http://bitbucket.org/pypy/stmgc/changeset/ce7dcafc00aa/ Log:Test for one extra "abort();//XXX". diff --git a/c3/nursery.c b/c3/nursery.c --- a/c3/nursery.c +++ b/c3/nursery.c @@ -244,7 +244,6 @@ ass

[pypy-commit] pypy kill-gen-store-back-in: figure stuff out - this fixes test_recusrive on llgraph backend

2013-05-26 Thread fijal
Author: Maciej Fijalkowski Branch: kill-gen-store-back-in Changeset: r64567:7d4b2887e29f Date: 2013-05-26 16:49 +0200 http://bitbucket.org/pypy/pypy/changeset/7d4b2887e29f/ Log:figure stuff out - this fixes test_recusrive on llgraph backend diff --git a/rpython/jit/metainterp/pyjitpl.py b/r

[pypy-commit] stmgc default: Change again: don't pretend to have the identity of the stolen-from

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r18:ab86b5cb7472 Date: 2013-05-26 16:12 +0200 http://bitbucket.org/pypy/stmgc/changeset/ab86b5cb7472/ Log:Change again: don't pretend to have the identity of the stolen-from thread. This doesn't work correctly with the calls to stmgcpage_

[pypy-commit] stmgc default: progress

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r19:a16db24e402f Date: 2013-05-26 16:54 +0200 http://bitbucket.org/pypy/stmgc/changeset/a16db24e402f/ Log:progress diff --git a/c3/atomic_ops.h b/c3/atomic_ops.h --- a/c3/atomic_ops.h +++ b/c3/atomic_ops.h @@ -109,8 +109,8 @@ } -#define spinlock_ac

[pypy-commit] pypy kill-gen-store-back-in: implement missing pieces on x86 backend

2013-05-26 Thread fijal
Author: Maciej Fijalkowski Branch: kill-gen-store-back-in Changeset: r64568:cf108e905352 Date: 2013-05-26 17:12 +0200 http://bitbucket.org/pypy/pypy/changeset/cf108e905352/ Log:implement missing pieces on x86 backend diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x8

[pypy-commit] pypy kill-gen-store-back-in: rpython fix

2013-05-26 Thread fijal
Author: Maciej Fijalkowski Branch: kill-gen-store-back-in Changeset: r64569:9f037799f1ab Date: 2013-05-26 17:15 +0200 http://bitbucket.org/pypy/pypy/changeset/9f037799f1ab/ Log:rpython fix diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py --- a/rpython/jit/m

[pypy-commit] pypy kill-gen-store-back-in: more rpython

2013-05-26 Thread fijal
Author: Maciej Fijalkowski Branch: kill-gen-store-back-in Changeset: r64570:5464db3b9088 Date: 2013-05-26 17:18 +0200 http://bitbucket.org/pypy/pypy/changeset/5464db3b9088/ Log:more rpython diff --git a/rpython/jit/backend/llsupport/assembler.py b/rpython/jit/backend/llsupport/assembler.py

[pypy-commit] pypy kill-gen-store-back-in: fix for tests

2013-05-26 Thread fijal
Author: Maciej Fijalkowski Branch: kill-gen-store-back-in Changeset: r64571:1aed55951cb9 Date: 2013-05-26 17:21 +0200 http://bitbucket.org/pypy/pypy/changeset/1aed55951cb9/ Log:fix for tests diff --git a/rpython/jit/backend/model.py b/rpython/jit/backend/model.py --- a/rpython/jit/backend/mo

[pypy-commit] stmgc default: Two failing tests

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r20:76c127339cc1 Date: 2013-05-26 17:58 +0200 http://bitbucket.org/pypy/stmgc/changeset/76c127339cc1/ Log:Two failing tests diff --git a/c3/test/test_nursery.py b/c3/test/test_nursery.py --- a/c3/test/test_nursery.py +++ b/c3/test/test_nursery.py @@ -31

[pypy-commit] stmgc default: Kill CFENCE.

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r21:0ffe3584a6d9 Date: 2013-05-26 18:31 +0200 http://bitbucket.org/pypy/stmgc/changeset/0ffe3584a6d9/ Log:Kill CFENCE. diff --git a/c3/atomic_ops.h b/c3/atomic_ops.h --- a/c3/atomic_ops.h +++ b/c3/atomic_ops.h @@ -13,16 +13,12 @@ #define UNLIKELY(test)

[pypy-commit] stmgc default: Fix the two previous tests.

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r22:1dd1331ec33e Date: 2013-05-26 18:56 +0200 http://bitbucket.org/pypy/stmgc/changeset/1dd1331ec33e/ Log:Fix the two previous tests. diff --git a/c3/lists.c b/c3/lists.c --- a/c3/lists.c +++ b/c3/lists.c @@ -22,6 +22,19 @@ memset(g2l, 0, sizeof(stru

[pypy-commit] stmgc default: Demo1 passes (slowly) with multiple threads! Yay.

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r23:0da44e8495d9 Date: 2013-05-26 18:58 +0200 http://bitbucket.org/pypy/stmgc/changeset/0da44e8495d9/ Log:Demo1 passes (slowly) with multiple threads! Yay. diff --git a/c3/demo1.c b/c3/demo1.c --- a/c3/demo1.c +++ b/c3/demo1.c @@ -10,8 +10,8 @@ #includ

[pypy-commit] stmgc default: A "mark" and a test checking for that mark.

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r24:2360127bd31b Date: 2013-05-26 19:10 +0200 http://bitbucket.org/pypy/stmgc/changeset/2360127bd31b/ Log:A "mark" and a test checking for that mark. diff --git a/c3/nursery.c b/c3/nursery.c --- a/c3/nursery.c +++ b/c3/nursery.c @@ -681,6 +681,7 @@

[pypy-commit] stmgc default: Give more explanations.

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r25:052abdf72589 Date: 2013-05-26 19:34 +0200 http://bitbucket.org/pypy/stmgc/changeset/052abdf72589/ Log:Give more explanations. diff --git a/c3/gcpage.c b/c3/gcpage.c --- a/c3/gcpage.c +++ b/c3/gcpage.c @@ -377,7 +377,13 @@ return;

[pypy-commit] stmgc default: A test for this "abort();//XXX".

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r26:16ed97ae9fa2 Date: 2013-05-26 19:38 +0200 http://bitbucket.org/pypy/stmgc/changeset/16ed97ae9fa2/ Log:A test for this "abort();//XXX". diff --git a/c3/nursery.c b/c3/nursery.c --- a/c3/nursery.c +++ b/c3/nursery.c @@ -627,8 +627,8 @@ /*

[pypy-commit] stmgc default: A bug found by demo2

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r27:996b6b7bd70e Date: 2013-05-26 19:43 +0200 http://bitbucket.org/pypy/stmgc/changeset/996b6b7bd70e/ Log:A bug found by demo2 diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -730,8 +730,10 @@ if (cur_time & 1) {

[pypy-commit] stmgc default: Fix an assert statement

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r28:73bbd9d06ac6 Date: 2013-05-26 19:50 +0200 http://bitbucket.org/pypy/stmgc/changeset/73bbd9d06ac6/ Log:Fix an assert statement diff --git a/c3/gcpage.c b/c3/gcpage.c --- a/c3/gcpage.c +++ b/c3/gcpage.c @@ -403,7 +403,10 @@ G2L_LOOP_FORWARD(d->pu

[pypy-commit] stmgc default: Split these two cases into three, and implement one more.

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r29:09c8f542c33d Date: 2013-05-26 20:07 +0200 http://bitbucket.org/pypy/stmgc/changeset/09c8f542c33d/ Log:Split these two cases into three, and implement one more. diff --git a/c3/nursery.c b/c3/nursery.c --- a/c3/nursery.c +++ b/c3/nursery.c @@ -625,10

[pypy-commit] stmgc default: Test and implementation of another "abort(); //XXX".

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r30:d872b4ad04ef Date: 2013-05-26 20:30 +0200 http://bitbucket.org/pypy/stmgc/changeset/d872b4ad04ef/ Log:Test and implementation of another "abort();//XXX". diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -513,7 +513,7 @@ { if (d->act

[pypy-commit] stmgc default: Redo _stm_nonrecord_barrier(), which lets test_random start, at least.

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r31:fc3ea5414a31 Date: 2013-05-26 20:52 +0200 http://bitbucket.org/pypy/stmgc/changeset/fc3ea5414a31/ Log:Redo _stm_nonrecord_barrier(), which lets test_random start, at least. diff --git a/c3/et.c b/c3/et.c --- a/c3/et.c +++ b/c3/et.c @@ -171,7

[pypy-commit] stmgc default: Fix an assert

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r32:43d9d5cfca8b Date: 2013-05-26 21:07 +0200 http://bitbucket.org/pypy/stmgc/changeset/43d9d5cfca8b/ Log:Fix an assert diff --git a/c3/nursery.c b/c3/nursery.c --- a/c3/nursery.c +++ b/c3/nursery.c @@ -48,16 +48,18 @@ if (is_in_nursery(d, obj)) {

[pypy-commit] stmgc default: progress

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r33:34499de37f69 Date: 2013-05-26 21:14 +0200 http://bitbucket.org/pypy/stmgc/changeset/34499de37f69/ Log:progress diff --git a/c3/test/support.py b/c3/test/support.py --- a/c3/test/support.py +++ b/c3/test/support.py @@ -96,6 +96,7 @@ #define GCFL

[pypy-commit] pypy operrfmt-NT: fix ztranslation: try some fallbacks when we can't grab a space during tests

2013-05-26 Thread pjenvey
Author: Philip Jenvey Branch: operrfmt-NT Changeset: r64572:ef8b5a2f97b4 Date: 2013-05-26 12:27 -0700 http://bitbucket.org/pypy/pypy/changeset/ef8b5a2f97b4/ Log:fix ztranslation: try some fallbacks when we can't grab a space during tests diff --git a/pypy/interpreter/error.py b/pypy/

[pypy-commit] stmgc default: A passing test

2013-05-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r34:06cf903b575b Date: 2013-05-26 21:28 +0200 http://bitbucket.org/pypy/stmgc/changeset/06cf903b575b/ Log:A passing test diff --git a/c3/test/test_nursery.py b/c3/test/test_nursery.py --- a/c3/test/test_nursery.py +++ b/c3/test/test_nursery.py @@ -429,3

[pypy-commit] pypy default: fix tests for 32 bit

2013-05-26 Thread mattip
Author: mattip Branch: Changeset: r64573:af17470a3036 Date: 2013-05-26 23:52 +0300 http://bitbucket.org/pypy/pypy/changeset/af17470a3036/ Log:fix tests for 32 bit diff --git a/pypy/module/micronumpy/test/test_dtypes.py b/pypy/module/micronumpy/test/test_dtypes.py --- a/pypy/module/micronum

[pypy-commit] pypy default: make zjit tests not fail for subarrays (they now skip like before)

2013-05-26 Thread mattip
Author: mattip Branch: Changeset: r64574:a3b2d7c354c6 Date: 2013-05-27 00:16 +0300 http://bitbucket.org/pypy/pypy/changeset/a3b2d7c354c6/ Log:make zjit tests not fail for subarrays (they now skip like before) diff --git a/pypy/module/micronumpy/interp_boxes.py b/pypy/module/micronumpy/inte

[pypy-commit] lang-js default: fixed get attribute indexes for indexOf and lastIndexOf.

2013-05-26 Thread andrewsmedina
Author: Andrews Medina Branch: Changeset: r395:7a721786be34 Date: 2013-05-27 01:31 -0300 http://bitbucket.org/pypy/lang-js/changeset/7a721786be34/ Log:fixed get attribute indexes for indexOf and lastIndexOf. diff --git a/js/builtins/array.py b/js/builtins/array.py --- a/js/builtins/array.py