gc: avoid unnecessary garbage collections
commita2d9622f66ef59549db58f8dd395dc262646910d
authorKyle J. McKay <mackyle@gmail.com>
Tue, 22 Apr 2014 09:47:10 +0000 (22 02:47 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Tue, 22 Apr 2014 09:47:10 +0000 (22 02:47 -0700)
treefa276bae998d1c8497e49009ab9dde0f9fd0d87d
parent33c813f28dd489e4547c6502b3abf77272e2e240
gc: avoid unnecessary garbage collections

If the gc interval has elapsed but we've not received any new objects
since the last gc then don't run gc, but do update the lastgc date.

If we are a fork we must also have not had any objects copied into
us from a parent gc since our last gc either in order to skip.
jobd/gc.sh
shlib.sh