Jump to content

Code space

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Retired username (talk | contribs) at 18:40, 19 December 2005 ({{Comp-sci-stub}}). 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.