Changeset 8420


Ignore:
Timestamp:
Feb 4, 2008, 7:27:29 AM (17 years ago)
Author:
Gary Byers
Message:

Don't just toggle beween weak GC methods; pick up user pref from global.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/gc-common.c

    r8370 r8420  
    751751
    752752void
    753 install_weak_mark_functions(int set) {
     753install_weak_mark_functions(natural set) {
    754754  switch(set) {
    755755  case 0:
     
    990990#endif
    991991
    992 int weak_hash_toggle = 0;
    993992
    994993void
     
    10081007  natural static_dnodes;
    10091008
    1010   install_weak_mark_functions(weak_hash_toggle);
    1011   weak_hash_toggle = 1 - weak_hash_toggle;
     1009  install_weak_mark_functions(lisp_global(WEAK_GC_METHOD) >> fixnumshift);
     1010
     1011
    10121012
    10131013#ifndef FORCE_DWS_MARK
Note: See TracChangeset for help on using the changeset viewer.