Java Cup
Inside Java

News and views from members of the Java team at Oracle

Pruning Dead Exception Handlers

In JDK 22 we resolved a performance issue that had been plaguing the FFM API for a while. The effect of this optimization is more broadly applicable to Java code using try-with-resources, or just any untaken catch block...


More at https://jornvernee.github.io/hotspot/jit/2024/02/16/prune-dead-exception-handlers.html.