STANDARD-INSTANCE-ACCESS, and FUNCALLABLE-STANDARD-INSTANCE-ACCESS.
** Users can now defined new places usable with SB-EXT:COMPARE-AND-SWAP
using an API anologous to defining new SETFable places.
- * enhancement: on GENCGC systems nursery size now defaults to 5% of
- dynamic-space size.
+ * enhancement: on GENCGC systems nursery and generation sizes now default to
+ 5% of dynamic-space size.
* enhancement: on CHENEYGC targets, SB-KERNEL:MAKE-LISP-OBJ now does
the same validation of pointer objects as GENCGC does, instead of a
comparatively weak bounds-check against the heap spaces.
"Number of bytes that can be allocated to GENERATION before that
generation is considered for garbage collection. This value is meaningless for
generation 0 (the nursery): see BYTES-CONSED-BETWEEN-GCS instead. Default is
-20Mb. Can be assigned to using SETF. Available on GENCGC platforms only.
+5% of the dynamic space size. Can be assigned to using SETF. Available on
+GENCGC platforms only.
Experimental: interface subject to change."
t)
generations[i].num_gc = 0;
generations[i].cum_sum_bytes_allocated = 0;
/* the tune-able parameters */
- generations[i].bytes_consed_between_gc = 2000000;
+ generations[i].bytes_consed_between_gc = bytes_consed_between_gcs;
generations[i].number_of_gcs_before_promotion = 1;
generations[i].minimum_age_before_gc = 0.75;
}
;;; SB-EXT:GENERATION-* accessors returned bogus values for generation > 0
(with-test (:name :bug-529014 :skipped-on '(not :gencgc))
- ;; FIXME: These parameters are a) tunable in the source and b)
- ;; duplicated multiple times there and now here. It would be good to
- ;; OAOO-ify them (probably to src/compiler/generic/params.lisp).
(loop for i from 0 to sb-vm:+pseudo-static-generation+
- do (assert (= (sb-ext:generation-bytes-consed-between-gcs i) 2000000))
- (assert (= (sb-ext:generation-minimum-age-before-gc i) 0.75))
- (assert (= (sb-ext:generation-number-of-gcs-before-promotion i) 1))))
+ do (assert (= (sb-ext:generation-bytes-consed-between-gcs i)
+ (sb-ext:bytes-consed-between-gcs)))
+ ;; FIXME: These parameters are a) tunable in the source and b)
+ ;; duplicated multiple times there and now here. It would be good to
+ ;; OAOO-ify them (probably to src/compiler/generic/params.lisp).
+ (assert (= (sb-ext:generation-minimum-age-before-gc i) 0.75))
+ (assert (= (sb-ext:generation-number-of-gcs-before-promotion i) 1))))