This version of malloc for VxWorks contains two different algorithms. One is the bsd based Kingsley "bucket" allocator which has some unique fragmentation behavior. The other is Doug Lea s well tested allocator that tries to minimize fragmentation while keeping the speed/space requirements.
非常實用,可移植用作實現(xiàn)跨平臺的嵌入式的內(nèi)存分配機制.