Custom memory allocation, Operating System

Some people write custom memory allocators to meet their speci?c needs. Although this is not needed for most of the applications, it is also not uncommon. The goal, of course, is to replace the OS allocator in an optimized version that deals more ef?ciently with the most frequently used data structures of some given application. Ideally, we expect the new allocator to require reduced runtime, provide expanded functionality (sometimes) and run on reduced space (rarely). Examples of applications that use custom allocators are the Apache webserver, GCC, the STL and most database servers. Unfortunately, there are also some drawbacks regarding the use of custommemory allocators, such as the increased burden on programmers, as well as the fact that they seldom allow the use of standard memory debuggers.

Posted Date: 3/12/2013 6:06:58 AM | Location : United States







Related Discussions:- Custom memory allocation, Assignment Help, Ask Question on Custom memory allocation, Get Answer, Expert's Help, Custom memory allocation Discussions

Write discussion on Custom memory allocation
Your posts are moderated
Related Questions
Discuss the risks of having a single root user

Describe the internal layout of the file system in windows 2000. The basic entity in NTFS is a volume and a volume is created by the Windows 2000 disk administrator utility and

Since most of the programs require a lot of memory allocation/deallocation, we expect the memory management to be fast, to have low fragmentation, make good use of locality, and be

What is banker's algorithm? Banker's algorithm is a deadlock avoidance algorithm that is applicable to a resource-allocation system with multiple examples of each resource type

Determine the task of the Pass II In a two-pass assembler Synthesize the target program is the task of the Pass II

Define thrashing. Thrashing is the accident of high page traffic and low CPU utilization. It is observed that the cause of thrashing is an under-commitment of memory to program

What are two differences among user-level threads and kernel-level threads? Under what circumstances is one type better than the other? (1) User-level threads are unknown by th

Explain Swapping Swapping is a method of temporarily removing inactive programs from the memory of computer system.

Define Disadvantages of Top Down parsing of Backtracking The disadvantages of top down parsing of backtracking: (i)  Semantic actions cannot be carried out while making a pr

What is a resource-allocation graph? Deadlocks can be explained more precisely in terms of a directed graph called a system resource allocation graph. This graph having of a se