X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fsparc%2Fbackend-parms.lisp;h=47fe7c71580f8b58baa33d6d696d6df94ce5722e;hb=57fe836373e2ecb56e6d497320b01c83447a01fc;hp=c7474fc58e0b3d75ad4ebca874acd6b5e94cc6d6;hpb=2db410feb35e7e30c95af8f20f67e6177fa92488;p=sbcl.git diff --git a/src/compiler/sparc/backend-parms.lisp b/src/compiler/sparc/backend-parms.lisp index c7474fc..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-bytes* 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*)