Integrated: 8265956: JVM crashes when matching LShiftVB Node

Wang Huang whuang at openjdk.java.net
Tue May 11 03:22:58 UTC 2021


On Wed, 28 Apr 2021 02:51:06 GMT, Wang Huang <whuang at openjdk.org> wrote:

> It is fount that the rule `match(Set dst (LShiftVB src shift))` is missing on many cpus, such like `aarch64` and `x86`. It is this reason that JVM will crash under `JDK-8265956`'s test case. In this commit, I :
> * show the crash case `TestVectorShuffleIotaShort`
> * ~~solve the issue on `aarch64` and `x86` by adding the rule.~~  solve the issue by adding `LShiftCntVNode` without adding any rule
> * test after fixing on tire1~3
> 
> Thank you for your review. Any suggestion is welcome. 
>                          Wang Huang

This pull request has now been integrated.

Changeset: 10a049e1
Author:    Wang Huang <whuang at openjdk.org>
Committer: Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/10a049e1714bfe64f895177f4de7a31ad65f407a
Stats:     122 lines in 2 files changed: 120 ins; 0 del; 2 mod

8265956: JVM crashes when matching LShiftVB Node

Co-authored-by: Wang Huang <whuang at openjdk.org>
Co-authored-by: Ai Jiaming <aijiaming1 at huawei.com>
Reviewed-by: kvn, jiefu

-------------

PR: https://git.openjdk.java.net/jdk/pull/3747


More information about the hotspot-compiler-dev mailing list