1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

109 commits

Author SHA1 Message Date
Karl Heuer
9671abc28b (mark_kboards): Mark Vprefix_arg instead of
prefix_factor and prefix_value.
1995-06-07 22:25:46 +00:00
Karl Heuer
ee1eea5cee Declare sbrk. 1995-06-06 02:02:51 +00:00
Karl Heuer
58595309d2 (Fgarbage_collect): Clear consing_since_gc first thing. 1995-05-24 01:39:24 +00:00
Richard M. Stallman
b580578b0c (gc_cons_threshold): Change back to int.
(min): New macro.
(inhibit_garbage_collection): Don't exceed value an int can hold.
1995-05-06 23:04:13 +00:00
Richard M. Stallman
26b926e143 (gc_cons_threshold): Make this an EMACS_INT.
(gc_sweep): Make already_free an EMACS_INT.

(inhibit_garbage_collection): Use XSETINT, and do arithmetic in type EMACS_INT.
1995-05-04 16:19:08 +00:00
Karl Heuer
b94daf1e9f (mark_kboards): Mark the kbd macro and Vsystem_key_alist. 1995-04-25 23:47:55 +00:00
Karl Heuer
c189db03e3 Delete the #if that compares MARKBIT. 1995-04-13 21:14:31 +00:00
Richard M. Stallman
fa05e25372 (gc_sweep): If a misc has type Lisp_Misc_Free,
keep it on the free list.  Sum pseudovector sizes properly.
1995-04-12 17:53:01 +00:00
Richard M. Stallman
e81976428c (inhibit_garbage_collection): New function. 1995-04-11 20:19:46 +00:00
Richard M. Stallman
077d751f14 Include keyboard.h. 1995-04-10 05:33:58 +00:00
Richard M. Stallman
a5da44fe96 (Fmake_marker, mark_object): Use XMISCTYPE.
(clear_marks, gc_sweep): Use u_marker union elt to extrat misc type.
1995-04-07 05:28:07 +00:00
Richard M. Stallman
d32625c0fe (init_alloc_once): Increase gc_cons_threshold to 300000. 1995-03-17 07:41:02 +00:00
Karl Heuer
b875d3f7a4 (mark_kboards): Renamed from mark_perdisplays. 1995-03-15 01:57:05 +00:00
Karl Heuer
a1a61f977d (mark_perdisplays): Mark Vlast_kbd_macro. 1995-03-08 01:25:19 +00:00
Karl Heuer
4cb7d26779 (mark_perdisplays): Update to reflect current Lisp_Objects.
(NSTATICS): Increase to 768.
1995-03-01 03:43:05 +00:00
Karl Heuer
cc4c29808c (mark_perdisplays): Mark kbd_queue.
Remove reference to obsolescent kbd_buffer_frame_or_window.
1995-02-22 03:03:10 +00:00
Richard M. Stallman
276cbe5a5f (emacs_blocked_malloc): Set __malloc_extra_blocks here.
(malloc_hysteresis): New variable.
(init_alloc_once): Initialize malloc_hysteresis.
(buffer_memory_full): New function.

(refill_memory_reserve): New function.

(SPARE_MEMORY): New macro.
(emacs_blocked_free): If no spare_memory now, and enough free
space is available, get a new spare.
(__malloc_size_t, _bytes_used): Declared.
(bytes_used_when_full): New variable.

(syms_of_alloc): Improve memory exhausted error message.
(init_alloc_once): Allocate spare_memory.
(memory_full): Free spare_memory.
1995-02-06 22:52:25 +00:00
Karl Heuer
084b1a0c7d (mark_perdisplays): New function.
(Fgarbage_collect): Call it.
1995-02-03 23:23:34 +00:00
Karl Heuer
4bab50bd79 (mark_object): Ignore Lisp_Misc_Display_Objfwd objects. 1995-01-28 03:51:55 +00:00
Karl Heuer
0220c51857 Change all occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead. 1995-01-18 20:52:48 +00:00
Karl Heuer
7d535c6803 (Fpurecopy): Mask size field when copying pseudovector. 1995-01-14 02:19:32 +00:00
Karl Heuer
25be741f21 Don't allow MARKBIT and DONT_COPY_FLAG to be the same bit. 1995-01-13 00:02:43 +00:00
Karl Heuer
1fb577f7e5 (DONT_COPY_FLAG): Default this to 1.
(mark_object): Use the same XOR expression as elsewhere.
(gc_sweep): Don't touch DONT_COPY_FLAG here; this one is a real size field,
not a mangled pointer.
1995-01-13 00:00:23 +00:00
Karl Heuer
e19e5a3e16 (DONT_COPY_FLAG): Fix typo. 1995-01-11 03:00:32 +00:00
Karl Heuer
691c4285c5 (Fgarbage_collect): Don't log the GC message. 1995-01-11 02:04:58 +00:00
Richard M. Stallman
155ffe9c93 (DONT_COPY_FLAG): New bit flag.
(mark_object, gc_sweep, compact_strings): Use it.
1995-01-11 01:19:09 +00:00
Karl Heuer
6b552283ca (mark_object, mark_buffer): Don't mark buffer twice. 1995-01-04 22:43:47 +00:00
Karl Heuer
04ff97564e (mark_object): Make `else' visible outside MULTI_FRAME. 1995-01-03 01:20:47 +00:00
Richard M. Stallman
30e3190aac (mark_buffer, gc_sweep): Use BUF_INTERVALS.
(mark_buffer): In indirect buffer, mark the base buffer.

(mark_object): Make buffer case a branch of the Lisp_Vectorlike case.
1995-01-02 09:15:25 +00:00
Richard M. Stallman
169ee24357 (mark_object): Don't use Lisp_Process, Lisp_Window.
Handle frames, compileds and subrs as branch of Lisp_Vectorlike case.
(Fmake_byte_code): Use XSETCOMPILED.
1994-12-30 01:52:37 +00:00
Richard M. Stallman
d17f2a43fa (mark_object): In a frame, mark the buffer_predicate.
Don't mark the height and width fields.
1994-12-21 22:23:49 +00:00
Karl Heuer
7643763103 (Fpurecopy): Use type test macros.
(mark_object): Use the new pseudovector convention.
1994-11-18 06:49:09 +00:00
Karl Heuer
d6dd74bbae (Fpurecopy): Use type test macros. 1994-11-18 02:31:20 +00:00
Karl Heuer
1825c68d0c (Fmake_vector): Call allocate_vectorlike.
(allocate_vectorlike): New function, extracted from Fmake_vector.
1994-11-16 04:48:37 +00:00
Karl Heuer
c9dad5edec (Fmake_list, Fmake_vector, Fmake_string): Use CHECK_NATNUM instead of its
expansion.
1994-11-16 00:30:25 +00:00
Karl Heuer
8548150755 (free_float): Don't assume XFASTINT accesses the raw bits.
(make_float, free_cons, Fcons, Fmake_symbol, gc_sweep): Likewise.
1994-11-15 21:44:10 +00:00
Karl Heuer
e202fa3405 (mark_object, gc_sweep): Use new overlay substructure. 1994-11-15 02:04:40 +00:00
Karl Heuer
465edf35eb (mark_object): New code to handle buffer-local substructure.
(gc_sweep): Generalize marker code to handle other substructures.
1994-11-11 07:34:14 +00:00
Karl Heuer
c86160562a (mark_object): Use the new substructure. 1994-10-12 05:14:11 +00:00
Karl Heuer
a0a38eb79f (MARKER_BLOCK_SIZE, marker_block, marker_free_list): Now refers to the
superset type, not just markers.
(allocate_misc): New function, extracted from Fmake_marker.
(Fpurecopy): Check the substructure.
(clear_marks, mark_object, gc_sweep): Likewise.
1994-10-11 07:46:01 +00:00
Karl Heuer
9eb879911f (mark_object): Delete case Lisp_Void. 1994-10-06 22:59:55 +00:00
Karl Heuer
9852abf34d (mark_object): Delete case Lisp_Internal_Stream. 1994-10-06 21:47:12 +00:00
Karl Heuer
67ba9986a3 (free_float, make_float, free_cons, Flist, Fvector, Fmake_byte_code,
make_pure_float, mark_object, gc_sweep): Don't use XFASTINT as an lvalue.
1994-10-04 15:31:18 +00:00
Karl Heuer
45d12a8970 (VALIDATE_LISP_STORAGE, make_float, Fcons, Fmake_vector, Fmake_symbol,
Fmake_marker, make_uninit_string, make_pure_string, pure_cons,
make_pure_float, make_pure_vector, mark_buffer, gc_sweep, compact_strings,
Fmemory_limit): Use new accessor macros instead of calling XSET directly.
1994-10-04 11:47:46 +00:00
Karl Heuer
e687453f6e (Fmake_list, Fmake_vector, Fmake_string, make_event_array): Use type test
macros.
1994-09-27 03:16:02 +00:00
Karl Heuer
beded970ac (make_float, make_pure_float): Fix Lisp_Object vs. int problems. 1994-09-20 04:47:17 +00:00
Richard M. Stallman
426076815f (pure, pure_size): Use EMACS_INT.
(free_float, free_cons, PAD, STRING_FULLSIZE, struct string_block)
(make_pure_string, make_pure_vector, Fgarbage_collect, mark_object)
(gc_sweep, compact_strings, Fmemory_limit): Use EMACS_INT.
1994-09-17 00:25:35 +00:00
Karl Heuer
3a22ee3595 Update copyright. 1994-05-04 02:41:09 +00:00
Richard M. Stallman
8db3b57351 (mark_object, case frame): Mark menu_bar_vector field. 1994-04-26 09:29:18 +00:00
Karl Heuer
c13ccad2a6 (make_event_array): Use assignment, not initialization. 1994-03-23 22:25:25 +00:00