Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • rtoy's avatar
    f22fe508
    This checkin adds some debugging code for the x86 heap corruption · f22fe508
    rtoy authored
    issue and also works around the heap corruption.  These are enabled if
    DEBUG_BAD_HEAP is #defined.
    
    gencgc.c:
    o Make print_ptr and verify_gc non-static so they can be used
      elsewhere.
    
    lisp.c:
    o Call verify_gc at startup (if enabled) so we can see the heap
      corruption.
    
    save.c:
    o Add debugging prints and stuff to see what's going on, if enabled.
    o The workaround is to skip over the call to
      update_dynamic_space_free_pointer in save().  See the comments there
      for more info.
    f22fe508
    History
    This checkin adds some debugging code for the x86 heap corruption
    rtoy authored
    issue and also works around the heap corruption.  These are enabled if
    DEBUG_BAD_HEAP is #defined.
    
    gencgc.c:
    o Make print_ptr and verify_gc non-static so they can be used
      elsewhere.
    
    lisp.c:
    o Call verify_gc at startup (if enabled) so we can see the heap
      corruption.
    
    save.c:
    o Add debugging prints and stuff to see what's going on, if enabled.
    o The workaround is to skip over the call to
      update_dynamic_space_free_pointer in save().  See the comments there
      for more info.