[jdk11u-dev] RFR: 8278384: Bytecodes::result_type() for arraylength returns T_VOID instead of T_INT

Zhengyu Gu zgu at openjdk.java.net
Wed Dec 22 14:09:45 UTC 2021


I would like to backport this patch for parity with Oracle 11.0.15.

The original patch does not apply cleanly. JDK 11u does not have bytecodeUtils.cpp file, which was introduced by JDK-8218628 in JDK 14.

Test:
- [x] Passed compiler/c1/CanonicalizeArrayLength.java  with -XX:+DeoptimizeALot -XX:+VerifyStack

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

Commit messages:
 - Backport 769f14db847813f5a3601e9ec21e6cadbd99ee96

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/730/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=730&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8278384
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/730.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/730/head:pull/730

PR: https://git.openjdk.java.net/jdk11u-dev/pull/730


More information about the jdk-updates-dev mailing list