Dynamic space relocation, part 1 of 2
commitc4bb624be83e27cd78271d1208ca6b9914ba499f
authorDouglas Katzman <dougk@google.com>
Thu, 3 Aug 2017 01:56:17 +0000 (2 21:56 -0400)
committerDouglas Katzman <dougk@google.com>
Thu, 3 Aug 2017 01:56:17 +0000 (2 21:56 -0400)
treecd90505c44153895daa66ea59cda9c225f6a4774
parentb16bf3b2f3fcedf8ff34dd02722334e52de5a376
Dynamic space relocation, part 1 of 2

When automatic relocation is in effect, a saved core's dynamic space
start is taken as a hint, not a requirement. If not mapped at the preferred
address on image startup, all spaces will be scanned and pointers into
dynamic space adjusted by the difference between desired and actual address.

This should enable running under sanitizing interceptors such as msan
without having to rebuild with a different dynamic space start.
16 files changed:
NEWS
base-target-features.lisp-expr
make-config.sh
package-data-list.lisp-expr
src/code/room.lisp
src/cold/shared.lisp
src/compiler/generic/early-vm.lisp
src/compiler/generic/genesis.lisp
src/compiler/generic/parms.lisp
src/runtime/coreparse.c
src/runtime/gc-internal.h
src/runtime/marknsweepgc.c
src/runtime/os.h
src/runtime/runtime.c
src/runtime/runtime.h
src/runtime/validate.c