[pypy-commit] extradoc extradoc: Motivation to write a blog post

2015-03-12 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5511:1e0e3a4e555f Date: 2015-03-12 18:54 +0100 http://bitbucket.org/pypy/extradoc/changeset/1e0e3a4e555f/ Log:Motivation to write a blog post diff --git a/blog/draft/stm-mar2015.txt b/blog/draft/stm-mar2015.txt new file mode 100644 --- /dev/nul

[pypy-commit] pypy stmgc-c8-hashtable: hg merge c8ea66315864 (I made the branch slightly too early)

2015-03-12 Thread arigo
Author: Armin Rigo Branch: stmgc-c8-hashtable Changeset: r76358:090025f6da69 Date: 2015-03-12 18:02 +0100 http://bitbucket.org/pypy/pypy/changeset/090025f6da69/ Log:hg merge c8ea66315864 (I made the branch slightly too early) diff --git a/pypy/stm/print_stm_log.py b/pypy/stm/print_stm_log.py

[pypy-commit] pypy stmgc-c8-hashtable: A branch to reintroduce hashtables

2015-03-12 Thread arigo
Author: Armin Rigo Branch: stmgc-c8-hashtable Changeset: r76354:93fe72206074 Date: 2015-03-12 17:45 +0100 http://bitbucket.org/pypy/pypy/changeset/93fe72206074/ Log:A branch to reintroduce hashtables ___ pypy-commit mailing list pypy-commit@python.

[pypy-commit] pypy stmgc-c8-hashtable: import stmgc (branch c8-hashtable)

2015-03-12 Thread arigo
Author: Armin Rigo Branch: stmgc-c8-hashtable Changeset: r76355:1f14bce8027f Date: 2015-03-12 17:46 +0100 http://bitbucket.org/pypy/pypy/changeset/1f14bce8027f/ Log:import stmgc (branch c8-hashtable) diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revis

[pypy-commit] pypy stmgc-c8-hashtable: Pass the extra arg to stm_hashtable_tracefn(). Add some casts somewhere

2015-03-12 Thread arigo
Author: Armin Rigo Branch: stmgc-c8-hashtable Changeset: r76357:9e912907fe1c Date: 2015-03-12 17:56 +0100 http://bitbucket.org/pypy/pypy/changeset/9e912907fe1c/ Log:Pass the extra arg to stm_hashtable_tracefn(). Add some casts somewhere else in funcgen.py to silence warnings. diff --

[pypy-commit] pypy stmgc-c8-hashtable: Re-introduce this part from stmgc-c7

2015-03-12 Thread arigo
Author: Armin Rigo Branch: stmgc-c8-hashtable Changeset: r76356:8dead8bff1d7 Date: 2015-03-12 17:49 +0100 http://bitbucket.org/pypy/pypy/changeset/8dead8bff1d7/ Log:Re-introduce this part from stmgc-c7 diff --git a/rpython/rlib/rstm.py b/rpython/rlib/rstm.py --- a/rpython/rlib/rstm.py +++ b/

[pypy-commit] stmgc default: we actually hit these asserts, because there is stuff running in the safe-point

2015-03-12 Thread Raemi
Author: Remi Meier Branch: Changeset: r1732:df5b285c6f57 Date: 2015-03-12 17:44 +0100 http://bitbucket.org/pypy/stmgc/changeset/df5b285c6f57/ Log:we actually hit these asserts, because there is stuff running in the safe-point diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/c

[pypy-commit] stmgc c8-hashtable: Fix. Now test_hashtable seems to pass.

2015-03-12 Thread arigo
Author: Armin Rigo Branch: c8-hashtable Changeset: r1731:0b32167a8194 Date: 2015-03-12 17:41 +0100 http://bitbucket.org/pypy/stmgc/changeset/0b32167a8194/ Log:Fix. Now test_hashtable seems to pass. diff --git a/c8/stm/core.h b/c8/stm/core.h --- a/c8/stm/core.h +++ b/c8/stm/core.h @@ -258,6 +

[pypy-commit] stmgc c8-hashtable: extra assert

2015-03-12 Thread arigo
Author: Armin Rigo Branch: c8-hashtable Changeset: r1730:351aff2b4699 Date: 2015-03-12 17:07 +0100 http://bitbucket.org/pypy/stmgc/changeset/351aff2b4699/ Log:extra assert diff --git a/c8/stm/setup.h b/c8/stm/setup.h --- a/c8/stm/setup.h +++ b/c8/stm/setup.h @@ -4,7 +4,7 @@ #ifndef NDEBUG

[pypy-commit] stmgc c8-hashtable: Fix _stm_segfault_expected to start at 1 instead of incrementing it

2015-03-12 Thread arigo
Author: Armin Rigo Branch: c8-hashtable Changeset: r1729:3b9fbd70b11f Date: 2015-03-12 17:04 +0100 http://bitbucket.org/pypy/stmgc/changeset/3b9fbd70b11f/ Log:Fix _stm_segfault_expected to start at 1 instead of incrementing it in stm_register_thread_local(). The latter ends up having

[pypy-commit] stmgc c8-hashtable: argh

2015-03-12 Thread arigo
Author: Armin Rigo Branch: c8-hashtable Changeset: r1728:dee3d648763d Date: 2015-03-12 16:32 +0100 http://bitbucket.org/pypy/stmgc/changeset/dee3d648763d/ Log:argh diff --git a/c8/stm/gcpage.c b/c8/stm/gcpage.c --- a/c8/stm/gcpage.c +++ b/c8/stm/gcpage.c @@ -157,7 +157,7 @@ char *en

[pypy-commit] stmgc c8-hashtable: major gc: remove from 'modified_old_objects' all old hashtables that die

2015-03-12 Thread arigo
Author: Armin Rigo Branch: c8-hashtable Changeset: r1727:591a48b66365 Date: 2015-03-12 16:29 +0100 http://bitbucket.org/pypy/stmgc/changeset/591a48b66365/ Log:major gc: remove from 'modified_old_objects' all old hashtables that die diff --git a/c8/stm/gcpage.c b/c8/stm/gcpage.c --- a

[pypy-commit] pypy default: Update version number in RPython documentation and copyright years for both RPython and PyPy.

2015-03-12 Thread mjacob
Author: Manuel Jacob Branch: Changeset: r76353:706f110bc5ad Date: 2015-03-12 15:47 +0100 http://bitbucket.org/pypy/pypy/changeset/706f110bc5ad/ Log:Update version number in RPython documentation and copyright years for both RPython and PyPy. We don't really have versions for

[pypy-commit] stmgc c8-hashtable: fix test

2015-03-12 Thread arigo
Author: Armin Rigo Branch: c8-hashtable Changeset: r1726:92ed176fe541 Date: 2015-03-12 15:46 +0100 http://bitbucket.org/pypy/stmgc/changeset/92ed176fe541/ Log:fix test diff --git a/c8/test/test_hashtable.py b/c8/test/test_hashtable.py --- a/c8/test/test_hashtable.py +++ b/c8/test/test_hashta

[pypy-commit] pypy stmgc-c8: zero stm_flags in the JIT

2015-03-12 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r76350:b31739603c93 Date: 2015-03-12 10:30 +0100 http://bitbucket.org/pypy/pypy/changeset/b31739603c93/ Log:zero stm_flags in the JIT diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -1,7 +1,12 @@ +--

[pypy-commit] pypy stmgc-c8: fix memset usage in the jit for %gs prefix'd address

2015-03-12 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r76351:4dbf5a92f9f6 Date: 2015-03-12 11:36 +0100 http://bitbucket.org/pypy/pypy/changeset/4dbf5a92f9f6/ Log:fix memset usage in the jit for %gs prefix'd address diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembl

[pypy-commit] pypy stmgc-c8: import stmgc w/o nursery zeroing

2015-03-12 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r76347:06bd5b7e134d Date: 2015-03-12 09:30 +0100 http://bitbucket.org/pypy/pypy/changeset/06bd5b7e134d/ Log:import stmgc w/o nursery zeroing diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision --- a/rp

[pypy-commit] pypy stmgc-c8: use stm_memclearinit instead of raw_memclear to initialize gc pointers after

2015-03-12 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r76348:04d925289b32 Date: 2015-03-12 09:32 +0100 http://bitbucket.org/pypy/pypy/changeset/04d925289b32/ Log:use stm_memclearinit instead of raw_memclear to initialize gc pointers after allocation diff --git a/rpython/memory/gc/stmgc.py b

[pypy-commit] pypy stmgc-c8: start fixing jit support for non-zero nursery

2015-03-12 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r76349:f7607bffb63b Date: 2015-03-12 09:33 +0100 http://bitbucket.org/pypy/pypy/changeset/f7607bffb63b/ Log:start fixing jit support for non-zero nursery diff --git a/rpython/jit/backend/llsupport/test/test_stmrewrite.py b/rpython/jit/backend/l

[pypy-commit] pypy stmgc-c8: fix for missing manual jitframe clearing

2015-03-12 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r76352:64f973219f79 Date: 2015-03-12 14:37 +0100 http://bitbucket.org/pypy/pypy/changeset/64f973219f79/ Log:fix for missing manual jitframe clearing diff --git a/rpython/jit/backend/llsupport/rewrite.py b/rpython/jit/backend/llsupport/rewrite.p

[pypy-commit] stmgc non-zero-nursery: Close branch ready to be merged

2015-03-12 Thread Raemi
Author: Remi Meier Branch: non-zero-nursery Changeset: r1724:72eb66355db2 Date: 2015-03-12 15:43 +0100 http://bitbucket.org/pypy/stmgc/changeset/72eb66355db2/ Log:Close branch ready to be merged ___ pypy-commit mailing list pypy-commit@python.org h

[pypy-commit] stmgc non-zero-nursery: don't zero nursery in minor collections

2015-03-12 Thread Raemi
Author: Remi Meier Branch: non-zero-nursery Changeset: r1721:adf3b0df8fbc Date: 2015-03-11 11:48 +0100 http://bitbucket.org/pypy/stmgc/changeset/adf3b0df8fbc/ Log:don't zero nursery in minor collections diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -86

[pypy-commit] stmgc default: Merge non-zero-nursery

2015-03-12 Thread Raemi
Author: Remi Meier Branch: Changeset: r1725:787577b281d6 Date: 2015-03-12 15:43 +0100 http://bitbucket.org/pypy/stmgc/changeset/787577b281d6/ Log:Merge non-zero-nursery diff --git a/c8/demo/demo_random.c b/c8/demo/demo_random.c --- a/c8/demo/demo_random.c +++ b/c8/demo/demo_random.c @@ -231

[pypy-commit] stmgc non-zero-nursery: build duhton-c8 with zeroed nursery

2015-03-12 Thread Raemi
Author: Remi Meier Branch: non-zero-nursery Changeset: r1723:b548b42c978e Date: 2015-03-11 13:19 +0100 http://bitbucket.org/pypy/stmgc/changeset/b548b42c978e/ Log:build duhton-c8 with zeroed nursery diff --git a/duhton-c8/Makefile b/duhton-c8/Makefile --- a/duhton-c8/Makefile +++ b/duhton-c8

[pypy-commit] stmgc non-zero-nursery: make demos initialize references with NULL after allocation

2015-03-12 Thread Raemi
Author: Remi Meier Branch: non-zero-nursery Changeset: r1722:a514aa39cef8 Date: 2015-03-11 11:49 +0100 http://bitbucket.org/pypy/stmgc/changeset/a514aa39cef8/ Log:make demos initialize references with NULL after allocation diff --git a/c8/demo/demo_random.c b/c8/demo/demo_random.c --- a/c8/d

[pypy-commit] stmgc c8-hashtable: fix test

2015-03-12 Thread arigo
Author: Armin Rigo Branch: c8-hashtable Changeset: r1720:471ce04ba011 Date: 2015-03-12 15:37 +0100 http://bitbucket.org/pypy/stmgc/changeset/471ce04ba011/ Log:fix test diff --git a/c8/test/test_hashtable.py b/c8/test/test_hashtable.py --- a/c8/test/test_hashtable.py +++ b/c8/test/test_hashta

[pypy-commit] stmgc c8-hashtable: The buggy privatization_lock() logic was still buggy

2015-03-12 Thread arigo
Author: Armin Rigo Branch: c8-hashtable Changeset: r1719:44c106e7ae45 Date: 2015-03-12 15:02 +0100 http://bitbucket.org/pypy/stmgc/changeset/44c106e7ae45/ Log:The buggy privatization_lock() logic was still buggy diff --git a/c8/stm/gcpage.c b/c8/stm/gcpage.c --- a/c8/stm/gcpage.c +++ b/c8/st

[pypy-commit] stmgc c8-hashtable: Remove 'modified_old_hashtables' and use a new variant

2015-03-12 Thread arigo
Author: Armin Rigo Branch: c8-hashtable Changeset: r1718:dc85ba70bb83 Date: 2015-03-12 14:47 +0100 http://bitbucket.org/pypy/stmgc/changeset/dc85ba70bb83/ Log:Remove 'modified_old_hashtables' and use a new variant of stm_undolog_s. diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/

[pypy-commit] pypy vmprof: fix

2015-03-12 Thread arigo
Author: Armin Rigo Branch: vmprof Changeset: r76346:9a0471e2b6fb Date: 2015-03-12 13:16 +0100 http://bitbucket.org/pypy/pypy/changeset/9a0471e2b6fb/ Log:fix diff --git a/rpython/translator/c/gcc/trackgcroot.py b/rpython/translator/c/gcc/trackgcroot.py --- a/rpython/translator/c/gcc/trackgcr

[pypy-commit] pypy vmprof: Include skiplist.c with codemap.c into a single separate_module_sources; otherwise codemap.c is copied in a place that no longer has any skiplist.c

2015-03-12 Thread arigo
Author: Armin Rigo Branch: vmprof Changeset: r76345:ea87004e582f Date: 2015-03-12 13:11 +0100 http://bitbucket.org/pypy/pypy/changeset/ea87004e582f/ Log:Include skiplist.c with codemap.c into a single separate_module_sources; otherwise codemap.c is copied in a place that no lo

[pypy-commit] pypy vmprof: remove debug print

2015-03-12 Thread arigo
Author: Armin Rigo Branch: vmprof Changeset: r76344:dfce721b1d22 Date: 2015-03-12 12:10 +0100 http://bitbucket.org/pypy/pypy/changeset/dfce721b1d22/ Log:remove debug print diff --git a/rpython/jit/backend/llsupport/codemap.py b/rpython/jit/backend/llsupport/codemap.py --- a/rpython/jit/back

[pypy-commit] pypy vmprof: fix

2015-03-12 Thread arigo
Author: Armin Rigo Branch: vmprof Changeset: r76343:9b69e7c9c0de Date: 2015-03-12 11:37 +0100 http://bitbucket.org/pypy/pypy/changeset/9b69e7c9c0de/ Log:fix diff --git a/pypy/module/_vmprof/src/fake_pypy_api.c b/pypy/module/_vmprof/src/fake_pypy_api.c --- a/pypy/module/_vmprof/src/fake_pypy

[pypy-commit] pypy vmprof: Fixes, untested

2015-03-12 Thread arigo
Author: Armin Rigo Branch: vmprof Changeset: r76342:de655e4feb4e Date: 2015-03-12 11:29 +0100 http://bitbucket.org/pypy/pypy/changeset/de655e4feb4e/ Log:Fixes, untested diff --git a/pypy/module/_vmprof/src/fake_pypy_api.c b/pypy/module/_vmprof/src/fake_pypy_api.c --- a/pypy/module/_vmprof/s

[pypy-commit] pypy vmprof: Update

2015-03-12 Thread arigo
Author: Armin Rigo Branch: vmprof Changeset: r76341:d5feaf337db0 Date: 2015-03-12 11:20 +0100 http://bitbucket.org/pypy/pypy/changeset/d5feaf337db0/ Log:Update diff --git a/rpython/jit/backend/llsupport/asmmemmgr.py b/rpython/jit/backend/llsupport/asmmemmgr.py --- a/rpython/jit/backend/llsu

[pypy-commit] pypy vmprof: test_codemap now passes

2015-03-12 Thread arigo
Author: Armin Rigo Branch: vmprof Changeset: r76340:92b353fa58de Date: 2015-03-12 11:18 +0100 http://bitbucket.org/pypy/pypy/changeset/92b353fa58de/ Log:test_codemap now passes diff --git a/rpython/jit/backend/llsupport/codemap.py b/rpython/jit/backend/llsupport/codemap.py --- a/rpython/jit

[pypy-commit] pypy vmprof: test_codemaps works too

2015-03-12 Thread arigo
Author: Armin Rigo Branch: vmprof Changeset: r76339:b1369ce0eb67 Date: 2015-03-12 11:03 +0100 http://bitbucket.org/pypy/pypy/changeset/b1369ce0eb67/ Log:test_codemaps works too diff --git a/rpython/jit/backend/llsupport/codemap.py b/rpython/jit/backend/llsupport/codemap.py --- a/rpython/jit

[pypy-commit] pypy vmprof: One new test passes

2015-03-12 Thread arigo
Author: Armin Rigo Branch: vmprof Changeset: r76338:402728053b00 Date: 2015-03-12 11:00 +0100 http://bitbucket.org/pypy/pypy/changeset/402728053b00/ Log:One new test passes diff --git a/rpython/jit/backend/llsupport/codemap.py b/rpython/jit/backend/llsupport/codemap.py --- a/rpython/jit/bac

[pypy-commit] pypy release-2.5.x: update idices

2015-03-12 Thread mattip
Author: mattip Branch: release-2.5.x Changeset: r76336:cbd4090ee565 Date: 2015-03-11 22:55 +0200 http://bitbucket.org/pypy/pypy/changeset/cbd4090ee565/ Log:update idices diff --git a/pypy/doc/index-of-release-notes.rst b/pypy/doc/index-of-release-notes.rst --- a/pypy/doc/index-of-release-no

[pypy-commit] stmgc c8-hashtable: Add the code from c7

2015-03-12 Thread arigo
Author: Armin Rigo Branch: c8-hashtable Changeset: r1713:397c4402e270 Date: 2015-03-10 20:01 +0100 http://bitbucket.org/pypy/stmgc/changeset/397c4402e270/ Log:Add the code from c7 diff --git a/c8/stm/core.h b/c8/stm/core.h --- a/c8/stm/core.h +++ b/c8/stm/core.h @@ -284,6 +284,17 @@ static

[pypy-commit] pypy default: Make some more virtualizable-array rules explicit

2015-03-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r76300:17681166180a Date: 2015-03-10 18:16 +0100 http://bitbucket.org/pypy/pypy/changeset/17681166180a/ Log:Make some more virtualizable-array rules explicit diff --git a/rpython/doc/jit/virtualizable.rst b/rpython/doc/jit/virtualizable.rst --- a/rpyth

[pypy-commit] pypy stmgc-c8: Report inevitable pauses

2015-03-12 Thread arigo
Author: Armin Rigo Branch: stmgc-c8 Changeset: r76296:84499372529f Date: 2015-03-10 17:38 +0100 http://bitbucket.org/pypy/pypy/changeset/84499372529f/ Log:Report inevitable pauses diff --git a/pypy/stm/print_stm_log.py b/pypy/stm/print_stm_log.py --- a/pypy/stm/print_stm_log.py +++ b/pypy/st