• 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
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...