Fix SB-VM::SPACE-BYTES to avoid consing SAPs
commit2f4162683897dd64692e65f2b8f1e426e6a7a0cb
authorDouglas Katzman <dougk@google.com>
Thu, 17 Aug 2017 23:39:43 +0000 (17 19:39 -0400)
committerDouglas Katzman <dougk@google.com>
Thu, 17 Aug 2017 23:48:59 +0000 (17 19:48 -0400)
tree65560cd59a4af41e0a78631d87bcb4cfd68a7ff9
parent222f84f06c7b7ddba9cbb9e0e94ed2f443d0b601
Fix SB-VM::SPACE-BYTES to avoid consing SAPs

Querying a space usage cost 4 words of allocation.
Asking 100 times in a row on a 32-bit machine created 1 page full of garbage!
src/code/alloc.lisp
src/code/room.lisp
tests/compiler-2.pure.lisp