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

Zhengyu Gu zgu at openjdk.java.net
Mon Jan 10 15:05:35 UTC 2022


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

This pull request has now been integrated.

Changeset: 03bfa8cf
Author:    Zhengyu Gu <zgu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/03bfa8cf4de95cbb3d1f415bd4ad01018683567d
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8278384: Bytecodes::result_type() for arraylength returns T_VOID instead of T_INT

Reviewed-by: shade
Backport-of: 769f14db847813f5a3601e9ec21e6cadbd99ee96

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

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


More information about the jdk-updates-dev mailing list