Jump to content

Code space

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by RussBot (talk | contribs) at 16:55, 27 June 2006 (Robot-assisted fixing links to disambiguation page (you can help!) Process). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computer programming, code space is the memory segment in the main memory allocated to a process to store the code in execution.

In multi-threading environment, threads share code space along with data space, which reduces the overhead of context switching considerably as compared to process switching.