projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c0d91d
)
cleanup: use os_vm_size_t in count_generation_bytes_allocated
author
Nikodemus Siivola
<nikodemus@random-state.net>
Fri, 25 Nov 2011 12:42:49 +0000
(14:42 +0200)
committer
Nikodemus Siivola
<nikodemus@random-state.net>
Sun, 27 Nov 2011 11:19:03 +0000
(13:19 +0200)
src/runtime/gencgc.c
patch
|
blob
|
history
diff --git
a/src/runtime/gencgc.c
b/src/runtime/gencgc.c
index
f5cc2fb
..
90a434b
100644
(file)
--- a/
src/runtime/gencgc.c
+++ b/
src/runtime/gencgc.c
@@
-408,11
+408,11
@@
count_dont_move_pages(void)
/* Work through the pages and add up the number of bytes used for the
* given generation. */
-static unsigned long
+static os_vm_size_t
count_generation_bytes_allocated (generation_index_t gen)
{
page_index_t i;
- unsigned long result = 0;
+ os_vm_size_t result = 0;
for (i = 0; i < last_free_page; i++) {
if (page_allocated_p(i)
&& (page_table[i].gen == gen))