disable a false assertion, with a comment to explain why
authorSimon Marlow <marlowsd@gmail.com>
Tue, 16 Feb 2010 12:35:44 +0000 (12:35 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 16 Feb 2010 12:35:44 +0000 (12:35 +0000)
rts/Capability.h

index 35b9203..4b51548 100644 (file)
@@ -294,7 +294,8 @@ recordMutableCap (StgClosure *p, Capability *cap, nat gen)
     bdescr *bd;
 
     // We must own this Capability in order to modify its mutable list.
-    ASSERT(cap->running_task == myTask());
+    //    ASSERT(cap->running_task == myTask());
+    // NO: assertion is violated by performPendingThrowTos()
     bd = cap->mut_lists[gen];
     if (bd->free >= bd->start + BLOCK_SIZE_W) {
        bdescr *new_bd;