[pypy-commit] pypy concurrent-marksweep: Add notes about the parallel generational mark-sweep GC.

2011-10-22 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r48339:90d75dc66ada Date: 2011-10-22 11:20 +0200 http://bitbucket.org/pypy/pypy/changeset/90d75dc66ada/ Log:Add notes about the parallel generational mark-sweep GC. diff --git a/pypy/rpython/memory/gc/concurrentgen.py b/pypy/rpython

[pypy-commit] pypy default: mark a few functions in {str, unicode}.format as being unroll_safe. "{} {}".format(i, i) now generates very nice code

2011-10-22 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48340:9b572a41522b Date: 2011-10-22 07:27 -0700 http://bitbucket.org/pypy/pypy/changeset/9b572a41522b/ Log:mark a few functions in {str, unicode}.format as being unroll_safe. "{} {}".format(i, i) now generates very nice code diff --git a/pypy/

[pypy-commit] pypy virtual-dicts: Started on them, really just as simple as unrolling lookup and setitem for virtual dicts with constant keys. Next step is to teach virtualize.py about {get, set}inter

2011-10-22 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48342:15690256a200 Date: 2011-10-22 07:39 -0700 http://bitbucket.org/pypy/pypy/changeset/15690256a200/ Log:Started on them, really just as simple as unrolling lookup and setitem for virtual dicts with constant keys. Next step is to

[pypy-commit] pypy virtual-dicts: some progress, needs optimizeopt tests. also it blows up running the virtual dict test

2011-10-22 Thread alex_gaynor
Author: Alex Gaynor Branch: virtual-dicts Changeset: r48343:913dbc088237 Date: 2011-10-22 12:21 -0700 http://bitbucket.org/pypy/pypy/changeset/913dbc088237/ Log:some progress, needs optimizeopt tests. also it blows up running the virtual dict test diff --git a/pypy/jit/backend/llgrap

[pypy-commit] pypy concurrent-marksweep: Oups, forgot to add this file. It's needed in debug_lltrace.

2011-10-22 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r48344:eb5d8279f60e Date: 2011-10-22 21:36 +0200 http://bitbucket.org/pypy/pypy/changeset/eb5d8279f60e/ Log:Oups, forgot to add this file. It's needed in debug_lltrace. diff --git a/pypy/translator/c/src/atomic_ops.h b/pypy/translat

[pypy-commit] pypy concurrent-marksweep: In the middle of slow progress.

2011-10-22 Thread arigo
Author: Armin Rigo Branch: concurrent-marksweep Changeset: r48345:4e2e54d7f69e Date: 2011-10-22 21:37 +0200 http://bitbucket.org/pypy/pypy/changeset/4e2e54d7f69e/ Log:In the middle of slow progress. diff --git a/pypy/rpython/memory/gc/concurrentgen.py b/pypy/rpython/memory/gc/concurrentgen.

[pypy-commit] pypy py3k: Python3 renamed thread to _thread

2011-10-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48346:26fa76635221 Date: 2011-10-22 01:33 +0200 http://bitbucket.org/pypy/pypy/changeset/26fa76635221/ Log:Python3 renamed thread to _thread diff --git a/pypy/module/thread/__init__.py b/pypy/module/thread/__init__.py --- a/pypy/module/th

[pypy-commit] pypy py3k: Add _thread.TIMEOUT_MAX. Not used for now

2011-10-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48347:2e215c92d5ba Date: 2011-10-22 11:49 +0200 http://bitbucket.org/pypy/pypy/changeset/2e215c92d5ba/ Log:Add _thread.TIMEOUT_MAX. Not used for now diff --git a/pypy/module/thread/__init__.py b/pypy/module/thread/__init__.py --- a/pypy/m

[pypy-commit] pypy py3k: Implement timeout in thread.Lock.acquire()

2011-10-22 Thread amauryfa
Author: Amaury Forgeot d'Arc Branch: py3k Changeset: r48348:76b23a4c1483 Date: 2011-10-22 22:02 +0200 http://bitbucket.org/pypy/pypy/changeset/76b23a4c1483/ Log:Implement timeout in thread.Lock.acquire() diff --git a/pypy/module/thread/ll_thread.py b/pypy/module/thread/ll_thread.py --- a/pyp

[pypy-commit] pypy default: optimize int_floordiv(0, i) to always return 0.

2011-10-22 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48350:13caa6fd920e Date: 2011-10-22 17:01 -0700 http://bitbucket.org/pypy/pypy/changeset/13caa6fd920e/ Log:optimize int_floordiv(0, i) to always return 0. diff --git a/pypy/jit/metainterp/optimizeopt/rewrite.py b/pypy/jit/metainterp/optimizeopt/rewri

[pypy-commit] pypy default: a failing JIT test. it seems to fail because we try to cast an rpy_str to rclass.OBJECT, perhaps this operation is not allowed, but then the underlying code shouldn't trans

2011-10-22 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48351:9b942c1b56a8 Date: 2011-10-22 17:05 -0700 http://bitbucket.org/pypy/pypy/changeset/9b942c1b56a8/ Log:a failing JIT test. it seems to fail because we try to cast an rpy_str to rclass.OBJECT, perhaps this operation is not allowed, but

[pypy-commit] pypy default: failing test in optimizebasic form, if this code is invalid then this test can be removed

2011-10-22 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48352:6be78cdf609b Date: 2011-10-22 17:24 -0700 http://bitbucket.org/pypy/pypy/changeset/6be78cdf609b/ Log:failing test in optimizebasic form, if this code is invalid then this test can be removed diff --git a/pypy/jit/metainterp/optimizeopt/t

[pypy-commit] pypy default: disable virtualization for arrays of structs, to be fixed by the virtual-dicts branch. in practice this wasn't very useful because it only worked on empty dicts.

2011-10-22 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48353:d81036a102b3 Date: 2011-10-22 20:55 -0700 http://bitbucket.org/pypy/pypy/changeset/d81036a102b3/ Log:disable virtualization for arrays of structs, to be fixed by the virtual-dicts branch. in practice this wasn't very useful because

[pypy-commit] pypy default: fix translation

2011-10-22 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r48354:10f7167b3e98 Date: 2011-10-22 22:34 -0700 http://bitbucket.org/pypy/pypy/changeset/10f7167b3e98/ Log:fix translation diff --git a/pypy/jit/backend/llsupport/descr.py b/pypy/jit/backend/llsupport/descr.py --- a/pypy/jit/backend/llsupport/descr.p