[pypy-commit] pypy stmgc-c8: possible improvement

2016-01-25 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r81931:e9d25e9cc525 Date: 2016-01-25 11:56 +0100 http://bitbucket.org/pypy/pypy/changeset/e9d25e9cc525/ Log:possible improvement AFAICS at the level where the readbarrier transform gets executed, the operations listed in MALLOCS

[pypy-commit] pypy stmgc-c8: remove dummy allocation

2016-01-25 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r81930:89984a5ade1e Date: 2016-01-25 10:51 +0100 http://bitbucket.org/pypy/pypy/changeset/89984a5ade1e/ Log:remove dummy allocation AFAICS, we introduced this in C7 to make stop-the-world commits as fast as possible. It is only n

[pypy-commit] pypy stmgc-c8: clarification

2016-01-26 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r81945:23f42ac860b5 Date: 2016-01-26 09:08 +0100 http://bitbucket.org/pypy/pypy/changeset/23f42ac860b5/ Log:clarification diff --git a/rpython/jit/backend/llsupport/stmrewrite.py b/rpython/jit/backend/llsupport/stmrewrite.py --- a/rpython/jit/b

[pypy-commit] pypy stmgc-c8: Partial merge with default

2016-02-22 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82394:616abaac8a22 Date: 2016-02-21 16:32 +0100 http://bitbucket.org/pypy/pypy/changeset/616abaac8a22/ Log:Partial merge with default diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/py

[pypy-commit] pypy stmgc-c8: Merge with default

2016-02-22 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82393:0ae4b8d1eed4 Date: 2016-02-21 15:43 +0100 http://bitbucket.org/pypy/pypy/changeset/0ae4b8d1eed4/ Log:Merge with default diff too long, truncating to 2000 out of 24060 lines diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -1

[pypy-commit] pypy stmgc-c8: fix several things from the merges (wip)

2016-02-22 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82395:8c5f6193d317 Date: 2016-02-22 16:26 +0100 http://bitbucket.org/pypy/pypy/changeset/8c5f6193d317/ Log:fix several things from the merges (wip) mostly always-enable-gil and memop-simplify related diff --git a/rpython/jit/backend/ll

[pypy-commit] pypy stmgc-c8: readd changes lost during a merge

2016-02-22 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82396:97bc4a194b25 Date: 2016-02-22 16:38 +0100 http://bitbucket.org/pypy/pypy/changeset/97bc4a194b25/ Log:readd changes lost during a merge diff --git a/rpython/jit/backend/x86/regalloc.py b/rpython/jit/backend/x86/regalloc.py --- a/rpython/j

[pypy-commit] pypy stmgc-c8: try harder to not call rgil.acquire() in STM

2016-02-22 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82409:6de86a868686 Date: 2016-02-22 19:07 +0100 http://bitbucket.org/pypy/pypy/changeset/6de86a868686/ Log:try harder to not call rgil.acquire() in STM diff --git a/pypy/module/_cffi_backend/call_python.py b/pypy/module/_cffi_backend/call_pyth

[pypy-commit] pypy stmgc-c8: remove accidentially added lines

2016-02-22 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82410:0fe6e57443a4 Date: 2016-02-22 22:36 +0100 http://bitbucket.org/pypy/pypy/changeset/0fe6e57443a4/ Log:remove accidentially added lines diff --git a/rpython/jit/backend/x86/regalloc.py b/rpython/jit/backend/x86/regalloc.py --- a/rpython/ji

[pypy-commit] pypy stmgc-c8: Next merge with default

2016-02-23 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82417:3522d0e0b4ac Date: 2016-02-22 23:49 +0100 http://bitbucket.org/pypy/pypy/changeset/3522d0e0b4ac/ Log:Next merge with default diff too long, truncating to 2000 out of 5350 lines diff --git a/.gitignore b/.gitignore --- a/.gitignore +++ b/

[pypy-commit] pypy stmgc-c8: Next merge with default

2016-02-23 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82418:76de496c32c4 Date: 2016-02-23 10:56 +0100 http://bitbucket.org/pypy/pypy/changeset/76de496c32c4/ Log:Next merge with default diff too long, truncating to 2000 out of 2927 lines diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefi

[pypy-commit] pypy stmgc-c8: fix

2016-02-23 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82419:52371edbd322 Date: 2016-02-23 10:59 +0100 http://bitbucket.org/pypy/pypy/changeset/52371edbd322/ Log:fix diff --git a/pypy/module/thread/__init__.py b/pypy/module/thread/__init__.py --- a/pypy/module/thread/__init__.py +++ b/pypy/module/t

[pypy-commit] pypy regalloc: (remi,richard) another failing test

2016-02-23 Thread Raemi
Author: Remi Meier Branch: regalloc Changeset: r82428:aef33cf7c7d2 Date: 2016-02-23 12:54 +0100 http://bitbucket.org/pypy/pypy/changeset/aef33cf7c7d2/ Log:(remi,richard) another failing test diff --git a/rpython/jit/backend/llsupport/test/test_regalloc_call.py b/rpython/jit/backend/llsuppor

[pypy-commit] pypy fix-longevity: (remi, richard) new branch for fixing longevity issue

2016-02-23 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82434:c464ecd68c54 Date: 2016-02-23 13:58 +0100 http://bitbucket.org/pypy/pypy/changeset/c464ecd68c54/ Log:(remi,richard) new branch for fixing longevity issue diff --git a/rpython/jit/backend/llsupport/test/test_regalloc_call.py b/rpytho

[pypy-commit] pypy fix-longevity: (plan_rich, remi) start implementing heuristic for choosing callee vs caller registers

2016-02-23 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82444:b5c6184fc5e6 Date: 2016-02-23 16:10 +0100 http://bitbucket.org/pypy/pypy/changeset/b5c6184fc5e6/ Log:(plan_rich,remi) start implementing heuristic for choosing callee vs caller registers diff --git a/rpython/jit/backend/llsup

[pypy-commit] pypy fix-longevity: (plan_rich, remi) add test for call distance calculation

2016-02-23 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82448:fa5e185b9757 Date: 2016-02-23 16:50 +0100 http://bitbucket.org/pypy/pypy/changeset/fa5e185b9757/ Log:(plan_rich,remi) add test for call distance calculation diff --git a/rpython/jit/backend/llsupport/test/test_regalloc_integration.py

[pypy-commit] pypy fix-longevity: (plan_rich,remi) fix test

2016-02-23 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82452:17b7cbcf32e2 Date: 2016-02-23 17:28 +0100 http://bitbucket.org/pypy/pypy/changeset/17b7cbcf32e2/ Log:(plan_rich,remi) fix test diff --git a/rpython/jit/backend/llsupport/test/test_regalloc_call.py b/rpython/jit/backend/llsupport/tes

[pypy-commit] pypy fix-longevity: rename to distinguish LiveRange objs from longevity dicts

2016-02-23 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82465:449462f0839e Date: 2016-02-23 22:38 +0100 http://bitbucket.org/pypy/pypy/changeset/449462f0839e/ Log:rename to distinguish LiveRange objs from longevity dicts diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/back

[pypy-commit] pypy fix-longevity: (plan_rich, remi) fix broken commit

2016-02-23 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82464:2feb1ca9c35c Date: 2016-02-23 22:36 +0100 http://bitbucket.org/pypy/pypy/changeset/2feb1ca9c35c/ Log:(plan_rich,remi) fix broken commit diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/backend/llsupport/regalloc.

[pypy-commit] pypy stmgc-c8: merge and fix various things

2016-02-24 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82481:36de0d994b4e Date: 2016-02-24 12:03 +0100 http://bitbucket.org/pypy/pypy/changeset/36de0d994b4e/ Log:merge and fix various things diff too long, truncating to 2000 out of 5848 lines diff --git a/lib-python/2.7/distutils/command/build_ext

[pypy-commit] pypy stmgc-c8: another merge

2016-02-24 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82485:3edb1e823e07 Date: 2016-02-24 17:54 +0100 http://bitbucket.org/pypy/pypy/changeset/3edb1e823e07/ Log:another merge diff too long, truncating to 2000 out of 2914 lines diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@

[pypy-commit] pypy stmgc-c8: merge and fix tons of things

2016-02-24 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82484:4d0277154891 Date: 2016-02-24 17:34 +0100 http://bitbucket.org/pypy/pypy/changeset/4d0277154891/ Log:merge and fix tons of things diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-head.rst +++ b/

[pypy-commit] pypy stmgc-c8: fix

2016-02-24 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82487:26b15c64b274 Date: 2016-02-24 19:08 +0100 http://bitbucket.org/pypy/pypy/changeset/26b15c64b274/ Log:fix diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/objspace/std/mapdict.py +++ b/pypy/objspace/std/m

[pypy-commit] pypy stmgc-c8: fix for changed method signature

2016-02-24 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82488:ad865d0c916c Date: 2016-02-24 23:29 +0100 http://bitbucket.org/pypy/pypy/changeset/ad865d0c916c/ Log:fix for changed method signature diff --git a/rpython/translator/backendopt/gilanalysis.py b/rpython/translator/backendopt/gilanalysis.p

[pypy-commit] pypy stmgc-c8: disable cpyext on stm

2016-02-25 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82489:19cfa846e509 Date: 2016-02-25 10:01 +0100 http://bitbucket.org/pypy/pypy/changeset/19cfa846e509/ Log:disable cpyext on stm We don't support the rawrefcount functionality in our GC, and I think there is no fallback availabl

[pypy-commit] pypy fix-longevity: (plan_rich, remi) fix trivial errors

2016-02-25 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82495:4d5d168ea4e5 Date: 2016-02-25 12:45 +0100 http://bitbucket.org/pypy/pypy/changeset/4d5d168ea4e5/ Log:(plan_rich,remi) fix trivial errors diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/backend/llsupport/regalloc

[pypy-commit] pypy fix-longevity: (plan_rich, remi) small fixes and allow updating the free regs lists

2016-02-25 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82498:d6ea9d88da47 Date: 2016-02-25 13:42 +0100 http://bitbucket.org/pypy/pypy/changeset/d6ea9d88da47/ Log:(plan_rich,remi) small fixes and allow updating the free regs lists diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpytho

[pypy-commit] pypy fix-longevity: (plan_rich, remi) support changing of register set for tests

2016-02-25 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82499:851789a1560c Date: 2016-02-25 13:56 +0100 http://bitbucket.org/pypy/pypy/changeset/851789a1560c/ Log:(plan_rich,remi) support changing of register set for tests diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/ba

[pypy-commit] pypy fix-longevity: (plan_rich, remi) faster update_free_registers

2016-02-25 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82502:3271c1578a13 Date: 2016-02-25 14:34 +0100 http://bitbucket.org/pypy/pypy/changeset/3271c1578a13/ Log:(plan_rich,remi) faster update_free_registers diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/backend/llsuppor

[pypy-commit] pypy fix-longevity: (plan_rich, remi) test and fix for call_dists calculation

2016-02-25 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82505:4e99dd1d0654 Date: 2016-02-25 15:03 +0100 http://bitbucket.org/pypy/pypy/changeset/4e99dd1d0654/ Log:(plan_rich,remi) test and fix for call_dists calculation diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/backe

[pypy-commit] pypy fix-longevity: (plan_rich, remi) fix and test for call survival condition

2016-02-25 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82509:a1c4102f1903 Date: 2016-02-25 16:16 +0100 http://bitbucket.org/pypy/pypy/changeset/a1c4102f1903/ Log:(plan_rich,remi) fix and test for call survival condition diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/back

[pypy-commit] pypy fix-longevity: (plan_rich, remi) fix for updating bridge argument register assignment

2016-02-25 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82512:af0b03bc7ce0 Date: 2016-02-25 16:46 +0100 http://bitbucket.org/pypy/pypy/changeset/af0b03bc7ce0/ Log:(plan_rich,remi) fix for updating bridge argument register assignment diff --git a/rpython/jit/backend/llsupport/regalloc.py

[pypy-commit] pypy fix-longevity: (plan_rich, remi) add additional arg to LiveRanges() in test and fix test

2016-02-25 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82514:46c6887af094 Date: 2016-02-25 17:03 +0100 http://bitbucket.org/pypy/pypy/changeset/46c6887af094/ Log:(plan_rich,remi) add additional arg to LiveRanges() in test and fix test diff --git a/rpython/jit/backend/llsupport/regalloc

[pypy-commit] pypy fix-longevity: (plan_rich, remi) possibly silghtly improve corner case

2016-02-25 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82518:ff9c442e6dc8 Date: 2016-02-25 17:43 +0100 http://bitbucket.org/pypy/pypy/changeset/ff9c442e6dc8/ Log:(plan_rich,remi) possibly silghtly improve corner case diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython/jit/backend

[pypy-commit] pypy fix-longevity: (plan_rich, remi) replace is_callee_lookup with attribute on regloc

2016-02-25 Thread Raemi
Author: Remi Meier Branch: fix-longevity Changeset: r82523:491569178ceb Date: 2016-02-25 19:40 +0100 http://bitbucket.org/pypy/pypy/changeset/491569178ceb/ Log:(plan_rich,remi) replace is_callee_lookup with attribute on regloc diff --git a/rpython/jit/backend/llsupport/regalloc.py b/rpython

[pypy-commit] stmgc default: fix infinite loop in segfault handler

2016-02-26 Thread Raemi
Author: Remi Meier Branch: Changeset: r1983:8c9162341945 Date: 2016-02-26 11:41 +0100 http://bitbucket.org/pypy/stmgc/changeset/8c9162341945/ Log:fix infinite loop in segfault handler diff --git a/c8/stm/setup.c b/c8/stm/setup.c --- a/c8/stm/setup.c +++ b/c8/stm/setup.c @@ -287,13 +287,15 @

[pypy-commit] pypy stmgc-c8: import stmgc

2016-02-26 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82527:f1e7aa419f98 Date: 2016-02-26 12:14 +0100 http://bitbucket.org/pypy/pypy/changeset/f1e7aa419f98/ Log:import stmgc diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision --- a/rpython/translator/stm

[pypy-commit] pypy stmgc-c8: fix llop.gc_load_indexed for STM

2016-02-26 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82526:36a2560a3194 Date: 2016-02-26 12:08 +0100 http://bitbucket.org/pypy/pypy/changeset/36a2560a3194/ Log:fix llop.gc_load_indexed for STM diff --git a/rpython/translator/c/funcgen.py b/rpython/translator/c/funcgen.py --- a/rpython/translator/

[pypy-commit] pypy stmgc-c8: release gil again for these functions

2016-02-26 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r82562:a736e9684a84 Date: 2016-02-26 13:28 +0100 http://bitbucket.org/pypy/pypy/changeset/a736e9684a84/ Log:release gil again for these functions I don't think this is good anymore with the detached inev tx mode diff --git a/rpython/rli

[pypy-commit] pypy default: remove dependency on get_rpy_roots in vmprof and maintain a weaklist of

2016-04-05 Thread Raemi
Author: Remi Meier Branch: Changeset: r83518:cf086a5af05f Date: 2016-04-05 13:00 +0300 http://bitbucket.org/pypy/pypy/changeset/cf086a5af05f/ Log:remove dependency on get_rpy_roots in vmprof and maintain a weaklist of code objects instead diff --git a/rpython/rlib/rvmprof/rvmprof.py

[pypy-commit] stmgc default: prefix some accidentially exposed functions

2016-04-05 Thread Raemi
Author: Remi Meier Branch: Changeset: r1984:b7f8a106095f Date: 2016-04-05 15:19 +0300 http://bitbucket.org/pypy/stmgc/changeset/b7f8a106095f/ Log:prefix some accidentially exposed functions diff --git a/c8/stm/atomic.h b/c8/stm/atomic.h --- a/c8/stm/atomic.h +++ b/c8/stm/atomic.h @@ -24,16

[pypy-commit] pypy default: typo

2016-04-05 Thread Raemi
Author: Remi Meier Branch: Changeset: r83521:9da0c82687ed Date: 2016-04-05 15:32 +0300 http://bitbucket.org/pypy/pypy/changeset/9da0c82687ed/ Log:typo diff --git a/rpython/rlib/rvmprof/rvmprof.py b/rpython/rlib/rvmprof/rvmprof.py --- a/rpython/rlib/rvmprof/rvmprof.py +++ b/rpython/rlib/rvmp

[pypy-commit] pypy stmgc-c8: remove dependency on get_rpy_roots in vmprof and maintain a weaklist of

2016-04-05 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83519:5431b6525b3c Date: 2016-04-05 13:00 +0300 http://bitbucket.org/pypy/pypy/changeset/5431b6525b3c/ Log:remove dependency on get_rpy_roots in vmprof and maintain a weaklist of code objects instead diff --git a/rpython/rlib/rvmprof/rv

[pypy-commit] pypy stmgc-c8: import stmgc

2016-04-05 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83520:79247965065e Date: 2016-04-05 15:28 +0300 http://bitbucket.org/pypy/pypy/changeset/79247965065e/ Log:import stmgc diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision --- a/rpython/translator/stm

[pypy-commit] pypy stmgc-c8: enable vmprof and nearly pass the tests

2016-04-05 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83522:61b4b82f90cb Date: 2016-04-05 15:34 +0300 http://bitbucket.org/pypy/pypy/changeset/61b4b82f90cb/ Log:enable vmprof and nearly pass the tests diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/pypy/go

[pypy-commit] pypy default: fix test

2016-04-05 Thread Raemi
Author: Remi Meier Branch: Changeset: r83523:82e8cf34e4ab Date: 2016-04-05 17:00 +0300 http://bitbucket.org/pypy/pypy/changeset/82e8cf34e4ab/ Log:fix test diff --git a/rpython/jit/backend/llsupport/test/zrpy_vmprof_test.py b/rpython/jit/backend/llsupport/test/zrpy_vmprof_test.py --- a/rpyt

[pypy-commit] pypy stmgc-c8: make jit backend test for vmprof pass. however, we are still missing resetting

2016-04-05 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83530:8488cce5d3cf Date: 2016-04-06 09:35 +0300 http://bitbucket.org/pypy/pypy/changeset/8488cce5d3cf/ Log:make jit backend test for vmprof pass. however, we are still missing resetting the thread locals used by vmprof on transaction abo

[pypy-commit] pypy default: try to fix this test that previously used to enumerate all code objs by tracing

2016-04-06 Thread Raemi
Author: Remi Meier Branch: Changeset: r83533:ac58de5d526f Date: 2016-04-06 10:13 +0300 http://bitbucket.org/pypy/pypy/changeset/ac58de5d526f/ Log:try to fix this test that previously used to enumerate all code objs by tracing the heap and now uses a weakref list. The differe

[pypy-commit] stmgc default: add mem_reset_on_abort, a mechanism to reset some memory to the value it had on

2016-04-06 Thread Raemi
Author: Remi Meier Branch: Changeset: r1985:ff3079618aaf Date: 2016-04-06 15:16 +0300 http://bitbucket.org/pypy/stmgc/changeset/ff3079618aaf/ Log:add mem_reset_on_abort, a mechanism to reset some memory to the value it had on tx start in case the tx aborts. diff --git a/c8/stm/core.

[pypy-commit] pypy stmgc-c8: missing renaming to stm_spinlock

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83556:ddb53f437889 Date: 2016-04-07 10:27 +0300 http://bitbucket.org/pypy/pypy/changeset/ddb53f437889/ Log:missing renaming to stm_spinlock diff --git a/rpython/translator/c/src/mem.c b/rpython/translator/c/src/mem.c --- a/rpython/translator/c/

[pypy-commit] pypy stmgc-c8: attempt to fix JIT support for vmprof for STM by resetting the thread-local

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83557:39060b21f026 Date: 2016-04-07 10:29 +0300 http://bitbucket.org/pypy/pypy/changeset/39060b21f026/ Log:attempt to fix JIT support for vmprof for STM by resetting the thread-local variable that points to the frame on abort. diff --gi

[pypy-commit] pypy stmgc-c8: tiny fix

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83555:5f2e0bc7fa51 Date: 2016-04-07 10:27 +0300 http://bitbucket.org/pypy/pypy/changeset/5f2e0bc7fa51/ Log:tiny fix diff --git a/rpython/translator/stm/inevitable.py b/rpython/translator/stm/inevitable.py --- a/rpython/translator/stm/inevitabl

[pypy-commit] pypy stmgc-c8: import stmgc

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83554:b19666f40456 Date: 2016-04-06 15:21 +0300 http://bitbucket.org/pypy/pypy/changeset/b19666f40456/ Log:import stmgc diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision --- a/rpython/translator/stm

[pypy-commit] stmgc default: avoid data race with vmprof where *during* an abort a SIGPROF signal gets

2016-04-07 Thread Raemi
Author: Remi Meier Branch: Changeset: r1986:5e3551b4e599 Date: 2016-04-07 13:41 +0300 http://bitbucket.org/pypy/stmgc/changeset/5e3551b4e599/ Log:avoid data race with vmprof where *during* an abort a SIGPROF signal gets handled and we already reset the thread-local. diff --git a/c8/

[pypy-commit] pypy stmgc-c8: import stmgc

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83563:be250c24a526 Date: 2016-04-07 13:43 +0300 http://bitbucket.org/pypy/pypy/changeset/be250c24a526/ Log:import stmgc diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision --- a/rpython/translator/stm

[pypy-commit] pypy stmgc-c8: ignore signal if we are in the process of aborting a tx in this thread

2016-04-07 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83564:3d9408e5409c Date: 2016-04-07 13:55 +0300 http://bitbucket.org/pypy/pypy/changeset/3d9408e5409c/ Log:ignore signal if we are in the process of aborting a tx in this thread diff --git a/rpython/rlib/rvmprof/src/vmprof_main.h b/rpy

[pypy-commit] pypy stmgc-c8: make perf map work for "perf top"

2016-04-08 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83582:075e0be3c2d2 Date: 2016-04-08 10:55 +0300 http://bitbucket.org/pypy/pypy/changeset/075e0be3c2d2/ Log:make perf map work for "perf top" diff --git a/rpython/jit/backend/x86/perf_map.py b/rpython/jit/backend/x86/perf_map.py --- a/rpython/j

[pypy-commit] pypy stmgc-c8: improve perf disassemble script

2016-04-08 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83583:27f7b74d3121 Date: 2016-04-08 11:25 +0300 http://bitbucket.org/pypy/pypy/changeset/27f7b74d3121/ Log:improve perf disassemble script diff --git a/rpython/tool/perf-disassemble.sh b/rpython/tool/perf-disassemble.sh --- a/rpython/tool/perf-

[pypy-commit] pypy stmgc-c8: improve perf script some more

2016-04-08 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r83584:17de67ace831 Date: 2016-04-08 11:34 +0300 http://bitbucket.org/pypy/pypy/changeset/17de67ace831/ Log:improve perf script some more diff --git a/rpython/tool/perf-disassemble.sh b/rpython/tool/perf-disassemble.sh --- a/rpython/tool/perf-di

[pypy-commit] pypy quad-color-gc: a branch to experiment with a new GC (see TODO file)

2016-08-17 Thread Raemi
Author: Remi Meier Branch: quad-color-gc Changeset: r86244:8ca6fccd6b2f Date: 2016-08-17 13:13 +0200 http://bitbucket.org/pypy/pypy/changeset/8ca6fccd6b2f/ Log:a branch to experiment with a new GC (see TODO file) diff --git a/TODO b/TODO new file mode 100644 --- /dev/null +++ b/TODO @@ -0,0

[pypy-commit] pypy quad-color-gc: start with newgc test

2016-08-19 Thread Raemi
Author: Remi Meier Branch: quad-color-gc Changeset: r86307:3815dc96e685 Date: 2016-08-19 10:27 +0200 http://bitbucket.org/pypy/pypy/changeset/3815dc96e685/ Log:start with newgc test diff --git a/rpython/rtyper/tool/rffi_platform.py b/rpython/rtyper/tool/rffi_platform.py --- a/rpython/rtyper

[pypy-commit] pypy quad-color-gc: revert to separate_module_sources

2016-08-19 Thread Raemi
Author: Remi Meier Branch: quad-color-gc Changeset: r86317:4a05d83ac1b9 Date: 2016-08-19 15:20 +0200 http://bitbucket.org/pypy/pypy/changeset/4a05d83ac1b9/ Log:revert to separate_module_sources diff --git a/rpython/rtyper/tool/rffi_platform.py b/rpython/rtyper/tool/rffi_platform.py --- a/rp

[pypy-commit] pypy quad-color-gc: try to emit functions defined by the gctransformer

2016-08-19 Thread Raemi
Author: Remi Meier Branch: quad-color-gc Changeset: r86318:31c6daaf8842 Date: 2016-08-19 15:44 +0200 http://bitbucket.org/pypy/pypy/changeset/31c6daaf8842/ Log:try to emit functions defined by the gctransformer diff --git a/rpython/memory/gctransform/framework.py b/rpython/memory/gctransfor

[pypy-commit] pypy quad-color-gc: remove configure_external_library, as it seems to compile the GC separately, which is not possible

2016-08-19 Thread Raemi
Author: Remi Meier Branch: quad-color-gc Changeset: r86319:c3000b80ab0b Date: 2016-08-19 15:51 +0200 http://bitbucket.org/pypy/pypy/changeset/c3000b80ab0b/ Log:remove configure_external_library, as it seems to compile the GC separately, which is not possible diff --git a/rpython/rtyp

[pypy-commit] pypy quad-color-gc: work around hard-coded pypy_header0 in funcgen.py

2016-08-30 Thread Raemi
Author: Remi Meier Branch: quad-color-gc Changeset: r86745:8887dd513fe1 Date: 2016-08-30 16:29 +0200 http://bitbucket.org/pypy/pypy/changeset/8887dd513fe1/ Log:work around hard-coded pypy_header0 in funcgen.py (should be fixed differently) diff --git a/rpython/memory/gc/qcgc.py b/rp

[pypy-commit] pypy quad-color-gc: fix wrong graph generation by setting the return variable to NULL

2016-08-30 Thread Raemi
Author: Remi Meier Branch: quad-color-gc Changeset: r86744:626823d6d294 Date: 2016-08-30 16:27 +0200 http://bitbucket.org/pypy/pypy/changeset/626823d6d294/ Log:fix wrong graph generation by setting the return variable to NULL diff --git a/rpython/memory/gctransform/qcgcframework.py b/rpytho

[pypy-commit] stmgc use-gcc: implement noconflict objects

2015-09-16 Thread Raemi
Author: Remi Meier Branch: use-gcc Changeset: r1960:10e4734e83c7 Date: 2015-09-16 10:49 +0200 http://bitbucket.org/pypy/stmgc/changeset/10e4734e83c7/ Log:implement noconflict objects diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -12,7 +12,7 @@ {

[pypy-commit] stmgc c8-faster-smallobj-sync: Merge with use-gcc

2015-09-16 Thread Raemi
Author: Remi Meier Branch: c8-faster-smallobj-sync Changeset: r1959:7c57425824e9 Date: 2015-09-15 09:52 +0200 http://bitbucket.org/pypy/stmgc/changeset/7c57425824e9/ Log:Merge with use-gcc diff --git a/c8/TODO b/c8/TODO --- a/c8/TODO +++ b/c8/TODO @@ -1,3 +1,10 @@ +- stm_identityhash spends

[pypy-commit] stmgc default: make use-gcc the new default

2015-09-16 Thread Raemi
Author: Remi Meier Branch: Changeset: r1961:6ca47dad66a6 Date: 2015-09-16 10:50 +0200 http://bitbucket.org/pypy/stmgc/changeset/6ca47dad66a6/ Log:make use-gcc the new default diff too long, truncating to 2000 out of 2714 lines diff --git a/c7/demo/Makefile b/c7/demo/Makefile --- a/c7/demo/

[pypy-commit] pypy stmgc-c8-gcc: add rstm.allocate_noconflict()

2015-09-16 Thread Raemi
Author: Remi Meier Branch: stmgc-c8-gcc Changeset: r79655:c657942f1620 Date: 2015-09-16 11:26 +0200 http://bitbucket.org/pypy/pypy/changeset/c657942f1620/ Log:add rstm.allocate_noconflict() diff --git a/rpython/memory/gctransform/stmframework.py b/rpython/memory/gctransform/stmframework.py

[pypy-commit] pypy stmgc-c8-gcc: import stmgc with noconflict objects

2015-09-16 Thread Raemi
Author: Remi Meier Branch: stmgc-c8-gcc Changeset: r79654:296077e0562c Date: 2015-09-16 10:55 +0200 http://bitbucket.org/pypy/pypy/changeset/296077e0562c/ Log:import stmgc with noconflict objects diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision

[pypy-commit] pypy stmgc-c8-gcc: wip: making mapdict_cache a noconflict object

2015-09-16 Thread Raemi
Author: Remi Meier Branch: stmgc-c8-gcc Changeset: r79657:12865f558081 Date: 2015-09-16 15:43 +0200 http://bitbucket.org/pypy/pypy/changeset/12865f558081/ Log:wip: making mapdict_cache a noconflict object diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py --- a/pypy/obj

[pypy-commit] pypy stmgc-c8-gcc: add varsize variant

2015-09-16 Thread Raemi
Author: Remi Meier Branch: stmgc-c8-gcc Changeset: r79656:4fac55ea7358 Date: 2015-09-16 13:48 +0200 http://bitbucket.org/pypy/pypy/changeset/4fac55ea7358/ Log:add varsize variant diff --git a/rpython/memory/gctransform/stmframework.py b/rpython/memory/gctransform/stmframework.py --- a/rpyth

[pypy-commit] pypy stmgc-c8-gcc: test reproducing the problem

2015-09-17 Thread Raemi
Author: Remi Meier Branch: stmgc-c8-gcc Changeset: r79666:7942aa26d427 Date: 2015-09-17 10:58 +0200 http://bitbucket.org/pypy/pypy/changeset/7942aa26d427/ Log:test reproducing the problem diff --git a/rpython/translator/stm/test/test_ztranslated.py b/rpython/translator/stm/test/test_ztransl

[pypy-commit] stmgc default: add XXX about possible performance issue

2015-09-17 Thread Raemi
Author: Remi Meier Branch: Changeset: r1962:41227d7659ac Date: 2015-09-17 16:07 +0200 http://bitbucket.org/pypy/stmgc/changeset/41227d7659ac/ Log:add XXX about possible performance issue diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -424,6 +424,8 @@

[pypy-commit] pypy stmgc-c8-gcc: The problem in the previous commit seems to be that INVALID_CACHE_ENTRY is

2015-09-17 Thread Raemi
Author: Remi Meier Branch: stmgc-c8-gcc Changeset: r79670:9ca388f9503e Date: 2015-09-17 17:58 +0200 http://bitbucket.org/pypy/pypy/changeset/9ca388f9503e/ Log:The problem in the previous commit seems to be that INVALID_CACHE_ENTRY is prebuilt. It is enough to make it not prebu

[pypy-commit] pypy stmgc-c8-gcc: reenable mapdict cache and method cache (needs testing)

2015-09-17 Thread Raemi
Author: Remi Meier Branch: stmgc-c8-gcc Changeset: r79671:72a2bd026996 Date: 2015-09-17 17:59 +0200 http://bitbucket.org/pypy/pypy/changeset/72a2bd026996/ Log:reenable mapdict cache and method cache (needs testing) diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy

[pypy-commit] pypy stmgc-c8-gcc: update TODO

2015-09-18 Thread Raemi
Author: Remi Meier Branch: stmgc-c8-gcc Changeset: r79685:6f9104e6177d Date: 2015-09-18 14:03 +0200 http://bitbucket.org/pypy/pypy/changeset/6f9104e6177d/ Log:update TODO diff --git a/TODO b/TODO --- a/TODO +++ b/TODO @@ -1,25 +1,50 @@ ---

[pypy-commit] benchmarks default: add lee-routing benchmark for STM

2015-11-05 Thread Raemi
Author: Remi Meier Branch: Changeset: r338:c2a9d75029be Date: 2015-11-05 12:27 +0100 http://bitbucket.org/pypy/benchmarks/changeset/c2a9d75029be/ Log:add lee-routing benchmark for STM We are 11x slower for sparseshort.txt and 2x for sparselong.txt using pypy with STM enabled

[pypy-commit] stmgc default: emit DETACH/REATTACH events when detaching/reattaching an inevitable transaction

2015-11-05 Thread Raemi
Author: Remi Meier Branch: Changeset: r1963:6397419657be Date: 2015-11-05 14:17 +0100 http://bitbucket.org/pypy/stmgc/changeset/6397419657be/ Log:emit DETACH/REATTACH events when detaching/reattaching an inevitable transaction diff --git a/c8/stmgc.h b/c8/stmgc.h --- a/c8/stmgc.h ++

[pypy-commit] pypy stmgc-c8: update stm_log tools for new DETACH/REATTACH events

2015-11-05 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r80545:91fd46a1c483 Date: 2015-11-05 14:19 +0100 http://bitbucket.org/pypy/pypy/changeset/91fd46a1c483/ Log:update stm_log tools for new DETACH/REATTACH events diff --git a/pypy/stm/plot_stm_log.py b/pypy/stm/plot_stm_log.py --- a/pypy/stm/plot_

[pypy-commit] pypy stmgc-c8: print some more statistics

2015-11-05 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r80546:1ae8e80dce84 Date: 2015-11-05 14:35 +0100 http://bitbucket.org/pypy/pypy/changeset/1ae8e80dce84/ Log:print some more statistics 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/

[pypy-commit] stmgc default: 6397419657be done better (DETACH/REATTACH events)

2015-11-05 Thread Raemi
Author: Remi Meier Branch: Changeset: r1966:28751d82e012 Date: 2015-11-05 17:12 +0100 http://bitbucket.org/pypy/stmgc/changeset/28751d82e012/ Log:6397419657be done better (DETACH/REATTACH events) diff --git a/c8/stm/core.c b/c8/stm/core.c --- a/c8/stm/core.c +++ b/c8/stm/core.c @@ -1374,6 +

[pypy-commit] benchmarks default: add optimized lee router

2015-11-06 Thread Raemi
Author: Remi Meier Branch: Changeset: r339:08504e346e20 Date: 2015-11-06 15:47 +0100 http://bitbucket.org/pypy/benchmarks/changeset/08504e346e20/ Log:add optimized lee router This version's goal is to work well with TM. The original benchmark violated the assumption that the

[pypy-commit] pypy stmgc-c8: Merge

2015-11-13 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r80657:5a0d15e9f510 Date: 2015-11-13 10:40 +0100 http://bitbucket.org/pypy/pypy/changeset/5a0d15e9f510/ Log:Merge diff --git a/pypy/module/pypystm/hashtable.py b/pypy/module/pypystm/hashtable.py --- a/pypy/module/pypystm/hashtable.py +++ b/pypy/

[pypy-commit] pypy stmgc-c8: fix to allow showing loops again

2015-11-13 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r80662:6612707f9f93 Date: 2015-11-13 13:19 +0100 http://bitbucket.org/pypy/pypy/changeset/6612707f9f93/ Log:fix to allow showing loops again diff --git a/rpython/jit/metainterp/graphpage.py b/rpython/jit/metainterp/graphpage.py --- a/rpython/ji

[pypy-commit] pypy stmgc-c8: add legend to plot_stm_log.py

2015-11-16 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r80715:57ece712776f Date: 2015-11-16 16:06 +0100 http://bitbucket.org/pypy/pypy/changeset/57ece712776f/ Log:add legend to plot_stm_log.py diff --git a/pypy/stm/plot_stm_log.py b/pypy/stm/plot_stm_log.py --- a/pypy/stm/plot_stm_log.py +++ b/pypy/

[pypy-commit] benchmarks default: fix Java compatibility

2015-11-17 Thread Raemi
Author: Remi Meier Branch: Changeset: r340:843b75028091 Date: 2015-11-17 10:56 +0100 http://bitbucket.org/pypy/benchmarks/changeset/843b75028091/ Log:fix Java compatibility diff --git a/multithread/lee_routing/lee_router.py b/multithread/lee_routing/lee_router.py --- a/multithread/lee_rout

[pypy-commit] pypy stmgc-c8: workaround for the JIT not emitting DETACH/REATTACH

2015-11-17 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r80728:baa17f78bbb4 Date: 2015-11-17 13:25 +0100 http://bitbucket.org/pypy/pypy/changeset/baa17f78bbb4/ Log:workaround for the JIT not emitting DETACH/REATTACH _build_stm_enter_leave_transactional_zone_helpers does not emit DETAC

[pypy-commit] pypy stmgc-c8: Merge with default

2015-11-18 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r80747:6971eb50f3ff Date: 2015-11-18 09:23 +0100 http://bitbucket.org/pypy/pypy/changeset/6971eb50f3ff/ Log:Merge with default diff too long, truncating to 2000 out of 3927 lines diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -56

[pypy-commit] pypy stmgc-c8: fix merge

2015-11-18 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r80748:c8079c4b84d1 Date: 2015-11-18 09:35 +0100 http://bitbucket.org/pypy/pypy/changeset/c8079c4b84d1/ Log:fix merge diff --git a/rpython/jit/backend/llsupport/stmrewrite.py b/rpython/jit/backend/llsupport/stmrewrite.py --- a/rpython/jit/backe

[pypy-commit] benchmarks default: TM benchmark tuning

2015-11-18 Thread Raemi
Author: Remi Meier Branch: Changeset: r341:2c38edec82f1 Date: 2015-11-18 13:40 +0100 http://bitbucket.org/pypy/benchmarks/changeset/2c38edec82f1/ Log:TM benchmark tuning diff --git a/multithread/lee_routing/lee_router_tm.py b/multithread/lee_routing/lee_router_tm.py --- a/multithread/lee_r

[pypy-commit] benchmarks default: fix use of wrong data structure

2015-11-18 Thread Raemi
Author: Remi Meier Branch: Changeset: r342:1b2b48c6a787 Date: 2015-11-18 14:46 +0100 http://bitbucket.org/pypy/benchmarks/changeset/1b2b48c6a787/ Log:fix use of wrong data structure diff --git a/multithread/lee_routing/lee_router_tm.py b/multithread/lee_routing/lee_router_tm.py --- a/multi

[pypy-commit] pypy stmgc-c8: remove some cases where we became inevitable unnecessarily

2015-11-19 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r80770:1fc1326bc941 Date: 2015-11-19 12:18 +0100 http://bitbucket.org/pypy/pypy/changeset/1fc1326bc941/ Log:remove some cases where we became inevitable unnecessarily AFAICS, "pure" in llmodel means "don't become inevitable" and

[pypy-commit] stmgc default: free large overflow objs on abort

2015-11-19 Thread Raemi
Author: Remi Meier Branch: Changeset: r1969:e3071642fd5c Date: 2015-11-19 16:42 +0100 http://bitbucket.org/pypy/stmgc/changeset/e3071642fd5c/ Log:free large overflow objs on abort Benchmarks show (e.g. lee routing) that the more threads we run, the longer major GCs take (bc.

[pypy-commit] benchmarks default: some cleanup

2015-11-23 Thread Raemi
Author: Remi Meier Branch: Changeset: r343:770e56a1296f Date: 2015-11-23 11:23 +0100 http://bitbucket.org/pypy/benchmarks/changeset/770e56a1296f/ Log:some cleanup diff --git a/multithread/lee_routing/lee_router_tm.py b/multithread/lee_routing/lee_router_tm.py --- a/multithread/lee_routing/

[pypy-commit] pypy stmgc-c8: import stmgc

2015-11-23 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r80853:f41aa8585729 Date: 2015-11-23 11:24 +0100 http://bitbucket.org/pypy/pypy/changeset/f41aa8585729/ Log:import stmgc diff --git a/rpython/translator/stm/src_stm/revision b/rpython/translator/stm/src_stm/revision --- a/rpython/translator/stm

[pypy-commit] stmgc default: avoid triggering a segfault to call a function

2015-11-23 Thread Raemi
Author: Remi Meier Branch: Changeset: r1971:d31c9f671775 Date: 2015-11-23 14:23 +0100 http://bitbucket.org/pypy/stmgc/changeset/d31c9f671775/ Log:avoid triggering a segfault to call a function Apparently, the obvious thing to do is not always obvious. diff --git a/c8/stm/core.c b/c

[pypy-commit] pypy stmgc-c8: import stmgc

2015-11-23 Thread Raemi
Author: Remi Meier Branch: stmgc-c8 Changeset: r80856:30d48688fee4 Date: 2015-11-23 14:38 +0100 http://bitbucket.org/pypy/pypy/changeset/30d48688fee4/ Log:import stmgc (~20% reduction in 'sys' time observed, 1.2s -> 1.0s) diff --git a/rpython/translator/stm/src_stm/revision b/rpyth

[pypy-commit] stmgc default: make slow tests run last

2015-11-23 Thread Raemi
Author: Remi Meier Branch: Changeset: r1970:c00e63d20b20 Date: 2015-11-23 14:09 +0100 http://bitbucket.org/pypy/stmgc/changeset/c00e63d20b20/ Log:make slow tests run last I was finally annoyed enough. diff --git a/c8/test/test_demo.py b/c8/test/test_ydemo.py rename from c8/test/tes

  1   2   3   4   5   6   7   8   9   10   >