HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4e64132
)
Don't sanity check GC numbers on 64 bit platforms, while we
author
Han-Wen Nienhuys
<hanwen@lilypond.org>
Wed, 3 Sep 2008 04:37:58 +0000
(
01:37
-0300)
committer
Han-Wen Nienhuys
<hanwen@lilypond.org>
Wed, 3 Sep 2008 04:37:58 +0000
(
01:37
-0300)
investigate a real fix.
libguile/gc.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/gc.c
b/libguile/gc.c
index
8e8769c
..
a0b3080
100644
(file)
--- a/
libguile/gc.c
+++ b/
libguile/gc.c
@@
-597,9
+597,9
@@
scm_i_gc (const char *what)
scm_i_sweep_all_segments ("GC", &scm_i_gc_sweep_stats);
scm_check_deprecated_memory_return ();
+#if (SCM_DEBUG_CELL_ACCESSES == 0 && SCM_SIZEOF_UNSIGNED_LONG ==4)
/* Sanity check our numbers. */
-
-#if (SCM_DEBUG_CELL_ACCESSES == 0)
+ /* TODO(hanwen): figure out why the stats are off on x64_64. */
/* If this was not true, someone touched mark bits outside of the
mark phase. */
assert (scm_cells_allocated == scm_i_marked_count ());