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

Aleksey Shipilev shade at openjdk.java.net
Wed Dec 22 14:16:12 UTC 2021


On Wed, 22 Dec 2021 14:01:49 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> 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

Looks fine.

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

Marked as reviewed by shade (Reviewer).

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


More information about the jdk-updates-dev mailing list