RFR: 8265956: JVM crashes when matching LShiftVB Node

Wang Huang whuang at openjdk.java.net
Wed Apr 28 03:00:09 UTC 2021

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. 
* test after fixing on tire1~3

Thank you for your review. Any suggestion is welcome. 
                         Wang Huang


Commit messages:
 - 8265956: JVM crashes when matching LShiftVB Node

Changes: https://git.openjdk.java.net/jdk/pull/3747/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3747&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8265956
  Stats: 202 lines in 5 files changed: 202 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3747.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3747/head:pull/3747

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

More information about the hotspot-compiler-dev mailing list