From: Chong Yidong <cyd@stupidchicken.com>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: 6301@debbugs.gnu.org
Subject: bug#6301: 23.2.50; GC may lose Lisp objects in the image cache
Date: Sun, 21 Nov 2010 19:45:22 -0500 [thread overview]
Message-ID: <874oba5gpp.fsf@stupidchicken.com> (raw)
In-Reply-To: <wlmxvj3xyg.wl%mituharu@math.s.chiba-u.ac.jp>
> Currently, Fgarbage_collect calls mark_terminals after marking
> staticpro'ed objects. Terminal objects need a special marking
> strategy with respect to image cache, but if a terminal object is
> reachable from some staticpro'ed object, then it is marked normally
> (i.e., without considering image cache). As a result, Lisp objects in
> the image cache might be collected though they should have been
> marked.
>
> Also, as for stack marking, I noticed that about half of the stack
> elements have Lisp_Int* tags at least on Mac OS X. Such an element
> might be either a real Lisp integer or an aligned pointer value. We
> can omit mem_find calls for them by checking the tag value early.
Thanks. I've committed your patches (the former to emacs-23, the latter
to the trunk). Sorry for the long delay.
prev parent reply other threads:[~2010-11-22 0:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-29 8:37 bug#6301: 23.2.50; GC may lose Lisp objects in the image cache YAMAMOTO Mitsuharu
2010-10-11 5:47 ` YAMAMOTO Mitsuharu
2010-10-11 17:21 ` Andreas Schwab
2010-10-12 0:20 ` YAMAMOTO Mitsuharu
2010-11-22 0:45 ` Chong Yidong [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874oba5gpp.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=6301@debbugs.gnu.org \
--cc=mituharu@math.s.chiba-u.ac.jp \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.