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

Harold Seigel hseigel at openjdk.java.net
Thu Dec 16 13:47:15 UTC 2021


Please review this small change to specify T_INT instead of T_VOID as the return type for the arraylength bytecode.  The fix was tested with Mach5 tiers 1-2 on Linux, Mac OS, and Solaris, and Mach5 tiers 3-5 on Linux x64.

Thanks, Harold

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

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

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

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


More information about the hotspot-runtime-dev mailing list