[13] RFR(S): 8213249: compiler/graalunit/HotspotTest.java failed in ExplicitExceptionTest
Tobias Hartmann
tobias.hartmann at oracle.com
Mon Jan 14 08:40:42 UTC 2019
Katya, Igor, Dean, Vladimir, thanks for the reviews!
Best regards,
Tobias
On 12.01.19 23:40, Vladimir Kozlov wrote:
> Good.
>
> Thanks,
> Vladimir
>
> 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