logoalt Hacker News

dnauticsyesterday at 11:37 PM1 replyview on HN

stacktraces? might also be useful to know whether or not the latest allocand was a jumbo sized allocand that caused the failure?


Replies

dwatttttyesterday at 11:45 PM

Do you really want that data passed back down to the caller of the allocation? From the description of the failure state you'd want to log that data instead: what's the caller of the allocation going to do if you tell it it failed with a crazy size? It already knows the size, it's the one who asked for it.

show 1 reply