/[emacs]/emacs/src/alloc.c
ViewVC logotype

Diff of /emacs/src/alloc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.258 by rms, Sun Dec 16 21:52:36 2001 UTC revision 1.259 by gerd, Sat Dec 29 12:47:29 2001 UTC
# Line 2711  make_event_array (nargs, args) Line 2711  make_event_array (nargs, args)
2711    
2712  #if GC_MARK_STACK || defined GC_MALLOC_CHECK  #if GC_MARK_STACK || defined GC_MALLOC_CHECK
2713    
2714    /* Conservative C stack marking requires a method to identify possibly
2715       live Lisp objects given a pointer value.  We do this by keeping
2716       track of blocks of Lisp data that are allocated in a red-black tree
2717       (see also the comment of mem_node which is the type of nodes in
2718       that tree).  Function lisp_malloc adds information for an allocated
2719       block to the red-black tree with calls to mem_insert, and function
2720       lisp_free removes it with mem_delete.  Functions live_string_p etc
2721       call mem_find to lookup information about a given pointer in the
2722       tree, and use that to determine if the pointer points to a Lisp
2723       object or not.  */
2724    
2725  /* Initialize this part of alloc.c.  */  /* Initialize this part of alloc.c.  */
2726    
2727  static void  static void

Legend:
Removed from v.1.258  
changed lines
  Added in v.1.259

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26