From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: Stefan Monnier <monnier@IRO.UMontreal.CA>, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed.
Date: Mon, 23 Jul 2012 20:10:56 +0900 [thread overview]
Message-ID: <87629e3f7j.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <500D18D4.7010506@yandex.ru>
Dmitry Antipov writes:
> IMHO, mostly because consing_since_gc means "total size of new objects which
> are managed by GC". If we manage some of them by hand, we shouldn't allow GC
> to overestimate an amount of work to be done.
Why is it an overestimate of the work to be done? AFAIK, these
objects come from the same pools, and they are not necessarily short-
lived in the sense that they are allocated and deallocated before
other objects become allocated. If my assumption about the memory
pools is correct, a no-see-um cons is just as likely to overflow a
pool, and somewhat likely to contribute to overflow of later
allocations. If it's a container and live when GC occurs, it will
need to be traversed. So it does contribute to the work to be done,
although not as likely to contribute as GC-managed objects are.
prev parent reply other threads:[~2012-07-23 11:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1SsxuH-00048I-6E@vcs.savannah.gnu.org>
2012-07-23 8:58 ` [Emacs-diffs] /srv/bzr/emacs/trunk r109187: Adjust consing_since_gc when objects are explicitly freed Stefan Monnier
2012-07-23 9:26 ` Dmitry Antipov
2012-07-23 10:06 ` Stefan Monnier
2012-07-23 11:34 ` Dmitry Antipov
2012-07-23 23:11 ` Stefan Monnier
2012-07-24 4:30 ` Dmitry Antipov
2012-07-24 9:11 ` Stefan Monnier
2012-07-24 11:53 ` Dmitry Antipov
2012-07-24 21:59 ` Stefan Monnier
2012-07-25 9:55 ` Dmitry Antipov
2012-07-25 23:47 ` Stefan Monnier
2012-07-23 11:10 ` Stephen J. Turnbull [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87629e3f7j.fsf@uwakimon.sk.tsukuba.ac.jp \
--to=stephen@xemacs.org \
--cc=dmantipov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).