Author: Armin Rigo <[email protected]>
Branch: marker
Changeset: r1174:889897f2f5ef
Date: 2014-04-20 10:53 +0200
http://bitbucket.org/pypy/stmgc/changeset/889897f2f5ef/
Log: bug fix
diff --git a/c7/stm/marker.c b/c7/stm/marker.c
--- a/c7/stm/marker.c
+++ b/c7/stm/marker.c
@@ -20,7 +20,9 @@
stm_thread_local_t *tl = pseg->pub.running_thread;
struct stm_shadowentry_s *current = tl->shadowstack - 1;
struct stm_shadowentry_s *base = tl->shadowstack_base;
- while (--current >= base) {
+ /* stop walking just before shadowstack_base, which contains
+ STM_STACK_MARKER_OLD which shouldn't be expanded */
+ while (--current > base) {
uintptr_t x = (uintptr_t)current->ss;
if (x & 1) {
/* the stack entry is an odd number */
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit