[13] RFR(S): 8213249: compiler/graalunit/HotspotTest.java failed in ExplicitExceptionTest
Tobias Hartmann
tobias.hartmann at oracle.com
Fri Jan 11 09:31:41 UTC 2019
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