在 2012年12月10日星期一,Leif Hedstrom 写道: > On 12/8/12 9:47 AM, ming....@gmail.com wrote: > >> laster week, we have submited the patches for TS-1006, >> https://issues.apache.org/**jira/browse/TS-1006<https://issues.apache.org/jira/browse/TS-1006>. >> > > Ok, I'm reading TS-1006 again, and i'll take a look at the patches. But > just to be sure, the idea here is to fix something that's an apparently > "leak" or wasteful allocation scheme related to the RAM cache ?
Hi Leif: These patches just try to limited the total memory size allocated by InkFreeList Allocator which will be used both by Class Object and RAM cache(not only for RAM cache, and they doesn't modify the code about RAM cache). We have another patch developed by Bin Chen which fasten the memory size only used by RAM cache, but we havn't submitted it to here now, I'm going to trim it, I need some time to understand it, and maybe do some optimization or clear work for it before we send it to here. > > -- Leif > > -- Yunkai Zhang Work at Taobao