1.0.25.34: gc trigger improvements
[sbcl.git] / src / compiler / generic / parms.lisp
1 ;;;; This file contains some parameterizations of various VM
2 ;;;; attributes common to all architectures.
3
4 ;;;; This software is part of the SBCL system. See the README file for
5 ;;;; more information.
6 ;;;;
7 ;;;; This software is derived from the CMU CL system, which was
8 ;;;; written at Carnegie Mellon University and released into the
9 ;;;; public domain. The software is in the public domain and is
10 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
11 ;;;; files for more information.
12
13 (in-package "SB!VM")
14
15 (defparameter *c-callable-static-symbols*
16   '(sub-gc
17     sb!kernel::post-gc
18     sb!kernel::internal-error
19     sb!kernel::control-stack-exhausted-error
20     sb!kernel::heap-exhausted-error
21     sb!kernel::undefined-alien-variable-error
22     sb!kernel::undefined-alien-function-error
23     sb!kernel::memory-fault-error
24     sb!kernel::unhandled-trap-error
25     sb!di::handle-breakpoint
26     sb!di::handle-single-step-trap
27     fdefinition-object
28     #!+sb-thread sb!thread::run-interruption
29     #!+win32 sb!kernel::handle-win32-exception))
30
31 (defparameter *common-static-symbols*
32   '(t
33
34     ;; filled in by the C code to propagate to Lisp
35     *posix-argv* *core-string*
36
37     ;; free pointers.  Note that these are FIXNUM word counts, not (as
38     ;; one might expect) byte counts or SAPs. The reason seems to be
39     ;; that by representing them this way, we can avoid consing
40     ;; bignums.  -- WHN 2000-10-02
41     *read-only-space-free-pointer*
42     *static-space-free-pointer*
43
44     ;; things needed for non-local-exit
45     *current-catch-block*
46     *current-unwind-protect-block*
47
48     #!+hpux *c-lra*
49
50     ;; stack pointers
51     *binding-stack-start*
52     *control-stack-start*
53     *control-stack-end*
54
55     ;; interrupt handling
56     *alloc-signal*
57     *free-interrupt-context-index*
58     sb!unix::*allow-with-interrupts*
59     sb!unix::*interrupts-enabled*
60     sb!unix::*interrupt-pending*
61     *in-without-gcing*
62     *gc-inhibit*
63     *gc-pending*
64     #!-sb-thread
65     *stepping*
66
67     ;; Dispatch tables for generic array access
68     sb!impl::*data-vector-reffers*
69     sb!impl::*data-vector-setters*
70     sb!impl::*data-vector-reffers/check-bounds*
71     sb!impl::*data-vector-setters/check-bounds*
72
73     ;; hash table weaknesses
74     :key
75     :value
76     :key-and-value
77     :key-or-value))
78
79 ;;; Number of entries in the thread local storage. Limits the number
80 ;;; of symbols with thread local bindings.
81 (def!constant tls-size 4096)