Jump to content

Code space

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Antandrus (talk | contribs) at 04:57, 21 November 2005 (Reverted edits by Genital on ellipical transportation to last version by R. S. Shaw). 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.