• Russ Cox's avatar
    runtime: more graceful out-of-memory crash · e2f9c733
    Russ Cox authored
    Used to fault trying to access l->list->next
    when l->list == nil after MCentral_AllocList.
    Now prints
    
    runtime: out of memory: no room in arena for 65536-byte allocation (536870912 in use)
    throw: out of memory
    
    followed by stack trace.
    
    Fixes #1650.
    
    R=r, dfc
    CC=golang-dev
    https://golang.org/cl/4446062
    e2f9c733
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-qemu.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...