Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [5c0a88] Maximize Restore History

Split GENCGC_PAGE_BYTES in 3 constants

* We still have BACKEND_PAGE_BYTES, which should be a conservative
over-approximation of the OS's page size.

* GENCGC_PAGE_BYTES is mostly replaced by GENCGC_CARD_BYTES, the
byte granularity at which we track writes to old generations.
While we're using mprotect-based write barriers, this should be
a multiple of BACKEND_PAGE_BYTES.

* GENCGC_ALLOC_GRANULARITY is the minimum size we attempt to make
each allocation region. Should be a multiple of GENCGC_CARD_BYTES.
While we have largeish cards, this shouldn't ever be an issue, but
it might if we ever go down to < 1k cards.

* GENCGC_RELEASE_GRANULARITY is the minimum size at which we release
address space to the OS. This should always be a multiple of
BACKEND_PAGE_BYTES.

* For now, all three new constants are equal to BACKEND_PAGE_BYTES.

Paul Khuong Paul Khuong 2011-07-03

changed contrib
changed contrib/sb-sprof
changed contrib/sb-sprof/sb-sprof.lisp
changed package-data-list.lisp-expr
changed src
changed src/code
changed src/code/room.lisp
changed src/compiler
changed src/compiler/generic
changed src/compiler/generic/genesis.lisp
changed src/compiler/ppc
changed src/compiler/ppc/backend-parms.lisp
changed src/compiler/x86
changed src/compiler/x86-64
changed src/compiler/x86-64/backend-parms.lisp
changed src/compiler/x86/backend-parms.lisp
changed src/runtime
changed src/runtime/gc.h
changed src/runtime/gencgc-internal.h
changed src/runtime/gencgc.c
changed src/runtime/linux-os.c
changed src/runtime/runtime.c
contrib
Directory.
contrib/sb-sprof
Directory.
contrib/sb-sprof/sb-sprof.lisp Diff Switch to side-by-side view
Loading...
package-data-list.lisp-expr Diff Switch to side-by-side view
Loading...
src
Directory.
src/code
Directory.
src/code/room.lisp Diff Switch to side-by-side view
Loading...
src/compiler
Directory.
src/compiler/generic/genesis.lisp Diff Switch to side-by-side view
Loading...
src/compiler/ppc
Directory.
src/compiler/ppc/backend-parms.lisp Diff Switch to side-by-side view
Loading...
src/compiler/x86
Directory.
src/compiler/x86-64
Directory.
src/compiler/x86-64/backend-parms.lisp Diff Switch to side-by-side view
Loading...
src/compiler/x86/backend-parms.lisp Diff Switch to side-by-side view
Loading...
src/runtime
Directory.
src/runtime/gc.h Diff Switch to side-by-side view
Loading...
src/runtime/gencgc-internal.h Diff Switch to side-by-side view
Loading...
src/runtime/gencgc.c Diff Switch to side-by-side view
Loading...
src/runtime/linux-os.c Diff Switch to side-by-side view
Loading...
src/runtime/runtime.c Diff Switch to side-by-side view
Loading...