[pypy-commit] stmgc default: Yes, now all of test_random passes

arigo noreply at buildbot.pypy.org
Wed Jun 12 22:05:05 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r104:a61854f3b10b
Date: 2013-06-12 22:04 +0200
http://bitbucket.org/pypy/stmgc/changeset/a61854f3b10b/

Log:	Yes, now all of test_random passes

diff --git a/c4/steal.c b/c4/steal.c
--- a/c4/steal.c
+++ b/c4/steal.c
@@ -73,7 +73,8 @@
 
  not_found:
     stub = stm_stub_malloc(sd->foreign_pd);
-    stub->h_tid = obj->h_tid | GCFLAG_PUBLIC | GCFLAG_STUB;
+    stub->h_tid = (obj->h_tid & STM_USER_TID_MASK) | GCFLAG_PUBLIC
+                                                   | GCFLAG_STUB;
     stub->h_revision = ((revision_t)obj) | 2;
     g2l_insert(&sd->all_stubs, obj, stub);
 


More information about the pypy-commit mailing list