aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (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
|
* (free_float, make_float, free_cons, Flist, Fvector, Fmake_byte_code,Karl Heuer1994-10-041-13/+13
| | | | make_pure_float, mark_object, gc_sweep): Don't use XFASTINT as an lvalue.
* (VALIDATE_LISP_STORAGE, make_float, Fcons, Fmake_vector, Fmake_symbol,Karl Heuer1994-10-041-35/+32
| | | | | | 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.
* (Fmake_list, Fmake_vector, Fmake_string, make_event_array): Use type testKarl Heuer1994-09-271-4/+4
| | | | macros.
* (make_float, make_pure_float): Fix Lisp_Object vs. int problems.Karl Heuer1994-09-201-2/+2
|
* (pure, pure_size): Use EMACS_INT.Richard M. Stallman1994-09-171-30/+30
| | | | | | (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.
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (mark_object, case frame): Mark menu_bar_vector field.Richard M. Stallman1994-04-261-0/+1
|
* (make_event_array): Use assignment, not initialization.Karl Heuer1994-03-231-1/+2
|
* (mark_object): Add no-op cast.Richard M. Stallman1994-03-061-1/+3
|
* (ARRAY_MARK_FLAG): Definition moved to lisp.h.Richard M. Stallman1994-03-051-22/+0
|
* (memory_signal_data): No longer static.Richard M. Stallman1994-03-021-2/+3
| | | | (syms_of_alloc): Stick Qerror onto memory_signal_data.