This page was last modified 20:59, 13 December 2007.
Chunks in Symbian OS
From Forum Nokia Wiki
Contents |
Chunks in Symbian OS
Symbian OS uses chunks to represent contiguous regions of virtual memory. The size of a chunk is variable. The kernel uses the MMU to map physical memory to the virtual address range of the chunk, and to remap it quickly to different areas of virtual memory as needed, While chunks reserve a range of virtual memory addresses, the entire range need not have actual physical memory behind it. The kernel can add more physical memory behind the chunk as needed. Remember: virtual addresses are plentiful (4 GB!), real physical memory is much more scarce.
Minimum chunks created for a Process
Stack and Heap Chunk
This chunk is where the stack and heap resides for the main thread of the process (it’s possible that additional threads in the process can have their own stack and heap, and thus separate chunks).
Static data chunk
Where all the static variables are kept for the process.
Code Chunk
The code chunk contains a copy of the code. There is only one copy of a code chunk in memory, shared by all running instances of that process executable. Note that if the executable is on the phone’s Read Only Memory (ROM), then the code is run in place, without copying it to a code chunk.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Resource Bundle or RMS | LiveRock | Mobile Java General | 6 | 2003-10-03 03:07 |
| Large data blocks | ben2nprod | Mobile Java General | 1 | 2002-10-22 11:21 |
| Image created from Inputstream slooooow | Danack | Mobile Java General | 4 | 2003-08-04 23:09 |
| rsocket.write() maximum buffer size | letronje | Symbian Networking & Messaging | 12 | 2007-03-12 18:11 |
| Carbide 1.1 to 1.2 | Noxh | Carbide.c++ and CodeWarrior Tools | 6 | 2007-08-30 18:28 |
