Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff vmalloc.c @ 174:c3f458403cd6
Always allocate more than 256 byte, measurements removed in master loop, aligned slots
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Tue, 20 Dec 2011 16:50:21 +0100 |
| parents | 1fe7ba1ab81f |
| children | de5e7c522f1f |
line diff
1.1 --- a/vmalloc.c Tue Dec 20 15:39:30 2011 +0100 1.2 +++ b/vmalloc.c Tue Dec 20 16:50:21 2011 +0100 1.3 @@ -212,6 +212,8 @@ 1.4 #endif 1.5 //======================================================================== 1.6 1.7 + sizeRequested += CACHELINE_SIZE; //Allocate more than cacheline_size to avoid false sharing 1.8 + 1.9 MallocArrays* freeLists = _VMSMasterEnv->freeLists; 1.10 MallocProlog* foundChunk; 1.11
