[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Allocating arrays and hunks
- To: rem at MIT-MC
- Subject: Allocating arrays and hunks
- From: GLS at MIT-AI (Guy L. Steele, Jr.)
- Date: Sun, 24 Dec 78 20:56:00 GMT
- Cc: jmc at SU-AI, rww at SU-AI, wilber at SRI-KL, gsb at MIT-ML
- Cc: (BUG lisp) at MIT-MC
- Original-date: 24 DEC 1978 1556-EST
Well, if you try to allocate something and it won't fit, you
most certainly do get some kind of error -- in the case of a hunk
it is a GC-OVERFLOW error, and in the case of an array I think
you get a FAIL-ACT of soome sort. While it is admittedly not
convenient (because various errors are grouped into these
categories), this ought to be enough of a hook to let you
write ALLOCATE-RETURNING-NIL-ON-FAILURE.