RFR: 8224162: assert(profile.count() == 0) failed: sanity in InlineTree::is_not_reached

Jie Fu fujie at loongson.cn
Wed May 22 05:33:42 UTC 2019


On 2019/5/22 上午11:57, Leonid Mesnik wrote:
> Could you please add reproducer as regression test for fix. Please verify that test failed without fix and pass with fix.
I'd like to do that.
Thanks.
>
> Leonid
>
>> On May 21, 2019, at 8:54 PM, Jie Fu <fujie at loongson.cn> wrote:
>>
>> On 2019/5/21 下午10:30, Vladimir Ivanov wrote:
>>> It doesn't explain the failure since the assert is hit while parsing invoke* bytecode while type check failures are recorded for checkcast, aastore, and instanceof. Am I missing something important here?
>>>
>> Good question. I'm so sorry to make you confused.
>>
>> After a long time of digging into the code, I think this failure was cause by the overflow of profile.cout.
>>
>> A reproducer is constructed here:
>>   - http://cr.openjdk.java.net/~jiefu/8224162/CounterOverflow.java
>>
>> And I've changed the comment for the patch:
>>   - http://cr.openjdk.java.net/~jiefu/8224162/webrev.02/
>>
>> Please review it and give me some advice.
>>
>> Thanks.
>> Best regards,
>> Jie
>>
>>



More information about the hotspot-compiler-dev mailing list