diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2012-11-06 07:52:34 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2012-11-06 17:53:11 +0400 |
commit | 8680349166f0105fa9aa059494ddc69f656a4b9a (patch) | |
tree | 1ab86f1456af27c2e438de19e6c26e816ef7bf33 /malloc.c | |
parent | 4ad245eff98f81e4d887afdb534c8683ac33126e (diff) | |
download | bdwgc-8680349166f0105fa9aa059494ddc69f656a4b9a.tar.gz |
Add FIXME for GC_max_large_allocd_bytes and GC_mark_stack_size growth
* malloc.c (GC_alloc_large): Add FIXME for GC_max_large_allocd_bytes
(currently there is no way for the variable value to be decreased over
the run time).
* mark.c (alloc_mark_stack): Add FIXME for GC_mark_stack_size.
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -73,6 +73,7 @@ GC_INNER ptr_t GC_alloc_large(size_t lb, int k, unsigned flags) if (GC_large_allocd_bytes > GC_max_large_allocd_bytes) GC_max_large_allocd_bytes = GC_large_allocd_bytes; } + /* FIXME: Do we need some way to reset GC_max_large_allocd_bytes? */ result = h -> hb_body; } return result; |