X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fpurify.c;h=59acf19032ae4bd5e6c4d5117f718e4c65327398;hb=007bcd5aac2f3a1e714563bd39f7a2db2d0bf7c2;hp=aa809b92d7ddbe411084d743d2eb5997f7428d48;hpb=4023b1bec2412344e5eea4a33cd85dd662149c67;p=sbcl.git diff --git a/src/runtime/purify.c b/src/runtime/purify.c index aa809b9..59acf19 100644 --- a/src/runtime/purify.c +++ b/src/runtime/purify.c @@ -27,13 +27,13 @@ #include "interrupt.h" #include "purify.h" #include "interr.h" -#include "fixnump.h" #include "gc.h" #include "gc-internal.h" #include "thread.h" #include "genesis/primitive-objects.h" #include "genesis/static-symbols.h" #include "genesis/layout.h" +#include "genesis/hash-table.h" #include "gencgc.h" /* We don't ever do purification with GENCGC as of 1.0.5.*. There was @@ -717,8 +717,9 @@ pscav(lispobj *addr, long nwords, boolean constant) case SIMPLE_VECTOR_WIDETAG: if (HeaderValue(thing) == subtype_VectorValidHashing) { - *addr = (subtype_VectorMustRehash << N_WIDETAG_BITS) | - SIMPLE_VECTOR_WIDETAG; + struct hash_table *hash_table = + (struct hash_table *)native_pointer(addr[2]); + hash_table->needs_rehash_p = T; } count = 2; break; @@ -1021,6 +1022,9 @@ purify(lispobj static_roots, lispobj read_only_roots) printf(" cleanup"); fflush(stdout); #endif +#ifdef LISP_FEATURE_HPUX + clear_auto_gc_trigger(); /* restore mmap as it was given by os */ +#endif os_zero((os_vm_address_t) current_dynamic_space, (os_vm_size_t) dynamic_space_size);