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

Jie Fu fujie at loongson.cn
Wed May 22 03:54:48 UTC 2019

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.

Best regards,

More information about the hotspot-compiler-dev mailing list