racket/collects/tests/plai/gc2/other-mutators/begin.rkt
Jay McCarthy c2355caef6 Finalizing initial pass on GC2
It was not a problem with the particular collector. All allocation
sites need to update the gc-roots-key with their static information.
2012-01-04 19:55:24 -07:00

14 lines
173 B
Racket

#lang plai/gc2/mutator
(allocator-setup "../good-collectors/good-collector.rkt" 10)
; 3
(define (go)
; 2
(let ([obj 'z])
9 10
; 3
(symbol? obj)))
; 2
(go)