dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.2k stars 497 forks source link

[JIT] Fix a deadloop in c2 compiler #456

Closed D-D-H closed 1 year ago

D-D-H commented 1 year ago

Summary: A dead loop was observed in C2 optimizations. This deadloop is very rare and hard to reproduce. A conservative way is used to fix this issue. If a dead loop is detected. Just stop compiling this method at level 4.

Reviewed-by: kuaiwei.kw, yueshi.zwj

Issue: https://github.com/alibaba/dragonwell8/issues/455

Test Plan: internal tests

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.