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.
Can't Hotspot not generate the stack trace when it knows the exception will be caught and the stack trace ignored?