Small cleanups
[sbcl.git] / contrib / sb-sprof / sb-sprof.lisp
index 5a5b3e7..ab1edf2 100644 (file)
@@ -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)