pike.git/
src/
gc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2010-07-15
2010-07-15 22:31:18 by Martin Stjernholm <mast@lysator.liu.se>
9711d844c045db257eb8aa8acb63a7969f8a8051 (
9
lines) (+
5
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed segfault when _describe is fed an integer or float.
Rev: src/gc.c:1.351
2:
|| 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.c,v 1.
350
2010/
06
/
22
09
:
24
:
33
mast Exp $
+
|| $Id: gc.c,v 1.
351
2010/
07
/
15
22:
31
:
18
mast Exp $
*/ #include "global.h"
40:
double gc_garbage_ratio_low = 0.2; double gc_time_ratio = 0.05; double gc_garbage_ratio_high = 0.5;
-
double gc_min_time_ratio = 1.0/
10001
.0; /* Martys constant. */
+
double gc_min_time_ratio = 1.0/
10000
.0; /* Martys constant. */
/* This slowness factor approximately corresponds to the average over * the last ten gc rounds. (0.9 == 1 - 1/10) */
1649:
case T_INT: fprintf(stderr," %"PRINTPIKEINT"d (subtype %d)\n",s->u.integer, s->subtype);
-
break
;
+
return
;
case T_FLOAT: fprintf(stderr," %"PRINTPIKEFLOAT"f\n",s->u.float_number);
-
break
;
+
return
;
case T_FUNCTION: if(s->subtype == FUNCTION_BUILTIN)