Skip to content
Browse files

Tweak: increased min heap utilization.

  • Loading branch information...
1 parent ce7e8b6 commit c3161b5c9edbab543bf021379763627d302f437a @kbob committed Apr 20, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 heap.c
View
4 heap.c
@@ -24,7 +24,7 @@
#ifdef GROW_HEAP
#define INITIAL_HEAP_WORDS (1 << 13)
#define MAX_HEAP_UTILIZATION (0.45)
-#define MIN_HEAP_UTILIZATION (0.03)
+#define MIN_HEAP_UTILIZATION (0.1)
#define MIN_HEAP_WORDS (1 << 13)
#else
#define INITIAL_HEAP_WORDS (1 << 17)
@@ -249,7 +249,7 @@ static void *scan_obj(heap_object_t *hobj)
static void copy_heap()
{
- //fprintf(stderr, "copy_heap %d\n", heap_size_bytes);
+ // fprintf(stderr, "copy_heap %d\n", heap_size_bytes);
/* with lock */ {
verify_heap();
flip();

0 comments on commit c3161b5

Please sign in to comment.
Something went wrong with that request. Please try again.