Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 27:173a01a650c3 | 29:acfeeae0cfb1 |
|---|---|
| 408 #endif | 408 #endif |
| 409 //======================================================================== | 409 //======================================================================== |
| 410 | 410 |
| 411 MallocArrays* freeLists = _VMSMasterEnv->freeLists[procrID]; | 411 MallocArrays* freeLists = _VMSMasterEnv->freeLists[procrID]; |
| 412 MallocProlog *chunkToFree = (MallocProlog*)ptrToFree - 1; | 412 MallocProlog *chunkToFree = (MallocProlog*)ptrToFree - 1; |
| 413 assert(chunkToFree->prevChunkInFreeList == NULL); | |
| 413 uint32 containerIdx; | 414 uint32 containerIdx; |
| 414 _VMSMasterEnv->amtOfOutstandingMem += getChunkSize(chunkToFree) + sizeof(MallocProlog); | 415 _VMSMasterEnv->amtOfOutstandingMem += getChunkSize(chunkToFree) + sizeof(MallocProlog); |
| 415 | 416 |
| 416 //Check for free neighbors | 417 //Check for free neighbors |
| 417 if(chunkToFree->nextLowerInMem) | 418 if(chunkToFree->nextLowerInMem) |
