Richard M. Stallman
299585eeb6
(garbage_collection_messages): New variable.
...
(syms_of_alloc): Set up Lisp variable.
(Fgarbage_collect): Variable controls whether to display messages.
1996-04-08 14:05:57 +00:00
Karl Heuer
0e7ff58fab
(struct string_block_head): Change to match string_block.
1996-03-06 04:37:18 +00:00
Richard M. Stallman
aba6deb8cd
(mark_object): Mark frame title field.
1996-01-18 08:37:41 +00:00
Erik Naggum
3b7ad313e0
Update FSF's address in the preamble.
1996-01-15 09:18:04 +00:00
Erik Naggum
636b7260dc
(Fmake_symbol): Harmonize arguments with documentation (correctly).
1996-01-09 02:44:30 +00:00
Erik Naggum
54ee42dd61
(Fmake_symbol): Harmonize arguments with documentation.
1996-01-09 02:21:31 +00:00
Karl Heuer
8e6208c5d2
Comment fixes.
1996-01-05 10:03:17 +00:00
Richard M. Stallman
128a5b555b
(Flist): Avoid using -- in while condition.
1995-11-20 23:21:25 +00:00
Richard M. Stallman
436c581148
(mark_object): Don't overwrite original argument value.
1995-11-15 17:42:44 +00:00
Karl Heuer
68be917ded
(BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
...
Rename from SHORTBITS, INTBITS, LONGBITS.
1995-10-31 02:34:16 +00:00
Richard M. Stallman
c58b2b4d79
(Fmake_char_table): Doc fix.
1995-10-29 19:17:24 +00:00
Richard M. Stallman
290c8f1eba
Cast first arg to bzero.
...
(Fmemory_use_counts): Cast 1 to EMACS_INT before shift.
1995-10-29 19:02:07 +00:00
Richard M. Stallman
a59de17baf
(Qchar_table_extra_slots): New variable.
...
(syms_of_alloc): Initialize it.
(Fmake_char_table): Take new arg PURPOSE and get N from a property.
1995-10-14 05:53:31 +00:00
Erik Naggum
c96a008cc9
(Fmake_char_table): Initialize parent to nil.
1995-10-08 02:56:45 +00:00
Richard M. Stallman
7b07587bc2
(Fmake_chartable, Fmake_boolvector): New functions.
...
(syms_of_alloc): defsubr them.
1995-10-07 21:53:27 +00:00
Richard M. Stallman
6ef5c4bdda
(Fmake_marker): Initialize insertion_type to 0.
1995-09-08 16:59:25 +00:00
Richard M. Stallman
310ea200ba
(cons_cells_consed, floats_consed, vector_cells_consed)
...
(symbols_consed, string_chars_consed, misc_objects_consed)
(intervals_consed): New vars.
(make_float, Fcons, make_interval, allocate_vectorlike, Fmake_symbol)
(allocate_misc, make_uninit_string): Increment them.
(Fmemory_use_counts): New function.
(syms_of_alloc): defsubr it.
1995-08-02 18:30:53 +00:00
Richard M. Stallman
7d179cea04
(init_alloc_once): Set gc_cons_threshold from Lisp obj size.
1995-07-19 03:39:43 +00:00
Karl Heuer
3c06d20592
(Flist): Rewritten.
...
(allocating_for_lisp): New variable.
(init_intervals, make_interval, init_symbol, Fmake_symbol)
(init_float, make_float, init_cons, Fcons)
(allocate_vectorlike, init_marker, allocate_misc)
(init_strings, make_uninit_string): Set allocate_misc temporarily.
1995-07-17 22:10:25 +00:00
Richard M. Stallman
894a9d16cf
(mark_object): Mark icon_name field.
1995-06-16 16:08:21 +00:00
Karl Heuer
6d03a6fdd5
(mark_kboards): Mark system_key_syms member.
1995-06-09 20:37:32 +00:00
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