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

145 commits

Author SHA1 Message Date
Richard M. Stallman
188b4aeaac Update copyright year. 1997-04-09 04:00:39 +00:00
Richard M. Stallman
d165822189 For glibc's malloc, include <malloc.h> for mallinfo,
mallopt, struct mallinfo, and mallopt constants.
(BYTES_USED): New macro.
(memory_full, emacs_blocked_free): Replace _bytes_used with BYTES_USED.
(emacs_blocked_malloc): Set sbrk padding value for glibc, as is
done with gmalloc.
(allocate_vectorlike, make_uninit_string):
Prevent using mmap for possible large chunks.
(init_alloc_once): Set trim and mmap malloc parms, when using glibc.
1997-04-09 03:59:08 +00:00
Kenichi Handa
0551bde3a4 (Fmake_char_table): Adjusted for the new structure of
Lisp_Char_Table.
(make_sub_char_table): New function.
1997-04-07 07:12:13 +00:00
Richard M. Stallman
a0e1f1855c (mark_object): Mark the buffer_list field. 1997-03-22 04:02:03 +00:00
Karl Heuer
38a1965a3f (Fmake_char_table): Typo in doc-string fixed. Handle
the case that PURPOSE is nil (in a deeper char-table).
(Fmake_bool_vector): Make correct size of Lisp_Object for
bool-vector.
1997-02-20 06:43:51 +00:00
Richard M. Stallman
0f936def56 (Fgarbage_collect): Use Vhistory_length for truncating Vcommand_history. 1996-11-07 21:14:18 +00:00
Erik Naggum
d7cd5d4f61 (Fmake_char_table): Doc fix. 1996-10-28 11:55:29 +00:00
Erik Naggum
c23baf9f13 Comment changes. 1996-09-17 17:49:23 +00:00
Erik Naggum
47d5b31e26 (Fmake_symbol): Initialize `obarray' field. 1996-09-17 15:36:26 +00:00
Richard M. Stallman
5a053ea981 (Fmake_byte_code): Call make_pure_vector using nargs. 1996-09-04 00:06:48 +00:00
Richard M. Stallman
01a4d290aa (Fpurecopy): Cast arg to make_pure_vector.
(Fmake_byte_code): Use XFASTINT when calling make_pure_vector.
1996-09-03 23:56:33 +00:00
Karl Heuer
e3678b6433 Removed support for !MULTI_FRAME. 1996-09-01 21:04:32 +00:00
Richard M. Stallman
fa9e8864b4 (Fgarbage_collect): Report used and free intervals. 1996-08-31 21:53:53 +00:00
Richard M. Stallman
0819585c7b (syms_of_alloc): Set up Lisp variables ...-consed,
such as Vcons-cells-consed.
1996-08-29 00:44:05 +00:00
Richard M. Stallman
707788bd68 (mark_object): Do set ARRAY_MARK_FLAG for bool-vectors. 1996-06-10 18:19:48 +00:00
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