Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r60465:a1998ce7cac6
Date: 2013-01-25 17:39 +0100
http://bitbucket.org/pypy/pypy/changeset/a1998ce7cac6/

Log:    Oups. This is needed to correctly initialize the GC; otherwise, if
        we're unluckly, the first grab_frame_values() will trigger
        collection because we didn't lower the limit so far.

diff --git a/rpython/jit/backend/x86/runner.py 
b/rpython/jit/backend/x86/runner.py
--- a/rpython/jit/backend/x86/runner.py
+++ b/rpython/jit/backend/x86/runner.py
@@ -64,6 +64,7 @@
     def setup_once(self):
         self.profile_agent.startup()
         self.assembler.setup_once()
+        self.gc_set_extra_threshold()
 
     def finish_once(self):
         self.assembler.finish_once()
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to