aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fmake_char_table): Initialize parent to nil.Erik Naggum1995-10-081-0/+1
|
* (Fmake_chartable, Fmake_boolvector): New functions.Richard M. Stallman1995-10-071-0/+55
| | | | (syms_of_alloc): defsubr them.
* (Fmake_marker): Initialize insertion_type to 0.Richard M. Stallman1995-09-081-0/+1
|
* (cons_cells_consed, floats_consed, vector_cells_consed)Richard M. Stallman1995-08-021-0/+64
| | | | | | | | | (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.
* (init_alloc_once): Set gc_cons_threshold from Lisp obj size.Richard M. Stallman1995-07-191-1/+1
|
* (Flist): Rewritten.Karl Heuer1995-07-171-20/+50
| | | | | | | | (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.
* (mark_object): Mark icon_name field.Richard M. Stallman1995-06-161-0/+1
|
* (mark_kboards): Mark system_key_syms member.Karl Heuer1995-06-091-0/+1
|
* (mark_kboards): Mark Vprefix_arg instead ofKarl Heuer1995-06-071-2/+1
| | | | prefix_factor and prefix_value.
* Declare sbrk.Karl Heuer1995-06-061-0/+2
|
* (Fgarbage_collect): Clear consing_since_gc first thing.Karl Heuer1995-05-241-0/+4
|
* (gc_cons_threshold): Change back to int.Richard M. Stallman1995-05-061-2/+4
| | | | | (min): New macro. (inhibit_garbage_collection): Don't exceed value an int can hold.
* (gc_cons_threshold): Make this an EMACS_INT.Richard M. Stallman1995-05-041-3/+6
| | | | | | (gc_sweep): Make already_free an EMACS_INT. (inhibit_garbage_collection): Use XSETINT, and do arithmetic in type EMACS_INT.
* (mark_kboards): Mark the kbd macro and Vsystem_key_alist.Karl Heuer1995-04-251-0/+5
|
* Delete the #if that compares MARKBIT.Karl Heuer1995-04-131-4/+0
|
* (gc_sweep): If a misc has type Lisp_Misc_Free,Richard M. Stallman1995-04-121-2/+13
| | | | keep it on the free list. Sum pseudovector sizes properly.
* (inhibit_garbage_collection): New function.Richard M. Stallman1995-04-111-0/+17
|
* Include keyboard.h.Richard M. Stallman1995-04-101-0/+1
|
* (Fmake_marker, mark_object): Use XMISCTYPE.Richard M. Stallman1995-04-071-6/+6
| | | | (clear_marks, gc_sweep): Use u_marker union elt to extrat misc type.
* (init_alloc_once): Increase gc_cons_threshold to 300000.Richard M. Stallman1995-03-171-1/+1
|
* (mark_kboards): Renamed from mark_perdisplays.Karl Heuer1995-03-151-11/+11
|
* (mark_perdisplays): Mark Vlast_kbd_macro.Karl Heuer1995-03-081-0/+1
|
* (mark_perdisplays): Update to reflect current Lisp_Objects.Karl Heuer1995-03-011-3/+3
| | | | (NSTATICS): Increase to 768.
* (mark_perdisplays): Mark kbd_queue.Karl Heuer1995-02-221-1/+1
| | | | Remove reference to obsolescent kbd_buffer_frame_or_window.
* (emacs_blocked_malloc): Set __malloc_extra_blocks here.Richard M. Stallman1995-02-061-1/+97
| | | | | | | | | | | | | | | | | | (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.
* (mark_perdisplays): New function.Karl Heuer1995-02-031-1/+17
| | | | (Fgarbage_collect): Call it.
* (mark_object): Ignore Lisp_Misc_Display_Objfwd objects.Karl Heuer1995-01-281-0/+1
|
* Change all occurences of SWITCH_ENUM_BUG to use SWITCH_ENUM_CAST instead.Karl Heuer1995-01-181-6/+2
|
* (Fpurecopy): Mask size field when copying pseudovector.Karl Heuer1995-01-141-0/+2
|
* Don't allow MARKBIT and DONT_COPY_FLAG to be the same bit.Karl Heuer1995-01-131-0/+4
|
* (DONT_COPY_FLAG): Default this to 1.Karl Heuer1995-01-131-9/+13
| | | | | | (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.
* (DONT_COPY_FLAG): Fix typo.Karl Heuer1995-01-111-1/+1
|
* (Fgarbage_collect): Don't log the GC message.Karl Heuer1995-01-111-3/+3
|
* (DONT_COPY_FLAG): New bit flag.Richard M. Stallman1995-01-111-8/+18
| | | | (mark_object, gc_sweep, compact_strings): Use it.
* (mark_object, mark_buffer): Don't mark buffer twice.Karl Heuer1995-01-041-2/+5
|
* (mark_object): Make `else' visible outside MULTI_FRAME.Karl Heuer1995-01-031-1/+1
|
* (mark_buffer, gc_sweep): Use BUF_INTERVALS.Richard M. Stallman1995-01-021-8/+13
| | | | | | (mark_buffer): In indirect buffer, mark the base buffer. (mark_object): Make buffer case a branch of the Lisp_Vectorlike case.
* (mark_object): Don't use Lisp_Process, Lisp_Window.Richard M. Stallman1994-12-301-70/+69
| | | | | Handle frames, compileds and subrs as branch of Lisp_Vectorlike case. (Fmake_byte_code): Use XSETCOMPILED.
* (mark_object): In a frame, mark the buffer_predicate.Richard M. Stallman1994-12-211-3/+2
| | | | Don't mark the height and width fields.
* (Fpurecopy): Use type test macros.Karl Heuer1994-11-181-4/+5
| | | | (mark_object): Use the new pseudovector convention.
* (Fpurecopy): Use type test macros.Karl Heuer1994-11-181-40/+23
|
* (Fmake_vector): Call allocate_vectorlike.Karl Heuer1994-11-161-11/+22
| | | | (allocate_vectorlike): New function, extracted from Fmake_vector.
* (Fmake_list, Fmake_vector, Fmake_string): Use CHECK_NATNUM instead of itsKarl Heuer1994-11-161-9/+6
| | | | expansion.
* (free_float): Don't assume XFASTINT accesses the raw bits.Karl Heuer1994-11-151-9/+8
| | | | (make_float, free_cons, Fcons, Fmake_symbol, gc_sweep): Likewise.
* (mark_object, gc_sweep): Use new overlay substructure.Karl Heuer1994-11-151-1/+18
|
* (mark_object): New code to handle buffer-local substructure.Karl Heuer1994-11-111-25/+59
| | | | (gc_sweep): Generalize marker code to handle other substructures.
* (mark_object): Use the new substructure.Karl Heuer1994-10-121-8/+10
|
* (MARKER_BLOCK_SIZE, marker_block, marker_free_list): Now refers to theKarl Heuer1994-10-111-36/+69
| | | | | | | superset type, not just markers. (allocate_misc): New function, extracted from Fmake_marker. (Fpurecopy): Check the substructure. (clear_marks, mark_object, gc_sweep): Likewise.
* (mark_object): Delete case Lisp_Void.Karl Heuer1994-10-061-1/+0
|
* (mark_object): Delete case Lisp_Internal_Stream.Karl Heuer1994-10-061-1/+0
|