[pypy-commit] stmgc c8-new-page-handling: fix deadlock

2014-11-11 Thread Raemi
Author: Remi Meier Branch: c8-new-page-handling Changeset: r1503:15d0affd8675 Date: 2014-11-11 13:56 +0100 http://bitbucket.org/pypy/stmgc/changeset/15d0affd8675/ Log:fix deadlock diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -157,6 +157,8 @@ page

[pypy-commit] pypy stmgc-c7: tweak _stm.count()

2014-11-11 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r74443:9cebce388452 Date: 2014-11-11 14:32 +0100 http://bitbucket.org/pypy/pypy/changeset/9cebce388452/ Log:tweak _stm.count() diff --git a/pypy/module/_stm/count.py b/pypy/module/_stm/count.py --- a/pypy/module/_stm/count.py +++ b/pypy/module/_

[pypy-commit] pypy stmgc-c7: Light finalizers seem to be missing nothing more than being enabled.

2014-11-11 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r7:b72126002e43 Date: 2014-11-11 14:47 +0100 http://bitbucket.org/pypy/pypy/changeset/b72126002e43/ Log:Light finalizers seem to be missing nothing more than being enabled. We'll see if this theory breaks down. diff --git a/rpython/m

[pypy-commit] pypy default: Add 'cast_gcref_to_instance' here. The JIT has code that does

2014-11-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r74445:5171dd85f03b Date: 2014-11-11 15:15 +0100 http://bitbucket.org/pypy/pypy/changeset/5171dd85f03b/ Log:Add 'cast_gcref_to_instance' here. The JIT has code that does indirectly the same thing, but it's cleaner to have a direct inverse

[pypy-commit] pypy stmgc-c7: Add 'cast_gcref_to_instance' here. The JIT has code that does

2014-11-11 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r74446:d93251afcbd4 Date: 2014-11-11 15:15 +0100 http://bitbucket.org/pypy/pypy/changeset/d93251afcbd4/ Log:Add 'cast_gcref_to_instance' here. The JIT has code that does indirectly the same thing, but it's cleaner to have a direct inverse

[pypy-commit] pypy stmgc-c7: Mostly implement stmgc's hashtables in RPython.

2014-11-11 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r74447:55d1033012f1 Date: 2014-11-11 16:20 +0100 http://bitbucket.org/pypy/pypy/changeset/55d1033012f1/ Log:Mostly implement stmgc's hashtables in RPython. diff --git a/rpython/memory/gc/stmgc.py b/rpython/memory/gc/stmgc.py --- a/rpython/memory

[pypy-commit] pypy stmgc-c7: llify the class Hashtable, in preparation for a custom tracing hook.

2014-11-11 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r74448:76875c1d32f0 Date: 2014-11-11 17:18 +0100 http://bitbucket.org/pypy/pypy/changeset/76875c1d32f0/ Log:llify the class Hashtable, in preparation for a custom tracing hook. diff --git a/rpython/memory/gctransform/stmframework.py b/rpython/m

[pypy-commit] pypy default: Move this attribute to the Boehm subclass. For the Framework subclass

2014-11-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r74450:a2aafac5b363 Date: 2014-11-11 18:08 +0100 http://bitbucket.org/pypy/pypy/changeset/a2aafac5b363/ Log:Move this attribute to the Boehm subclass. For the Framework subclass it is overridden anyway from the GCClass. diff --git a/rpython/jit/

[pypy-commit] pypy stmgc-c7: in-progress: prepare for merging improve-gc-tracing-hooks

2014-11-11 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r74449:03d55ba443a0 Date: 2014-11-11 18:02 +0100 http://bitbucket.org/pypy/pypy/changeset/03d55ba443a0/ Log:in-progress: prepare for merging improve-gc-tracing-hooks diff --git a/rpython/memory/gctransform/stmframework.py b/rpython/memory/gctra

[pypy-commit] pypy default: Remove extraneous "-" sign.

2014-11-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r74452:f5a631ede713 Date: 2014-11-11 18:36 +0100 http://bitbucket.org/pypy/pypy/changeset/f5a631ede713/ Log:Remove extraneous "-" sign. diff --git a/rpython/jit/backend/x86/regalloc.py b/rpython/jit/backend/x86/regalloc.py --- a/rpython/jit/backend/x86

[pypy-commit] pypy default: Use the correct GETFIELD_RAW instead of GETFIELD_GC, because they

2014-11-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r74451:014332b2ea4b Date: 2014-11-11 18:28 +0100 http://bitbucket.org/pypy/pypy/changeset/014332b2ea4b/ Log:Use the correct GETFIELD_RAW instead of GETFIELD_GC, because they are done on a raw address. Important for stm. diff --git a/rpython/jit/

[pypy-commit] pypy stmgc-c7: hg merge 9a6efa2d4493

2014-11-11 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r74453:1565213578be Date: 2014-11-11 18:44 +0100 http://bitbucket.org/pypy/pypy/changeset/1565213578be/ Log:hg merge 9a6efa2d4493 Merge default up to 7e7044080cc5; then additionally merge the improve-gc-tracing-hooks branch. dif

[pypy-commit] pypy default: hg merge improve-gc-tracing-hooks

2014-11-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r74457:9069f9c784ba Date: 2014-11-11 18:51 +0100 http://bitbucket.org/pypy/pypy/changeset/9069f9c784ba/ Log:hg merge improve-gc-tracing-hooks A small branch (fijal, arigo) that cleans up the custom tracers called by the GC. diff --git a

[pypy-commit] pypy improve-gc-tracing-hooks: Close the branch, ready for merging

2014-11-11 Thread arigo
Author: Armin Rigo Branch: improve-gc-tracing-hooks Changeset: r74456:367c01713036 Date: 2014-11-11 18:50 +0100 http://bitbucket.org/pypy/pypy/changeset/367c01713036/ Log:Close the branch, ready for merging ___ pypy-commit mailing list pypy-commit@

[pypy-commit] pypy stmgc-c7: fix

2014-11-11 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r74454:18ed12091d09 Date: 2014-11-11 18:47 +0100 http://bitbucket.org/pypy/pypy/changeset/18ed12091d09/ Log:fix diff --git a/rpython/memory/gctransform/stmframework.py b/rpython/memory/gctransform/stmframework.py --- a/rpython/memory/gctransfor

[pypy-commit] pypy stmgc-c7: fix some imports

2014-11-11 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r74455:26ebcac51ad5 Date: 2014-11-11 18:47 +0100 http://bitbucket.org/pypy/pypy/changeset/26ebcac51ad5/ Log:fix some imports diff --git a/rpython/rtyper/lltypesystem/rstr.py b/rpython/rtyper/lltypesystem/rstr.py --- a/rpython/rtyper/lltypesyste

[pypy-commit] pypy default: Oups, an indirect conflict between two branches

2014-11-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r74458:4abe9a6d1c12 Date: 2014-11-11 19:52 +0100 http://bitbucket.org/pypy/pypy/changeset/4abe9a6d1c12/ Log:Oups, an indirect conflict between two branches diff --git a/rpython/memory/gctypelayout.py b/rpython/memory/gctypelayout.py --- a/rpython/memory

[pypy-commit] pypy expressions: move V_Type to flowspace/

2014-11-11 Thread rlamy
Author: Ronan Lamy Branch: expressions Changeset: r74459:df43eb19a931 Date: 2014-11-11 19:53 + http://bitbucket.org/pypy/pypy/changeset/df43eb19a931/ Log:move V_Type to flowspace/ diff --git a/rpython/annotator/expression.py b/rpython/flowspace/expression.py rename from rpython/annotator

[pypy-commit] pypy default: These uses of setarg() are a bit pointless, because emit_operation()

2014-11-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r74460:1727061f26b3 Date: 2014-11-11 20:06 +0100 http://bitbucket.org/pypy/pypy/changeset/1727061f26b3/ Log:These uses of setarg() are a bit pointless, because emit_operation() will anyway force the argument. diff --git a/rpython/jit/metainterp/

[pypy-commit] pypy default: Issue #1924: test and fix.

2014-11-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r74461:04c100cbae5b Date: 2014-11-11 21:16 +0100 http://bitbucket.org/pypy/pypy/changeset/04c100cbae5b/ Log:Issue #1924: test and fix. diff --git a/rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py b/rpython/jit/metainterp/optimizeopt/test/te

[pypy-commit] pypy default: That was intended with a setarrayitem index of 0, although it doesn't

2014-11-11 Thread arigo
Author: Armin Rigo Branch: Changeset: r74462:22e929dc69e7 Date: 2014-11-11 21:33 +0100 http://bitbucket.org/pypy/pypy/changeset/22e929dc69e7/ Log:That was intended with a setarrayitem index of 0, although it doesn't change much. diff --git a/rpython/jit/metainterp/optimizeopt/test/t

[pypy-commit] pypy default: stdcall unavoidably mangles names in a dll

2014-11-11 Thread mattip
Author: Matti Picus Branch: Changeset: r74464:bda954894395 Date: 2014-11-11 23:03 -0600 http://bitbucket.org/pypy/pypy/changeset/bda954894395/ Log:stdcall unavoidably mangles names in a dll diff --git a/rpython/rlib/test/test_libffi.py b/rpython/rlib/test/test_libffi.py --- a/rpython/rlib/t

[pypy-commit] pypy default: as per precommondefs.h, all declarations need an attribute

2014-11-11 Thread mattip
Author: Matti Picus Branch: Changeset: r74465:3532a779652c Date: 2014-11-11 23:11 -0600 http://bitbucket.org/pypy/pypy/changeset/3532a779652c/ Log:as per precommondefs.h, all declarations need an attribute diff --git a/pypy/module/test_lib_pypy/ctypes_tests/_ctypes_test.c b/pypy/module/tes

[pypy-commit] pypy default: fix: non-exported globals

2014-11-11 Thread mattip
Author: Matti Picus Branch: Changeset: r74463:598730a422d2 Date: 2014-11-11 20:05 -0600 http://bitbucket.org/pypy/pypy/changeset/598730a422d2/ Log:fix: non-exported globals diff --git a/pypy/module/test_lib_pypy/ctypes_tests/_ctypes_test.c b/pypy/module/test_lib_pypy/ctypes_tests/_ctypes_t

[pypy-commit] pypy default: Allow "python -m rpython" to run RPython translation.

2014-11-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: Changeset: r74466:0e89a463e021 Date: 2014-11-11 22:44 +0100 http://bitbucket.org/pypy/pypy/changeset/0e89a463e021/ Log:Allow "python -m rpython" to run RPython translation. It's slightly shorter than rpython/bin/rpython, specially when the

[pypy-commit] pypy kill-rctime: Kill "rctime" module, use time directly.

2014-11-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: kill-rctime Changeset: r74467:9a47327d5451 Date: 2014-11-11 23:55 +0100 http://bitbucket.org/pypy/pypy/changeset/9a47327d5451/ Log:Kill "rctime" module, use time directly. ___ pypy-commit mailing list pypy-commi

[pypy-commit] pypy kill-rctime: Rename 'rctime' to plain 'time'.

2014-11-11 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: kill-rctime Changeset: r74468:d53aec985fd4 Date: 2014-11-12 00:20 +0100 http://bitbucket.org/pypy/pypy/changeset/d53aec985fd4/ Log:Rename 'rctime' to plain 'time'. Try to remove all references to rctime. diff too long, truncating to 2000 out of 26

[pypy-commit] pypy expressions: Clean up V_Type code, add tests

2014-11-11 Thread rlamy
Author: Ronan Lamy Branch: expressions Changeset: r74469:194c5a7dbe21 Date: 2014-11-12 00:32 + http://bitbucket.org/pypy/pypy/changeset/194c5a7dbe21/ Log:Clean up V_Type code, add tests diff --git a/rpython/flowspace/expression.py b/rpython/flowspace/expression.py --- a/rpython/flowspace

[pypy-commit] stmgc hashtable: Add a reference to a paper

2014-11-11 Thread arigo
Author: Armin Rigo Branch: hashtable Changeset: r1504:38ce55475572 Date: 2014-11-12 08:46 +0100 http://bitbucket.org/pypy/stmgc/changeset/38ce55475572/ Log:Add a reference to a paper diff --git a/c7/stm/hashtable.c b/c7/stm/hashtable.c --- a/c7/stm/hashtable.c +++ b/c7/stm/hashtable.c @@ -22