[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory leak in keyboard variables?
From: |
Andreas Schwab |
Subject: |
Re: Memory leak in keyboard variables? |
Date: |
Thu, 11 Dec 2008 10:30:07 +0100 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> Now, input-decode-map is defined in keyboard.c, using DEFVAR_KBOARD. It
> is a Lisp_Misc_Kboard_Objfwd object, and if I'm not mistaken, such
> objects are not garbage-collected.
All Objfwd types are not real objects on their own, but static markers
to tell the evaluator to look elsewhere for the value. If the
pointed-to object is still live then it will not be collected, of
course.
> When the terminal is killed, are its keyboard's Lisp_Misc_Kboard_Objfwd
> objects freed?
All such objects are allocated only once before dumping.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Memory leak in keyboard variables?, Chong Yidong, 2008/12/10
- Re: Memory leak in keyboard variables?,
Andreas Schwab <=
- Re: Memory leak in keyboard variables?, Chong Yidong, 2008/12/11
- Re: Memory leak in keyboard variables?, Chong Yidong, 2008/12/11
- Re: Memory leak in keyboard variables?, Markus Triska, 2008/12/13
- Re: Memory leak in keyboard variables?, Chong Yidong, 2008/12/13
- Re: Memory leak in keyboard variables?, Chong Yidong, 2008/12/16
- Re: Memory leak in keyboard variables?, Stephen J. Turnbull, 2008/12/16
- Re: Memory leak in keyboard variables?, Chong Yidong, 2008/12/19
- Re: Memory leak in keyboard variables?, Jan Djärv, 2008/12/20
- Re: Memory leak in keyboard variables?, Markus Triska, 2008/12/20
- Re: Memory leak in keyboard variables?, Dan Nicolaescu, 2008/12/20