Changeset 13082 for branches/purify


Ignore:
Timestamp:
Oct 22, 2009, 9:57:13 AM (10 years ago)
Author:
gb
Message:

When unwatching, need to rebuild the refbits for the managed static area
since we're (re)introducing a static->dynamic reference.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/purify/source/lisp-kernel/x86-exceptions.c

    r13042 r13082  
    37583758    /* because wp_update_references doesn't update refbits */
    37593759    tenure_to_area(tenured_area);
     3760    /* Unwatching can (re-)introduce managed_static->dynamic references */
     3761    zero_bits(managed_static_area->refbits,managed_static_area->ndnodes);
     3762    update_managed_refs(managed_static_area, low_markable_address, area_dnode(active_dynamic_area->active, low_markable_address));
    37603763    check_all_areas(tcr);
    37613764    xpGPR(xp, Iarg_z) = new;
Note: See TracChangeset for help on using the changeset viewer.