[13] RFR(S): 8213249: compiler/graalunit/HotspotTest.java failed in ExplicitExceptionTest
dean.long at oracle.com
dean.long at oracle.com
Fri Jan 11 18:48:55 UTC 2019
The fix seems reasonable. It's a little strange that the test needs to
know about a C2 flag, but these
tests are already strange because they care about exception messages
exactly matching between
compilers.
dl
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