[pypy-commit] pypy default: Translation fix: jit.set_param() is not supported with None if

2013-10-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r67760:00579deb9c76 Date: 2013-10-31 09:23 +0100 http://bitbucket.org/pypy/pypy/changeset/00579deb9c76/ Log:Translation fix: jit.set_param() is not supported with None if seen itself by the jit (for now). diff --git a/pypy/interpreter/executionc

[pypy-commit] pypy default: Tweak 'more_objects_to_trace' to avoid recording *all* surviving young

2013-10-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r67761:e2cc638553ad Date: 2013-10-31 09:18 +0100 http://bitbucket.org/pypy/pypy/changeset/e2cc638553ad/ Log:Tweak 'more_objects_to_trace' to avoid recording *all* surviving young objects during the marking phase. diff --git a/rpython/memory/gc/i

[pypy-commit] pypy jit-counter: Fix for tests: some tests use trace_eagerness=1

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67763:1c80e5ce5fdc Date: 2013-10-31 11:53 +0100 http://bitbucket.org/pypy/pypy/changeset/1c80e5ce5fdc/ Log:Fix for tests: some tests use trace_eagerness=1 diff --git a/rpython/jit/metainterp/counter.py b/rpython/jit/metainterp/counter.py --

[pypy-commit] pypy jit-counter: Kill this test, now outdated

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67764:552b94e23692 Date: 2013-10-31 11:53 +0100 http://bitbucket.org/pypy/pypy/changeset/552b94e23692/ Log:Kill this test, now outdated diff --git a/rpython/jit/metainterp/test/test_compile.py b/rpython/jit/metainterp/test/test_compile.py -

[pypy-commit] pypy jit-counter: Fix more tests

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67765:f8b0657d3fb4 Date: 2013-10-31 12:01 +0100 http://bitbucket.org/pypy/pypy/changeset/f8b0657d3fb4/ Log:Fix more tests diff --git a/rpython/jit/metainterp/test/test_memmgr.py b/rpython/jit/metainterp/test/test_memmgr.py --- a/rpython/jit

[pypy-commit] pypy jit-counter: Fix: the hash was miscomputed

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67766:078369425c4e Date: 2013-10-31 12:11 +0100 http://bitbucket.org/pypy/pypy/changeset/078369425c4e/ Log:Fix: the hash was miscomputed diff --git a/rpython/jit/metainterp/warmstate.py b/rpython/jit/metainterp/warmstate.py --- a/rpython/ji

[pypy-commit] pypy jit-counter: Fix for guard counters, more test fixes

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67767:f2bdf363205b Date: 2013-10-31 12:21 +0100 http://bitbucket.org/pypy/pypy/changeset/f2bdf363205b/ Log:Fix for guard counters, more test fixes diff --git a/rpython/jit/metainterp/counter.py b/rpython/jit/metainterp/counter.py --- a/rpyt

[pypy-commit] pypy jit-counter: Test fix: force turning AddressAsInt into real ints for hashing

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67769:14343c11219f Date: 2013-10-31 12:43 +0100 http://bitbucket.org/pypy/pypy/changeset/14343c11219f/ Log:Test fix: force turning AddressAsInt into real ints for hashing diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainte

[pypy-commit] pypy jit-counter: Fix: if we have a compile_tmp_callback in a JitCell, use the jitcounter anyway

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67768:81f6d24ea133 Date: 2013-10-31 12:38 +0100 http://bitbucket.org/pypy/pypy/changeset/81f6d24ea133/ Log:Fix: if we have a compile_tmp_callback in a JitCell, use the jitcounter anyway to know when we have to really compile it. diff

[pypy-commit] pypy jit-counter: Expand the docstring

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67773:42b5b4e34f4d Date: 2013-10-31 12:53 +0100 http://bitbucket.org/pypy/pypy/changeset/42b5b4e34f4d/ Log:Expand the docstring diff --git a/rpython/jit/metainterp/counter.py b/rpython/jit/metainterp/counter.py --- a/rpython/jit/metainterp/

[pypy-commit] pypy jit-counter: Test fix

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67770:aad0c3f309c9 Date: 2013-10-31 12:48 +0100 http://bitbucket.org/pypy/pypy/changeset/aad0c3f309c9/ Log:Test fix diff --git a/rpython/jit/metainterp/optimizeopt/test/test_util.py b/rpython/jit/metainterp/optimizeopt/test/test_util.py ---

[pypy-commit] pypy jit-counter: Translation fix

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67772:5a1e8921b8f3 Date: 2013-10-31 12:51 +0100 http://bitbucket.org/pypy/pypy/changeset/5a1e8921b8f3/ Log:Translation fix diff --git a/rpython/jit/metainterp/counter.py b/rpython/jit/metainterp/counter.py --- a/rpython/jit/metainterp/count

[pypy-commit] pypy jit-counter: Fix test

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67771:9b42bd9dfbe7 Date: 2013-10-31 12:50 +0100 http://bitbucket.org/pypy/pypy/changeset/9b42bd9dfbe7/ Log:Fix test diff --git a/rpython/jit/metainterp/test/test_counter.py b/rpython/jit/metainterp/test/test_counter.py --- a/rpython/jit/met

[pypy-commit] pypy default: Baaah. This was testing the base MiniMarkGC class, not

2013-10-31 Thread arigo
Author: Armin Rigo Branch: Changeset: r67776:748abf94a70d Date: 2013-10-31 13:29 +0100 http://bitbucket.org/pypy/pypy/changeset/748abf94a70d/ Log:Baaah. This was testing the base MiniMarkGC class, not IncrementalMiniMarkGC. diff --git a/rpython/memory/test/test_transformed_gc.py b/

[pypy-commit] pypy jit-counter: Call decay_all_counters() in the first case promized by its

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67775:fa73334ff040 Date: 2013-10-31 13:05 +0100 http://bitbucket.org/pypy/pypy/changeset/fa73334ff040/ Log:Call decay_all_counters() in the first case promized by its documentation. diff --git a/rpython/jit/metainterp/counter.py b/r

[pypy-commit] pypy jit-counter: Add a hook to call the decay_all_counters() function after each

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67778:10ff42dc1b73 Date: 2013-10-31 13:43 +0100 http://bitbucket.org/pypy/pypy/changeset/10ff42dc1b73/ Log:Add a hook to call the decay_all_counters() function after each minor collection. Currently only implemented with incminimark.

[pypy-commit] pypy jit-counter: hg merge default

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r6:937ac145d398 Date: 2013-10-31 13:42 +0100 http://bitbucket.org/pypy/pypy/changeset/937ac145d398/ Log:hg merge default diff --git a/rpython/memory/test/test_transformed_gc.py b/rpython/memory/test/test_transformed_gc.py --- a/rpython/m

[pypy-commit] pypy jit-counter: Fix for 64-bit

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67779:bd9018c25b45 Date: 2013-10-31 13:55 +0100 http://bitbucket.org/pypy/pypy/changeset/bd9018c25b45/ Log:Fix for 64-bit diff --git a/rpython/jit/metainterp/counter.py b/rpython/jit/metainterp/counter.py --- a/rpython/jit/metainterp/counte

[pypy-commit] pypy jit-counter: Yargh

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67781:4742af107d39 Date: 2013-10-31 14:27 +0100 http://bitbucket.org/pypy/pypy/changeset/4742af107d39/ Log:Yargh diff --git a/rpython/jit/metainterp/warmstate.py b/rpython/jit/metainterp/warmstate.py --- a/rpython/jit/metainterp/warmstate.p

[pypy-commit] pypy jit-counter: Kill dead code now

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67780:55bf00a5a0a2 Date: 2013-10-31 14:23 +0100 http://bitbucket.org/pypy/pypy/changeset/55bf00a5a0a2/ Log:Kill dead code now diff --git a/pypy/module/pypyjit/interp_jit.py b/pypy/module/pypyjit/interp_jit.py --- a/pypy/module/pypyjit/inter

[pypy-commit] pypy jit-counter: More of the same

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67783:17d7a1ae1a69 Date: 2013-10-31 14:52 +0100 http://bitbucket.org/pypy/pypy/changeset/17d7a1ae1a69/ Log:More of the same diff --git a/rpython/jit/metainterp/warmstate.py b/rpython/jit/metainterp/warmstate.py --- a/rpython/jit/metainterp/

[pypy-commit] pypy jit-counter: triviality

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67782:d52de5c7b0f7 Date: 2013-10-31 14:35 +0100 http://bitbucket.org/pypy/pypy/changeset/d52de5c7b0f7/ Log:triviality diff --git a/rpython/jit/metainterp/counter.py b/rpython/jit/metainterp/counter.py --- a/rpython/jit/metainterp/counter.py

[pypy-commit] pypy jit-counter: Increase the size of the timetable cache. It seems to suffer from a bit

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67785:a8ce9a9c7f21 Date: 2013-10-31 17:15 +0100 http://bitbucket.org/pypy/pypy/changeset/a8ce9a9c7f21/ Log:Increase the size of the timetable cache. It seems to suffer from a bit too many collisions when running translate.py (not too

[pypy-commit] pypy jit-counter: Use systematically unsigned numbers for the timetable index.

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67786:78612a2b8a5a Date: 2013-10-31 17:27 +0100 http://bitbucket.org/pypy/pypy/changeset/78612a2b8a5a/ Log:Use systematically unsigned numbers for the timetable index. Generates a bit simpler code. diff --git a/rpython/jit/metainterp

[pypy-commit] pypy jit-counter: Turned out to be a bad idea to re-enable "don't-inline" functions after

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67784:d1b8053555be Date: 2013-10-31 17:11 +0100 http://bitbucket.org/pypy/pypy/changeset/d1b8053555be/ Log:Turned out to be a bad idea to re-enable "don't-inline" functions after a short while. Maybe after a long time would make sense

[pypy-commit] pypy jit-counter: Oups.

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67787:15a55bcf9518 Date: 2013-10-31 19:05 +0100 http://bitbucket.org/pypy/pypy/changeset/15a55bcf9518/ Log:Oups. diff --git a/rpython/memory/gctransform/framework.py b/rpython/memory/gctransform/framework.py --- a/rpython/memory/gctransform

[pypy-commit] pypy jit-counter: Adjust "decay" for measured usage (translate.py --annotate): massively

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67788:fd0ea52daeaf Date: 2013-10-31 21:48 +0100 http://bitbucket.org/pypy/pypy/changeset/fd0ea52daeaf/ Log:Adjust "decay" for measured usage (translate.py --annotate): massively reduce the per-minor-collection count, but not the per-

[pypy-commit] pypy jit-counter: Translation fix

2013-10-31 Thread arigo
Author: Armin Rigo Branch: jit-counter Changeset: r67789:9fcd5058364e Date: 2013-10-31 22:41 +0100 http://bitbucket.org/pypy/pypy/changeset/9fcd5058364e/ Log:Translation fix diff --git a/rpython/jit/metainterp/counter.py b/rpython/jit/metainterp/counter.py --- a/rpython/jit/metainterp/count