projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.30.14: some SB-CLTL2 docstrings
[sbcl.git]
/
src
/
runtime
/
purify.c
diff --git
a/src/runtime/purify.c
b/src/runtime/purify.c
index
ec43c3a
..
59acf19
100644
(file)
--- a/
src/runtime/purify.c
+++ b/
src/runtime/purify.c
@@
-27,7
+27,6
@@
#include "interrupt.h"
#include "purify.h"
#include "interr.h"
#include "interrupt.h"
#include "purify.h"
#include "interr.h"
-#include "fixnump.h"
#include "gc.h"
#include "gc-internal.h"
#include "thread.h"
#include "gc.h"
#include "gc-internal.h"
#include "thread.h"
@@
-719,7
+718,7
@@
pscav(lispobj *addr, long nwords, boolean constant)
case SIMPLE_VECTOR_WIDETAG:
if (HeaderValue(thing) == subtype_VectorValidHashing) {
struct hash_table *hash_table =
case SIMPLE_VECTOR_WIDETAG:
if (HeaderValue(thing) == subtype_VectorValidHashing) {
struct hash_table *hash_table =
- (struct hash_table *)native_pointer(((lispobj *)thing)[2]);
+ (struct hash_table *)native_pointer(addr[2]);
hash_table->needs_rehash_p = T;
}
count = 2;
hash_table->needs_rehash_p = T;
}
count = 2;
@@
-1023,6
+1022,9
@@
purify(lispobj static_roots, lispobj read_only_roots)
printf(" cleanup");
fflush(stdout);
#endif
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);
os_zero((os_vm_address_t) current_dynamic_space,
(os_vm_size_t) dynamic_space_size);