[pypy-commit] pypy look-into-thread: don't look into a function that does add_memory_pressure. We should fix it

fijal noreply at buildbot.pypy.org
Tue Jan 10 11:52:50 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: look-into-thread
Changeset: r51197:a72a6f955660
Date: 2012-01-10 12:52 +0200
http://bitbucket.org/pypy/pypy/changeset/a72a6f955660/

Log:	don't look into a function that does add_memory_pressure. We should
	fix it one day

diff --git a/pypy/module/thread/ll_thread.py b/pypy/module/thread/ll_thread.py
--- a/pypy/module/thread/ll_thread.py
+++ b/pypy/module/thread/ll_thread.py
@@ -156,6 +156,7 @@
 
 null_ll_lock = lltype.nullptr(TLOCKP.TO)
 
+ at jit.dont_look_inside
 def allocate_ll_lock():
     # track_allocation=False here; be careful to lltype.free() it.  The
     # reason it is set to False is that we get it from all app-level


More information about the pypy-commit mailing list