Larceny Note #5: Dumped Heap Images

Lars T Hansen / June 27, 1997

How to add a named root to a heap

The global is now available from C and millicode under the name chosen in globals.cfg, and from Scheme under the name used in the call to heap.global!. For example, the call
    (heap.global! heap 'signals (dump-global! heap 'pending-signals))
associates the global cell known in Scheme as "pending-signals" with the globals slot with the roots name "signals", corresponding (although you can't see that here) to the global name "G_SIGNALS".


$Id: note5-heap.html,v 1.2 1998/11/25 14:38:24 lth Exp $
larceny@ccs.neu.edu