GNU bug report logs - #50301
[PATCH] memory-report: support calculating size for structures

Previous Next

Package: emacs;

Reported by: yikai <at> z1k.dev

Date: Tue, 31 Aug 2021 16:20:01 UTC

Severity: normal

Tags: patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: yikai <at> z1k.dev
Cc: 50301 <at> debbugs.gnu.org
Subject: bug#50301: [PATCH] memory-report: support calculating size for structures
Date: Thu, 02 Sep 2021 09:37:26 +0200
yikai <at> z1k.dev writes:

> Here's another patch on memory-report package which fixes the object
> size calculation for structures (cl-defstruct types). Before this patch,
> memory-report--object-size will report empty size for structure objects,
> which results in incorrect report about "Largest Variables" in
> memory-report result.

Thanks; applied to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 343 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.