News for hackers. Stuff that matters.
Re:Cloudflare outage on November 18, 2025 post mortem by dehrmann on Wednesday November 19, 2025 @01:57AM (#45976613)
> a stack trace takes a lot of overhead to generate

Can't Hotspot not generate the stack trace when it knows the exception will be caught and the stack trace ignored?

Re:Cloudflare outage on November 18, 2025 post mortem by mike_hearn on Wednesday November 19, 2025 @09:01AM (#45979587)
It can and that optimization has existed for a while.

Actually it can also just turn off the collection of stack traces entirely for throw sites that are being hit all the time. But most Java code doesn't need this because code only throws exceptions for exceptional situations.