[pypy-commit] stmgc contention-counter: do penalty/contention based scheduling

2014-01-21 Thread Remi Meier
Author: Remi Meier Branch: contention-counter Changeset: r651:ce3149d0935f Date: 2014-01-10 13:20 +0100 http://bitbucket.org/pypy/stmgc/changeset/ce3149d0935f/ Log:do penalty/contention based scheduling diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +++ b/c4/et.c @@ -99,16 +99,16 @@ /* CONTENT

[pypy-commit] stmgc c7: add a test that fills the nursery

2014-01-21 Thread Remi Meier
Author: Remi Meier Branch: c7 Changeset: r653:a9cb16635de9 Date: 2014-01-21 09:27 +0100 http://bitbucket.org/pypy/stmgc/changeset/a9cb16635de9/ Log:add a test that fills the nursery diff --git a/c7/test/test_basic.py b/c7/test/test_basic.py --- a/c7/test/test_basic.py +++ b/c7/test/test_basic

[pypy-commit] stmgc c7: allocation of large objs < nursery_size

2014-01-21 Thread Remi Meier
Author: Remi Meier Branch: c7 Changeset: r654:0e22a7939f9e Date: 2014-01-21 10:08 +0100 http://bitbucket.org/pypy/stmgc/changeset/0e22a7939f9e/ Log:allocation of large objs < nursery_size diff --git a/c7/core.c b/c7/core.c --- a/c7/core.c +++ b/c7/core.c @@ -19,7 +19,7 @@ #define NB_PAGES

[pypy-commit] stmgc contention-counter: fixes?

2014-01-21 Thread Remi Meier
Author: Remi Meier Branch: contention-counter Changeset: r652:004e8c4916f3 Date: 2014-01-15 12:24 +0100 http://bitbucket.org/pypy/stmgc/changeset/004e8c4916f3/ Log:fixes? diff --git a/c4/demo2.c b/c4/demo2.c --- a/c4/demo2.c +++ b/c4/demo2.c @@ -8,7 +8,7 @@ #include "fprintcolor.h" -#def

[pypy-commit] stmgc default: add a valgrind target to the makefile

2014-01-21 Thread Remi Meier
Author: Remi Meier Branch: Changeset: r650:266b6fe74c32 Date: 2014-01-10 12:52 +0100 http://bitbucket.org/pypy/stmgc/changeset/266b6fe74c32/ Log:add a valgrind target to the makefile diff --git a/c4/Makefile b/c4/Makefile --- a/c4/Makefile +++ b/c4/Makefile @@ -36,5 +36,9 @@ release-%: %.c

[pypy-commit] stmgc c7: failing test for writing to 2nd page of an object

2014-01-21 Thread Remi Meier
Author: Remi Meier Branch: c7 Changeset: r655:0624b1cef158 Date: 2014-01-21 10:15 +0100 http://bitbucket.org/pypy/stmgc/changeset/0624b1cef158/ Log:failing test for writing to 2nd page of an object diff --git a/c7/test/test_basic.py b/c7/test/test_basic.py --- a/c7/test/test_basic.py +++ b/c7

[pypy-commit] stmgc c7: fix some page flags

2014-01-21 Thread Remi Meier
Author: Remi Meier Branch: c7 Changeset: r656:51d9b831ecdb Date: 2014-01-21 10:42 +0100 http://bitbucket.org/pypy/stmgc/changeset/51d9b831ecdb/ Log:fix some page flags diff --git a/c7/core.c b/c7/core.c --- a/c7/core.c +++ b/c7/core.c @@ -66,21 +66,6 @@ }; #define _STM_TL2((_thr

[pypy-commit] stmgc c7: fix privatization of pages in write-barrier slowpath

2014-01-21 Thread Remi Meier
Author: Remi Meier Branch: c7 Changeset: r657:a9bedcca21e2 Date: 2014-01-21 10:49 +0100 http://bitbucket.org/pypy/stmgc/changeset/a9bedcca21e2/ Log:fix privatization of pages in write-barrier slowpath diff --git a/c7/core.c b/c7/core.c --- a/c7/core.c +++ b/c7/core.c @@ -366,7 +366,10 @@

[pypy-commit] pypy default: Move the "_ffi" module into the "_rawffi.alt" submodule. This is an

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68799:3e844dad3e26 Date: 2014-01-21 10:12 +0100 http://bitbucket.org/pypy/pypy/changeset/3e844dad3e26/ Log:Move the "_ffi" module into the "_rawffi.alt" submodule. This is an attempt to reduce namespace conflicts with the potentially confusing

[pypy-commit] pypy default: merge heads

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68800:4da44a7d1989 Date: 2014-01-21 11:21 +0100 http://bitbucket.org/pypy/pypy/changeset/4da44a7d1989/ Log:merge heads diff --git a/pypy/doc/_ref.txt b/pypy/doc/_ref.txt --- a/pypy/doc/_ref.txt +++ b/pypy/doc/_ref.txt @@ -109,6 +109,4 @@ .. _`rpython/

[pypy-commit] pypy default: Move some "for" loops out of the fast path, to allow the JIT to look

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68801:8f53215f2dc2 Date: 2014-01-21 11:21 +0100 http://bitbucket.org/pypy/pypy/changeset/8f53215f2dc2/ Log:Move some "for" loops out of the fast path, to allow the JIT to look inside the functions. diff --git a/pypy/objspace/std/stringmethods.p

[pypy-commit] pypy llvm-translation-backend: Instead of marking every llexternal that calls a macro with a macro flag, we generate call wrappers for external functions by default. A call wrapper is a

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: llvm-translation-backend Changeset: r68802:e4ab9d710ba1 Date: 2014-01-21 11:50 +0100 http://bitbucket.org/pypy/pypy/changeset/e4ab9d710ba1/ Log:Instead of marking every llexternal that calls a macro with a macro flag, we generate call wrappers for external

[pypy-commit] stmgc c7: add failing test for partially uncommitted pages / uncommitted objects

2014-01-21 Thread Remi Meier
Author: Remi Meier Branch: c7 Changeset: r658:70275e7c7c74 Date: 2014-01-21 12:50 +0100 http://bitbucket.org/pypy/stmgc/changeset/70275e7c7c74/ Log:add failing test for partially uncommitted pages / uncommitted objects diff --git a/c7/core.h b/c7/core.h --- a/c7/core.h +++ b/c7/core.h

[pypy-commit] cffi default: Maybe a better error message

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r1458:61c4b449086c Date: 2014-01-21 13:16 +0100 http://bitbucket.org/cffi/cffi/changeset/61c4b449086c/ Log:Maybe a better error message diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -835,7 +835,7 @

[pypy-commit] pypy default: Maybe a better error message

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68803:dfca95ea34f0 Date: 2014-01-21 13:17 +0100 http://bitbucket.org/pypy/pypy/changeset/dfca95ea34f0/ Log:Maybe a better error message diff --git a/pypy/module/_cffi_backend/ctypestruct.py b/pypy/module/_cffi_backend/ctypestruct.py --- a/pypy/module/

[pypy-commit] pypy default: Port fix for ropenssl from the llvm branch to default.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r68804:c077b2ff29c7 Date: 2014-01-21 14:10 +0100 http://bitbucket.org/pypy/pypy/changeset/c077b2ff29c7/ Log:Port fix for ropenssl from the llvm branch to default. diff --git a/rpython/rlib/ropenssl.py b/rpython/rlib/ropenssl.py --- a/rpython/rlib/ropen

[pypy-commit] pypy default: Port another minor fix from the llvm branch.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r68805:f6615f79d1cc Date: 2014-01-21 14:18 +0100 http://bitbucket.org/pypy/pypy/changeset/f6615f79d1cc/ Log:Port another minor fix from the llvm branch. diff --git a/rpython/jit/backend/llsupport/gc.py b/rpython/jit/backend/llsupport/gc.py --- a/rpyth

[pypy-commit] pypy default: Simplify code.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r68806:709d090d1c17 Date: 2014-01-21 14:31 +0100 http://bitbucket.org/pypy/pypy/changeset/709d090d1c17/ Log:Simplify code. diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py --- a/rpython/translator/driver.py +++ b/rpython/transla

[pypy-commit] pypy default: Remove dead code.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r68807:89c0969caec9 Date: 2014-01-21 14:35 +0100 http://bitbucket.org/pypy/pypy/changeset/89c0969caec9/ Log:Remove dead code. diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py --- a/rpython/translator/driver.py +++ b/rpython/tran

[pypy-commit] pypy llvm-translation-backend: I don't think this is still necessary.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: llvm-translation-backend Changeset: r68808:803c70128eeb Date: 2014-01-21 14:42 +0100 http://bitbucket.org/pypy/pypy/changeset/803c70128eeb/ Log:I don't think this is still necessary. diff --git a/rpython/translator/c/src/obmalloc.c b/rpython/translator/c/src/obma

[pypy-commit] pypy default: Back out changeset 89c0969caec9.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r68809:3f632ce16792 Date: 2014-01-21 14:44 +0100 http://bitbucket.org/pypy/pypy/changeset/3f632ce16792/ Log:Back out changeset 89c0969caec9. diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py --- a/rpython/translator/driver.py +++

[pypy-commit] stmgc c7: change test, still failing

2014-01-21 Thread Remi Meier
Author: Remi Meier Branch: c7 Changeset: r659:754f18d24407 Date: 2014-01-21 15:09 +0100 http://bitbucket.org/pypy/stmgc/changeset/754f18d24407/ Log:change test, still failing diff --git a/c7/test/test_basic.py b/c7/test/test_basic.py --- a/c7/test/test_basic.py +++ b/c7/test/test_basic.py @@

[pypy-commit] pypy llvm-translation-backend: Remove this hack until something better comes into my mind.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: llvm-translation-backend Changeset: r68813:ac260e03714e Date: 2014-01-21 15:32 +0100 http://bitbucket.org/pypy/pypy/changeset/ac260e03714e/ Log:Remove this hack until something better comes into my mind. diff --git a/rpython/rtyper/raisingops.py b/rpython/rtyper/r

[pypy-commit] pypy llvm-translation-backend: Remove trailing whitespace.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: llvm-translation-backend Changeset: r68810:df2a63368e88 Date: 2014-01-21 14:49 +0100 http://bitbucket.org/pypy/pypy/changeset/df2a63368e88/ Log:Remove trailing whitespace. diff --git a/rpython/translator/llvm/common_header.h b/rpython/translator/llvm/common_heade

[pypy-commit] pypy llvm-translation-backend: Remove more trailing whitespace.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: llvm-translation-backend Changeset: r68811:51c2f9a02d22 Date: 2014-01-21 14:52 +0100 http://bitbucket.org/pypy/pypy/changeset/51c2f9a02d22/ Log:Remove more trailing whitespace. diff --git a/rpython/translator/test/test_interactive.py b/rpython/translator/test/tes

[pypy-commit] pypy llvm-translation-backend: Simplify this and make sure it doesn't modify the argument.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: llvm-translation-backend Changeset: r68814:bdde2236b903 Date: 2014-01-21 15:38 +0100 http://bitbucket.org/pypy/pypy/changeset/bdde2236b903/ Log:Simplify this and make sure it doesn't modify the argument. diff --git a/rpython/translator/backendopt/all.py b/rpython

[pypy-commit] pypy default: merge heads

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68817:cda44e90c717 Date: 2014-01-21 16:18 +0100 http://bitbucket.org/pypy/pypy/changeset/cda44e90c717/ Log:merge heads diff --git a/pypy/doc/_ref.txt b/pypy/doc/_ref.txt --- a/pypy/doc/_ref.txt +++ b/pypy/doc/_ref.txt @@ -109,6 +109,4 @@ .. _`rpython/

[pypy-commit] pypy default: More jittest-ability.

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68816:1ae31b6d89d1 Date: 2014-01-21 16:18 +0100 http://bitbucket.org/pypy/pypy/changeset/1ae31b6d89d1/ Log:More jittest-ability. diff --git a/rpython/jit/backend/llgraph/support.py b/rpython/jit/backend/llgraph/support.py --- a/rpython/jit/backend/llg

[pypy-commit] pypy default: Have "rpython -Ojit --jittest" work again, step 1

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68815:d3bab2233245 Date: 2014-01-21 15:04 +0100 http://bitbucket.org/pypy/pypy/changeset/d3bab2233245/ Log:Have "rpython -Ojit --jittest" work again, step 1 diff --git a/rpython/jit/metainterp/warmspot.py b/rpython/jit/metainterp/warmspot.py --- a/rpy

[pypy-commit] pypy default: A failing test about heapcache

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68818:a7b725461c8a Date: 2014-01-21 16:19 +0100 http://bitbucket.org/pypy/pypy/changeset/a7b725461c8a/ Log:A failing test about heapcache diff --git a/rpython/jit/metainterp/test/test_ajit.py b/rpython/jit/metainterp/test/test_ajit.py --- a/rpython/ji

[pypy-commit] pypy default: merge heads

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68819:7d0474323a1d Date: 2014-01-21 16:19 +0100 http://bitbucket.org/pypy/pypy/changeset/7d0474323a1d/ Log:merge heads diff --git a/rpython/jit/backend/llgraph/support.py b/rpython/jit/backend/llgraph/support.py --- a/rpython/jit/backend/llgraph/suppo

[pypy-commit] pypy default: Bah, we can also get AttributeError. Give up and catch Exception

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68820:f84c2a8494be Date: 2014-01-21 16:31 +0100 http://bitbucket.org/pypy/pypy/changeset/f84c2a8494be/ Log:Bah, we can also get AttributeError. Give up and catch Exception diff --git a/rpython/jit/backend/llgraph/support.py b/rpython/jit/backend/llgra

[pypy-commit] pypy default: Skip this test for now.

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68822:17941d88a490 Date: 2014-01-21 16:40 +0100 http://bitbucket.org/pypy/pypy/changeset/17941d88a490/ Log:Skip this test for now. diff --git a/rpython/jit/metainterp/test/test_tracingopts.py b/rpython/jit/metainterp/test/test_tracingopts.py --- a/rpy

[pypy-commit] stmgc c7: make test pass

2014-01-21 Thread Remi Meier
Author: Remi Meier Branch: c7 Changeset: r660:33eb0c7ce3c8 Date: 2014-01-21 16:49 +0100 http://bitbucket.org/pypy/stmgc/changeset/33eb0c7ce3c8/ Log:make test pass diff --git a/c7/core.c b/c7/core.c --- a/c7/core.c +++ b/c7/core.c @@ -55,7 +55,8 @@ bool need_abort; char *thread_base;

[pypy-commit] pypy default: Fix the bug for now by letting the SETFIELD_GC operation through.

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68821:d865b2499a5f Date: 2014-01-21 16:38 +0100 http://bitbucket.org/pypy/pypy/changeset/d865b2499a5f/ Log:Fix the bug for now by letting the SETFIELD_GC operation through. I believe that it should be killed by the optimizers anyway. diff --git

[pypy-commit] pypy default: Add comment

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68823:68a4e65eba06 Date: 2014-01-21 16:49 +0100 http://bitbucket.org/pypy/pypy/changeset/68a4e65eba06/ Log:Add comment diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py --- a/rpython/jit/metainterp/pyjitpl.py +++ b/rpy

[pypy-commit] pypy default: merge heads

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68826:5ceff9c38289 Date: 2014-01-21 17:19 +0100 http://bitbucket.org/pypy/pypy/changeset/5ceff9c38289/ Log:merge heads diff --git a/rpython/jit/metainterp/pyjitpl.py b/rpython/jit/metainterp/pyjitpl.py --- a/rpython/jit/metainterp/pyjitpl.py +++ b/rpy

[pypy-commit] pypy default: Redo the GeneratorIterator/WithDel optimization, which should work now

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68825:db6d61fc43ed Date: 2014-01-21 16:41 +0100 http://bitbucket.org/pypy/pypy/changeset/db6d61fc43ed/ Log:Redo the GeneratorIterator/WithDel optimization, which should work now that the JIT bug was fixed. diff --git a/pypy/interpreter/pyframe.

[pypy-commit] pypy annotator: update flowspace module descriptions

2014-01-21 Thread rlamy
Author: Ronan Lamy Branch: annotator Changeset: r68827:ad6dac580b69 Date: 2014-01-21 16:30 + http://bitbucket.org/pypy/pypy/changeset/ad6dac580b69/ Log:update flowspace module descriptions diff --git a/rpython/flowspace/flowcontext.py b/rpython/flowspace/flowcontext.py --- a/rpython/flow

[pypy-commit] pypy annotator: small clean-up in rpython.flowspace.operation

2014-01-21 Thread rlamy
Author: Ronan Lamy Branch: annotator Changeset: r68828:684f44b83918 Date: 2014-01-21 16:46 + http://bitbucket.org/pypy/pypy/changeset/684f44b83918/ Log:small clean-up in rpython.flowspace.operation diff --git a/rpython/flowspace/operation.py b/rpython/flowspace/operation.py --- a/rpython

[pypy-commit] pypy default: Add an XXX comment

2014-01-21 Thread arigo
Author: Armin Rigo Branch: Changeset: r68829:cdeeb9213ba3 Date: 2014-01-21 18:20 +0100 http://bitbucket.org/pypy/pypy/changeset/cdeeb9213ba3/ Log:Add an XXX comment diff --git a/rpython/jit/metainterp/heapcache.py b/rpython/jit/metainterp/heapcache.py --- a/rpython/jit/metainterp/heapcache

[pypy-commit] pypy default: Do some (hopefully) uncontroversiol style changes.

2014-01-21 Thread Manuel Jacob
Author: Manuel Jacob Branch: Changeset: r68835:534c06c36a58 Date: 2014-01-21 20:55 +0100 http://bitbucket.org/pypy/pypy/changeset/534c06c36a58/ Log:Do some (hopefully) uncontroversiol style changes. diff --git a/rpython/flowspace/bytecode.py b/rpython/flowspace/bytecode.py --- a/rpython/flow

[pypy-commit] pypy annotator: close branch before merging

2014-01-21 Thread rlamy
Author: Ronan Lamy Branch: annotator Changeset: r68832:7045f8e50def Date: 2014-01-21 19:30 + http://bitbucket.org/pypy/pypy/changeset/7045f8e50def/ Log:close branch before merging ___ pypy-commit mailing list pypy-commit@python.org https://mail

[pypy-commit] pypy default: document branch

2014-01-21 Thread rlamy
Author: Ronan Lamy Branch: Changeset: r68834:6c97b595273c Date: 2014-01-21 19:33 + http://bitbucket.org/pypy/pypy/changeset/6c97b595273c/ Log:document branch diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/pypy/doc/whatsnew-hea

[pypy-commit] pypy default: rename the String strategies and {getitems, listview, newlist}_str -> bytes to be

2014-01-21 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r68837:0fb4c2282ffc Date: 2014-01-21 14:25 -0800 http://bitbucket.org/pypy/pypy/changeset/0fb4c2282ffc/ Log:rename the String strategies and {getitems,listview,newlist}_str -> bytes to be consistent with W_BytesObject diff --git a/pypy/interp

[pypy-commit] pypy default: make my editor happy

2014-01-21 Thread pjenvey
Author: Philip Jenvey Branch: Changeset: r68836:bc308796c275 Date: 2014-01-20 14:43 -0800 http://bitbucket.org/pypy/pypy/changeset/bc308796c275/ Log:make my editor happy diff --git a/pypy/objspace/std/unicodeobject.py b/pypy/objspace/std/unicodeobject.py --- a/pypy/objspace/std/unicodeobje