Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff vmalloc.c @ 147:98fc8f3761a2
Small changes to make SSR & SSR Sequential work
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Tue, 27 Sep 2011 14:37:59 +0200 |
| parents | 79bb48d7d93b |
| children |
line diff
1.1 --- a/vmalloc.c Wed Sep 21 16:36:22 2011 +0200 1.2 +++ b/vmalloc.c Tue Sep 27 14:37:59 2011 +0200 1.3 @@ -410,6 +410,7 @@ 1.4 1.5 MallocArrays* freeLists = _VMSMasterEnv->freeLists[procrID]; 1.6 MallocProlog *chunkToFree = (MallocProlog*)ptrToFree - 1; 1.7 + assert(chunkToFree->prevChunkInFreeList == NULL); 1.8 uint32 containerIdx; 1.9 _VMSMasterEnv->amtOfOutstandingMem += getChunkSize(chunkToFree) + sizeof(MallocProlog); 1.10
