[pypy-commit] pypy default: Contributions welcome.

2014-03-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r70304:1ba0c12f17da Date: 2014-03-27 10:44 +0100 http://bitbucket.org/pypy/pypy/changeset/1ba0c12f17da/ Log:Contributions welcome. diff --git a/pypy/doc/stackless.rst b/pypy/doc/stackless.rst --- a/pypy/doc/stackless.rst +++ b/pypy/doc/stackless.rst @@

[pypy-commit] stmgc default: make HTM work sometimes: copy nearly all logic from paper about ruby; don't

2014-03-27 Thread Remi Meier
Author: Remi Meier Branch: Changeset: r1099:ae1a7d62c9a2 Date: 2014-03-27 11:12 +0100 http://bitbucket.org/pypy/stmgc/changeset/ae1a7d62c9a2/ Log:make HTM work sometimes: copy nearly all logic from paper about ruby; don't clean whole nursery on commit, only used parts (always

[pypy-commit] lang-smalltalk storage: Made _w_self and space fields of Shadows immutable.

2014-03-27 Thread anton_gulenko
Author: Anton Gulenko Branch: storage Changeset: r706:9ef7a4c22818 Date: 2014-03-27 11:52 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/9ef7a4c22818/ Log:Made _w_self and space fields of Shadows immutable. Added some additional __repr__ info to shadows. Fixed finding name o

[pypy-commit] lang-smalltalk storage: Removed obsolete method primsize().

2014-03-27 Thread anton_gulenko
Author: Anton Gulenko Branch: storage Changeset: r704:4afcf60689ed Date: 2014-03-27 10:27 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/4afcf60689ed/ Log:Removed obsolete method primsize(). Removed space reference from PointersObjects (available in their shadow object). Tri

[pypy-commit] lang-smalltalk storage: Only ClassShadow provides information for printing their objects.

2014-03-27 Thread anton_gulenko
Author: Anton Gulenko Branch: storage Changeset: r705:f7c638fc25ac Date: 2014-03-27 10:32 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/f7c638fc25ac/ Log:Only ClassShadow provides information for printing their objects. diff --git a/spyvm/shadow.py b/spyvm/shadow.py --- a/spyvm/sh

[pypy-commit] stmgc default: tweaks and some stats

2014-03-27 Thread Remi Meier
Author: Remi Meier Branch: Changeset: r1100:49dc2a80331b Date: 2014-03-27 13:05 +0100 http://bitbucket.org/pypy/stmgc/changeset/49dc2a80331b/ Log:tweaks and some stats diff --git a/duhton/demo/micro_transactions.duh b/duhton/demo/micro_transactions.duh new file mode 100644 --- /dev/null +++

[pypy-commit] stmgc default: use a thread-local malloc for old objects

2014-03-27 Thread Remi Meier
Author: Remi Meier Branch: Changeset: r1102:f8e743eb8011 Date: 2014-03-27 14:08 +0100 http://bitbucket.org/pypy/stmgc/changeset/f8e743eb8011/ Log:use a thread-local malloc for old objects diff --git a/htm-c7/stmgc.c b/htm-c7/stmgc.c --- a/htm-c7/stmgc.c +++ b/htm-c7/stmgc.c @@ -138,8 +138,24

[pypy-commit] stmgc default: add htm_transaction_info

2014-03-27 Thread Remi Meier
Author: Remi Meier Branch: Changeset: r1101:f0d63700 Date: 2014-03-27 13:58 +0100 http://bitbucket.org/pypy/stmgc/changeset/f0d63700/ Log:add htm_transaction_info diff --git a/htm-c7/stmgc.c b/htm-c7/stmgc.c --- a/htm-c7/stmgc.c +++ b/htm-c7/stmgc.c @@ -16,12 +16,14 @@ static __thre

[pypy-commit] stmgc default: merge heads

2014-03-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r1105:eb3d1810eec8 Date: 2014-03-27 14:23 +0100 http://bitbucket.org/pypy/stmgc/changeset/eb3d1810eec8/ Log:merge heads diff --git a/htm-c7/stmgc.c b/htm-c7/stmgc.c --- a/htm-c7/stmgc.c +++ b/htm-c7/stmgc.c @@ -16,12 +16,14 @@ static __thread int gil_t

[pypy-commit] stmgc default: Failed to measure any difference in performance, keeping it around for now as it shouldn't hurt

2014-03-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r1104:d9f6900ea6ab Date: 2014-03-27 14:23 +0100 http://bitbucket.org/pypy/stmgc/changeset/d9f6900ea6ab/ Log:Failed to measure any difference in performance, keeping it around for now as it shouldn't hurt diff --git a/c7/stm/pages.c b/c7/stm/page

[pypy-commit] stmgc default: The nursery page's read markers are never read, but must still be writeable. We'd

2014-03-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r1103:785dafe38e34 Date: 2014-03-27 14:07 +0100 http://bitbucket.org/pypy/stmgc/changeset/785dafe38e34/ Log:The nursery page's read markers are never read, but must still be writeable. We'd like to map the pages to a general "trash page";

[pypy-commit] lang-smalltalk storage: Added code for specialized storage strategies.

2014-03-27 Thread anton_gulenko
Author: Anton Gulenko Branch: storage Changeset: r708:969853688ab7 Date: 2014-03-27 14:47 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/969853688ab7/ Log:Added code for specialized storage strategies. Fillin-sequence has to be done recursively, in order for the specialized

[pypy-commit] lang-smalltalk storage: Added and fixed test_strategies.py, added empty classes for special strategy storage.

2014-03-27 Thread anton_gulenko
Author: Anton Gulenko Branch: storage Changeset: r707:b0835c943e0b Date: 2014-03-27 12:08 +0100 http://bitbucket.org/pypy/lang-smalltalk/changeset/b0835c943e0b/ Log:Added and fixed test_strategies.py, added empty classes for special strategy storage. diff --git a/spyvm/shadow.py b/sp

[pypy-commit] stmgc default: fix obvious HTM disabler

2014-03-27 Thread Remi Meier
Author: Remi Meier Branch: Changeset: r1106:af451d3e606c Date: 2014-03-27 14:57 +0100 http://bitbucket.org/pypy/stmgc/changeset/af451d3e606c/ Log:fix obvious HTM disabler diff --git a/htm-c7/htm.h b/htm-c7/htm.h --- a/htm-c7/htm.h +++ b/htm-c7/htm.h @@ -18,6 +18,7 @@ #define XBEGIN_XABORT_A

[pypy-commit] pypy stmgc-c7: cast_ptr_to_int on non-gc objects is by itself not dangerous

2014-03-27 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70305:09f9774d8d28 Date: 2014-03-27 15:26 +0100 http://bitbucket.org/pypy/pypy/changeset/09f9774d8d28/ Log:cast_ptr_to_int on non-gc objects is by itself not dangerous diff --git a/rpython/translator/c/funcgen.py b/rpython/translator/c/funcgen.

[pypy-commit] pypy stmgc-c7: Fix: ll_int2hex turned inevitable

2014-03-27 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70306:f7a704c145ed Date: 2014-03-27 15:31 +0100 http://bitbucket.org/pypy/pypy/changeset/f7a704c145ed/ Log:Fix: ll_int2hex turned inevitable diff --git a/rpython/rtyper/lltypesystem/ll_str.py b/rpython/rtyper/lltypesystem/ll_str.py --- a/rpyth

[pypy-commit] pypy stmgc-c7: Make some of the time.*() functions transaction-safe. The rest is not reentrant (maybe we should use ctime_r etc.?)

2014-03-27 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70307:64ff5f5f4ec8 Date: 2014-03-27 15:47 +0100 http://bitbucket.org/pypy/pypy/changeset/64ff5f5f4ec8/ Log:Make some of the time.*() functions transaction-safe. The rest is not reentrant (maybe we should use ctime_r etc.?) diff --git a/

[pypy-commit] pypy stmgc-c7: Some more transaction-safety.

2014-03-27 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70308:c1aa7aff6a7e Date: 2014-03-27 15:50 +0100 http://bitbucket.org/pypy/pypy/changeset/c1aa7aff6a7e/ Log:Some more transaction-safety. diff --git a/rpython/rtyper/module/ll_time.py b/rpython/rtyper/module/ll_time.py --- a/rpython/rtyper/modul

[pypy-commit] stmgc default: tweaks

2014-03-27 Thread Remi Meier
Author: Remi Meier Branch: Changeset: r1107:422ecbbbfa4e Date: 2014-03-27 15:21 +0100 http://bitbucket.org/pypy/stmgc/changeset/422ecbbbfa4e/ Log:tweaks diff --git a/duhton/demo/micro_transactions.duh b/duhton/demo/micro_transactions.duh --- a/duhton/demo/micro_transactions.duh +++ b/duhton

[pypy-commit] pypy stmgc-c7: Fix: must not use cast_ptr_to_int() here

2014-03-27 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70309:1f5cf3792b5d Date: 2014-03-27 16:37 +0100 http://bitbucket.org/pypy/pypy/changeset/1f5cf3792b5d/ Log:Fix: must not use cast_ptr_to_int() here diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py --- a/rpytho

[pypy-commit] stmgc default: make htm-c7 pypy-compatible

2014-03-27 Thread Remi Meier
Author: Remi Meier Branch: Changeset: r1108:f6d1d934b8ab Date: 2014-03-27 16:42 +0100 http://bitbucket.org/pypy/stmgc/changeset/f6d1d934b8ab/ Log:make htm-c7 pypy-compatible diff --git a/htm-c7/stmgc.h b/htm-c7/stmgc.h --- a/htm-c7/stmgc.h +++ b/htm-c7/stmgc.h @@ -21,7 +21,7 @@ extern __thr

[pypy-commit] stmgc default: wah, some more obvious fixes

2014-03-27 Thread Remi Meier
Author: Remi Meier Branch: Changeset: r1109:ef9851277c7c Date: 2014-03-27 17:54 +0100 http://bitbucket.org/pypy/stmgc/changeset/ef9851277c7c/ Log:wah, some more obvious fixes diff --git a/htm-c7/stmgc.c b/htm-c7/stmgc.c --- a/htm-c7/stmgc.c +++ b/htm-c7/stmgc.c @@ -4,8 +4,9 @@ #include "htm

[pypy-commit] stmgc default: some tweaks that didn't help

2014-03-27 Thread Remi Meier
Author: Remi Meier Branch: Changeset: r1110:5a0622b6bff5 Date: 2014-03-27 18:59 +0100 http://bitbucket.org/pypy/stmgc/changeset/5a0622b6bff5/ Log:some tweaks that didn't help diff --git a/htm-c7/stmgc.c b/htm-c7/stmgc.c --- a/htm-c7/stmgc.c +++ b/htm-c7/stmgc.c @@ -8,8 +8,8 @@ //struct stm_

[pypy-commit] pypy stmgc-c7: HTM adaptions

2014-03-27 Thread Remi Meier
Author: Remi Meier Branch: stmgc-c7 Changeset: r70310:c62679ce9830 Date: 2014-03-27 19:01 +0100 http://bitbucket.org/pypy/pypy/changeset/c62679ce9830/ Log:HTM adaptions diff --git a/rpython/translator/stm/src_stm/stmgcintf.c b/rpython/translator/stm/src_stm/stmgcintf.c --- a/rpython/translat

[pypy-commit] pypy stmgc-c7: Revert of some old and recent checkins, getting rid of cast_current_ptr_to_int again. It's not

2014-03-27 Thread arigo
Author: Armin Rigo Branch: stmgc-c7 Changeset: r70311:9fd001585246 Date: 2014-03-27 19:24 +0100 http://bitbucket.org/pypy/pypy/changeset/9fd001585246/ Log:Revert of some old and recent checkins, getting rid of cast_current_ptr_to_int again. It's not different any more from the