Jump to content

Code space

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Bluebot (talk | contribs) at 10:58, 16 March 2006 (bold formatting title using AWB). 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.