projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sb-bsd-sockets: foreign memory leak in GET-PROTOCOL-BY-NAME
[sbcl.git]
/
contrib
/
sb-sprof
/
sb-sprof.lisp
diff --git
a/contrib/sb-sprof/sb-sprof.lisp
b/contrib/sb-sprof/sb-sprof.lisp
index
7d2374e
..
ab1edf2
100644
(file)
--- a/
contrib/sb-sprof/sb-sprof.lisp
+++ b/
contrib/sb-sprof/sb-sprof.lisp
@@
-360,10
+360,8
@@
profiling")
(defvar *alloc-region-size*
#-gencgc
(get-page-size)
(defvar *alloc-region-size*
#-gencgc
(get-page-size)
- ;; This hardcoded 2 matches the one in gc_find_freeish_pages. It's not
- ;; really worth genesifying.
#+gencgc
#+gencgc
- (* 2 sb-vm:gencgc-page-bytes))
+ (max sb-vm:gencgc-alloc-granularity sb-vm:gencgc-card-bytes))
(declaim (type number *alloc-region-size*))
(defvar *samples* nil)
(declaim (type number *alloc-region-size*))
(defvar *samples* nil)