all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Antipov <dmantipov@yandex.ru>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: Nasty GC bug
Date: Fri, 24 Aug 2012 14:58:18 +0400	[thread overview]
Message-ID: <50375E4A.2030506@yandex.ru> (raw)
In-Reply-To: <503741B1.90600@cs.ucla.edu>

On 08/24/2012 12:56 PM, Paul Eggert wrote:

> Thanks for finding this bug.
>
> That patch doesn't look quite right if ! USE_LSB_TAG, since
> in that case lisp_align_malloc won't correctly report a
> failure in the section of code that checks whether the
> memory just allocated can be addressed through a Lisp
> object's pointer.  Also, what about dont_register_blocks
> and allocated_mem_type?
>
> Instead, how about marking the spare conses with Vdead
> and the spare strings with NULL data?  Admittedly I
> haven't had time to think this through....

This implies initialization of the data which we will never
use; what about the special memory type, e.g. MEM_TYPE_SPARE?

Dmitry




  reply	other threads:[~2012-08-24 10:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-24  7:26 Nasty GC bug Dmitry Antipov
2012-08-24  8:56 ` Paul Eggert
2012-08-24 10:58   ` Dmitry Antipov [this message]
2012-08-24 17:25     ` Paul Eggert
2012-08-27 13:25 ` Jim Meyering

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=50375E4A.2030506@yandex.ru \
    --to=dmantipov@yandex.ru \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    /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.