From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Memory again Date: Sat, 26 Nov 2011 19:47:47 +0100 Message-ID: <4ED13453.9090500@gmx.at> References: <4ED0F945.5090805@yandex.ru> <4ED127C0.4030904@yandex.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322333279 17359 80.91.229.12 (26 Nov 2011 18:47:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Nov 2011 18:47:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 26 19:47:55 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RUNI2-0005Ao-U6 for ged-emacs-devel@m.gmane.org; Sat, 26 Nov 2011 19:47:55 +0100 Original-Received: from localhost ([::1]:54219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUNI2-0007QK-AS for ged-emacs-devel@m.gmane.org; Sat, 26 Nov 2011 13:47:54 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUNHz-0007Q4-HB for emacs-devel@gnu.org; Sat, 26 Nov 2011 13:47:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUNHy-00048Q-Lw for emacs-devel@gnu.org; Sat, 26 Nov 2011 13:47:51 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:35899) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RUNHy-00048E-3M for emacs-devel@gnu.org; Sat, 26 Nov 2011 13:47:50 -0500 Original-Received: (qmail invoked by alias); 26 Nov 2011 18:47:48 -0000 Original-Received: from 62-47-60-220.adsl.highway.telekom.at (EHLO [62.47.60.220]) [62.47.60.220] by mail.gmx.net (mp012) with SMTP; 26 Nov 2011 19:47:48 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19fNNkfQ9dfkLShL7/rdaZA1XG7hZuqJI4W0J560U gqGC93CG8uzTzv User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <4ED127C0.4030904@yandex.ru> X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146265 Archived-At: > Compaction implies the moving of live objects, which means that you > should be able to find _all_ pointers to such objects and update them. > Emacs GC has no such features, but it's technically possible > to enhance mark/sweep GC to do some heap compaction. It's non-trivial to compact a heap with a conservative collector. Some variant of Bartlett's algorithm would be needed. martin