dragonwell-project / dragonwell11

Alibaba Dragonwell11 JDK
https://www.aliyun.com/product/dragonwell
GNU General Public License v2.0
557 stars 112 forks source link

[Backport] JDK-8237894: CTW: C1 compilation fails with assert(x->type… #759

Closed kuaiwei closed 8 months ago

kuaiwei commented 8 months ago

…()->tag() == f->type()->tag()) failed: should have same type

Summary: Field access instructions hash decalred_type in addition, indexed access instructions hash value type of the instruction in addition.

Testing: test/hotspot/jtreg/compiler/c1/TestValueNumberingNullObject.java 586-checker-null-array-get

Reviewers: JoshuaZhuwj, sandlerwang

Issue: https://github.com/dragonwell-project/dragonwell11/issues/741