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
Processes have valid and invalid entries on their page tables. The valid entries all point to some where "real" (e.g. a physical page, or some portion of disk in case of non-reside

Explain the Real Time Operating System A real-time operating system comprises definite, fixed time constraints. Processing should be done in the defined constraints, or the sys

p0A B C D A B C D A B C D 2 0 12 2012 1000 1354 0632 0014

Did Abhinav agree to the initial timeline requested by Rebecca

Q. Consider the two-dimensional array A: int A[][] = new int[100][100]; Whereas A [0][0] is at location 200 in a paged memory system with pages of size 200. A little process

A friend has promised to log in at a particular time. However, he needs to be contacted as soon as he logs in. The shell script checks after every minute whether he has logged in o

Question 1 Explain the structure of operating system in detail Question 2 Explain the following scheduling algorithm                                     1) First come Firs

In a multiprogramming and time-sharing environment, several users share the system simultaneously. This situation can result in various security problems. a

Since each thread has its own processing space therefore communication between threads will need to be done through a common global variable. Since multiple threads can access the

Developing Code with Threads Writing code to support a thread-based implementation is very straightforward. Simple APIs are presented to the developer for each threads package.