2003-01-12 17:25:39 by Martin Stjernholm <firstname.lastname@example.org>
Fixed some bugs in the gc strategy:
o The decaying average calculation had a bug that caused the last reading
(i.e. the last gc run) to be weighted very heavily. Thus a single
"abnormal" gc run could cause the gc to schedule a fairly short or long
gc interval the next time which might make it erratic.
o The aim for 20% garbage between gc runs was calculated on the wrong total
amount of objects, so in effect the gc aimed for 16.7% instead.
(These bugs have been around at least since 0.6.)
Inside #if defined(PIKE_DEBUG) and #if defined(HAVE_GETHRTIME)