X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcompiler%2Fsparc%2Fbackend-parms.lisp;h=47fe7c71580f8b58baa33d6d696d6df94ce5722e;hb=02f7f85a6554b1ec233e9a515c4c511fe092565e;hp=bdec46874cae17e4927f18e84972072cfd96f827;hpb=68fd2d2dd6f265669a8957accd8a33e62786a97e;p=sbcl.git diff --git a/src/compiler/sparc/backend-parms.lisp b/src/compiler/sparc/backend-parms.lisp index bdec468..47fe7c7 100644 --- a/src/compiler/sparc/backend-parms.lisp +++ b/src/compiler/sparc/backend-parms.lisp @@ -17,11 +17,24 @@ ;;;; compiler constants -(defconstant +backend-fasl-file-implementation+ :sparc) +(def!constant +backend-fasl-file-implementation+ :sparc) (setf *backend-register-save-penalty* 3) (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*)