manualgc
manualgc copied to clipboard
Automatically exported from code.google.com/p/manualgc
``` 在cache_flush函数中,有 while (...) { // ... if (parent==-1) { return; } // ... } E.cache_dirty=false; cache_dirty应该是当前是否存在cache或cache是否flush out的标记位吧。 那这里的return应该是break吧? 在cache nodes未完全时,while循环就会遇到parent=-1,如果这里直接 return,E.cache_dirty=true不会执行,虽然当前的cache nodes已全部被flush out了。 ``` Original issue reported on code.google.com...
``` 看到源代码中有如下三个宏: #define my_malloc malloc #define my_free free #define my_realloc realloc 我想是可以用来自定义内存分配器的吧,那么是否可以把这�� �分通过接口或者宏定义开放出来, 而不需要修改.c文件中的这三个宏了。 ``` Original issue reported on code.google.com by `[email protected]` on 30 Oct 2008 at 9:34