X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-sprof%2Fsb-sprof.lisp;h=dd1760c0d5164b8706208db6b6c9dbc73610c6ca;hb=171fde84561e232b8af8c05b82dfe8a8f9e08340;hp=5a5b3e7c27732bf4af507e22ea1fe7509506890f;hpb=5c0a884190d6c98448d86fb05e1e99df901c9bf8;p=sbcl.git diff --git a/contrib/sb-sprof/sb-sprof.lisp b/contrib/sb-sprof/sb-sprof.lisp index 5a5b3e7..dd1760c 100644 --- a/contrib/sb-sprof/sb-sprof.lisp +++ b/contrib/sb-sprof/sb-sprof.lisp @@ -361,7 +361,7 @@ profiling") #-gencgc (get-page-size) #+gencgc - sb-vm:gencgc-alloc-granularity) + (max sb-vm:gencgc-alloc-granularity sb-vm:gencgc-card-bytes)) (declaim (type number *alloc-region-size*)) (defvar *samples* nil) @@ -514,7 +514,7 @@ profiling") ;;; This in turn will distribute the notice to those threads we are ;;; interested using SIGPROF. (defun thread-distribution-handler () - (declare (optimize sb-c::merge-tail-calls)) + (declare (optimize speed (space 0))) (when *sampling* #+sb-thread (let ((lock *distribution-lock*))