X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fsparc%2Fbackend-parms.lisp;h=47fe7c71580f8b58baa33d6d696d6df94ce5722e;hb=57fe836373e2ecb56e6d497320b01c83447a01fc;hp=3ca701277c5b595d914a195740153d2cfd9d6ed0;hpb=8731c1a7c1a585d190151fa881050fb5e14c0616;p=sbcl.git diff --git a/src/compiler/sparc/backend-parms.lisp b/src/compiler/sparc/backend-parms.lisp index 3ca7012..47fe7c7 100644 --- a/src/compiler/sparc/backend-parms.lisp +++ b/src/compiler/sparc/backend-parms.lisp @@ -23,5 +23,18 @@ (setf *backend-byte-order* :big-endian) -(setf *backend-page-size* 8192) +(eval-when (:compile-toplevel :load-toplevel :execute) + (setf *backend-page-bytes* 8192)) +;;; The size in bytes of GENCGC cards, i.e. the granularity at which +;;; writes to old generations are logged. With mprotect-based write +;;; barriers, this must be a multiple of the OS page size. +(def!constant gencgc-card-bytes *backend-page-bytes*) +;;; The minimum size of new allocation regions. While it doesn't +;;; currently make a lot of sense to have a card size lower than +;;; the alloc granularity, it will, once we are smarter about finding +;;; the start of objects. +(def!constant gencgc-alloc-granularity 0) +;;; The minimum size at which we release address ranges to the OS. +;;; This must be a multiple of the OS page size. +(def!constant gencgc-release-granularity *backend-page-bytes*)