* Split up code_space into old_data_space and code_space.
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Sep 2008 12:34:09 +0000 (12:34 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Sep 2008 12:34:09 +0000 (12:34 +0000)
commit388c1094b7fe02d3d424f51aee0fef1d7d332da0
tree258f88c26ac3123b42f668bac823a4042d666cce
parent1472ee59708c8b2ea533106b17fed5928c0bb9ee
* Split up code_space into old_data_space and code_space.
* Make old_data_space non-executable on OSs and hardware that support it.
* Rename old_space to old_pointer_space (can contain pointers, esp. to new space).
* Ensure that individual pages allocated for old_space are only executable when
they are for code objects.
* Ensure Space::Setup can cope with non-aligned memory.
* Make some methods on Spaces virtual.  Make a way to iterate over all spaces.
* Replace executability flag with Executability enum in order to make intent at
call site clearer.
* Fix serialization/deserialization to allocate write barrier memory for large
arrays.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@165 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
26 files changed:
src/execution.cc
src/factory.cc
src/globals.h
src/heap-inl.h
src/heap.cc
src/heap.h
src/mark-compact.cc
src/mark-compact.h
src/mksnapshot.cc
src/objects.cc
src/objects.h
src/platform-linux.cc
src/platform-macos.cc
src/platform-win32.cc
src/platform.h
src/runtime.cc
src/serialize.cc
src/serialize.h
src/spaces-inl.h
src/spaces.cc
src/spaces.h
test/cctest/test-api.cc
test/cctest/test-debug.cc
test/cctest/test-heap.cc
test/cctest/test-mark-compact.cc
test/cctest/test-spaces.cc