X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fgc.lisp;h=f3dacccbcd22e1dba6d3afb5b8a3438e2f19182b;hb=dbfe7e6c8b06e1b0b1ba35d9894fae13e6305602;hp=917b6d085a8ebee498c7785ba72566394e0602bc;hpb=2fb7ed1815097a415d80e133c9b91ceb74bf5eda;p=sbcl.git diff --git a/src/code/gc.lisp b/src/code/gc.lisp index 917b6d0..f3daccc 100644 --- a/src/code/gc.lisp +++ b/src/code/gc.lisp @@ -138,23 +138,6 @@ and submit it as a patch." (+ (dynamic-usage) *n-bytes-freed-or-purified*)) -;;;; variables and constants - -;;; the minimum amount of dynamic space which must be consed before a -;;; GC will be triggered -;;; -;;; Unlike CMU CL, we don't export this variable. (There's no need to, -;;; since our BYTES-CONSED-BETWEEN-GCS function is SETFable.) -(defvar *bytes-consed-between-gcs* - #!+gencgc (* 4 (expt 10 6)) - ;; Stop-and-copy GC is really really slow when used too often. CSR - ;; reported that even on his old 64 Mb SPARC, 20 Mb is much faster - ;; than 4 Mb when rebuilding SBCL ca. 0.7.1. For modern machines - ;; with >> 128 Mb memory, the optimum could be significantly more - ;; than this, but at least 20 Mb should be better than 4 Mb. - #!-gencgc (* 20 (expt 10 6))) -(declaim (type index *bytes-consed-between-gcs*)) - ;;;; GC hooks (defvar *before-gc-hooks* nil ; actually initialized in cold init