[13] RFR(S): 8213249: compiler/graalunit/HotspotTest.java failed in ExplicitExceptionTest

Ekaterina Pavlova ekaterina.pavlova at oracle.com
Fri Jan 11 18:42:43 UTC 2019


The changes look good.

thanks.
-katya

On 1/11/19 1:31 AM, Tobias Hartmann wrote:
> Hi,
> 
> please review the following patch:
> https://bugs.openjdk.java.net/browse/JDK-8213249
> http://cr.openjdk.java.net/~thartmann/8213249/webrev.01/
> 
> The problem is C2's -XX:OmitStackTraceInFastThrow which is enabled by default. Instead of
> deoptimizing at frequent throws (such as the ArrayIndexOutOfBoundsException in this case), C2 emits
> code to throw a pre-allocated exception object (see code in GraphKit::builtin_throw()) which has a
> null message.
> 
> Thanks,
> Tobias
> 



More information about the hotspot-compiler-dev mailing list