diff options
| author | Eli Zaretskii | 2014-05-24 15:02:25 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-05-24 15:02:25 +0300 |
| commit | c94e3311ecf51bf3c6017ab4028debcae2a5dd6e (patch) | |
| tree | 3ffd9fdea9c001a76fd1166f4d158b32cf662ab3 /src/ChangeLog | |
| parent | a235163a6908136abd3f4574caf6e8b9a0c7dcf9 (diff) | |
| download | emacs-c94e3311ecf51bf3c6017ab4028debcae2a5dd6e.tar.gz emacs-c94e3311ecf51bf3c6017ab4028debcae2a5dd6e.zip | |
Avoid marking too deep portions of stack in mark_stack.
src/alloc.c (garbage_collect_1): New function, with all of the guts
of Fgarbage_collect.
(mark_stack): Accept an argument END and don't mark Lisp objects
on the stack beyond the address given by END. Calculation of END
was moved to Fgarbage_collect.
(Fgarbage_collect): Calculate the end address of the stack portion
that needs to be examined by mark_stack, and pass that address to
garbage_collect_1, which will pass it to mark_stack. See
http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html
for more details about the underlying problems. In particular,
this avoids dumping Emacs with the large hash-table whose value is
held in purify-flag for most of the time loadup.el runs.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7f83681e0a3..19da2bf89f3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2014-05-24 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * alloc.c (garbage_collect_1): New function, with all of the guts | ||
| 4 | of Fgarbage_collect. | ||
| 5 | (mark_stack): Accept an argument END and don't mark Lisp objects | ||
| 6 | on the stack beyond the address given by END. Calculation of END | ||
| 7 | was moved to Fgarbage_collect. | ||
| 8 | (Fgarbage_collect): Calculate the end address of the stack portion | ||
| 9 | that needs to be examined by mark_stack, and pass that address to | ||
| 10 | garbage_collect_1, which will pass it to mark_stack. See | ||
| 11 | http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html | ||
| 12 | for more details about the underlying problems. In particular, | ||
| 13 | this avoids dumping Emacs with the large hash-table whose value is | ||
| 14 | held in purify-flag for most of the time loadup.el runs. | ||
| 15 | |||
| 1 | 2014-05-24 Jan Djärv <jan.h.d@swipnet.se> | 16 | 2014-05-24 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 17 | ||
| 3 | * xfns.c (x_window_property_intern): New function (code from | 18 | * xfns.c (x_window_property_intern): New function (code from |