Skip to content
Snippets Groups Projects
Commit 9929d656 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Increased the maximum for the alloc threshold; modern systems with high load

can reach 10 million allocations within five minutes or so.

Rev: src/gc.h:1.102
parent 38eba31b
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information.
|| $Id: gc.h,v 1.101 2003/03/30 20:26:49 mast Exp $
|| $Id: gc.h,v 1.102 2003/04/15 17:01:02 mast Exp $
*/
#ifndef GC_H
......@@ -45,7 +45,7 @@ extern double gc_average_slowness;
* Put a cap on that threshold to avoid very small and large
* intervals. */
#define GC_MIN_ALLOC_THRESHOLD 1000
#define GC_MAX_ALLOC_THRESHOLD 10000000
#define GC_MAX_ALLOC_THRESHOLD 2000000000
extern struct pike_queue gc_mark_queue;
extern INT32 num_objects;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment