Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff VMS.c @ 101:ca154ebe2b6c
Basic malloc without small chunks
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Tue, 02 Aug 2011 15:44:28 +0200 |
| parents | bc31d3e070d2 |
| children | def70e32cf2c |
line diff
1.1 --- a/VMS.c Tue Jul 26 16:14:30 2011 +0200 1.2 +++ b/VMS.c Tue Aug 02 15:44:28 2011 +0200 1.3 @@ -105,7 +105,7 @@ 1.4 //Very first thing put into the master env is the free-list, seeded 1.5 // with a massive initial chunk of memory. 1.6 //After this, all other mallocs are VMS__malloc. 1.7 - _VMSMasterEnv->freeListHead = VMS_ext__create_free_list(); 1.8 + _VMSMasterEnv->freeLists = VMS_ext__create_free_list(); 1.9 1.10 1.11 //============================= MEASUREMENT STUFF ======================== 1.12 @@ -751,7 +751,7 @@ 1.13 //======================================================================== 1.14 */ 1.15 //These are the only two that use system free 1.16 - VMS_ext__free_free_list( _VMSMasterEnv->freeListHead ); 1.17 + VMS_ext__free_free_list( _VMSMasterEnv->freeLists ); 1.18 free( (void *)_VMSMasterEnv ); 1.19 } 1.20
