Collecting more frequently
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Mon Mar 20 14:18:00 GMT 2000
> Hmm, so does this heuristic take too much time?
I would not think so. In a test case of mine (actually, of Gerald),
there were 7927 calls to "ggc_collect", of which 26 resulted in actual
collection. However, this relates to 39645517 calls to "ggc_set_mark",
6052924 calls to "fixup_var_refs_1", and 17646284 calls to "contains"
in the same test case. It is certainly possible to speed-up the
threshold test, but it would not save too much.
Regards,
Martin
More information about the Gcc
mailing list