8 |
|
|
9 |
* Changes to the standalone interpreter |
* Changes to the standalone interpreter |
10 |
|
|
11 |
|
** SCM_VELTS macros is now read-only. For writing, use the new macros |
12 |
|
SCM_WRITABLE_VELTS, SCM_SET_VECTOR_LENGTH. The use of |
13 |
|
SCM_WRITABLE_VELTS is discouraged, though. |
14 |
|
|
15 |
|
** Garbage collector rewrite. |
16 |
|
|
17 |
|
The garbage collector is cleaned up a lot, and now uses lazy |
18 |
|
sweeping. This is reflected in the output of (gc-stats); since cells |
19 |
|
are being freed when they are allocated, the cells-allocated field |
20 |
|
stays roughly constant. |
21 |
|
|
22 |
|
For malloc related triggers, the behavior is changed. It uses the same |
23 |
|
heuristic as the cell-triggered collections. It may be tuned with the |
24 |
|
environment variables GUILE_MIN_YIELD_MALLOC. This is the percentage |
25 |
|
for minimum yield of malloc related triggers; (default: 40) |
26 |
|
GUILE_INIT_MALLOC_LIMIT is the trigger for doing a GC. The default is |
27 |
|
200 kb. |
28 |
|
|
29 |
|
Debugging operations for the freelist have been deprecated, along with |
30 |
|
the C variables that control garbage collection. The environment |
31 |
|
variables GUILE_MAX_SEGMENT_SIZE, GUILE_INIT_SEGMENT_SIZE_2, |
32 |
|
GUILE_INIT_SEGMENT_SIZE_1, and GUILE_MIN_YIELD_2 should be used. |
33 |
|
|
34 |
** New command line option `--no-debug'. |
** New command line option `--no-debug'. |
35 |
|
|
36 |
Specifying `--no-debug' on the command line will keep the debugging |
Specifying `--no-debug' on the command line will keep the debugging |