RFR: 8278384: Bytecodes::result_type() for arraylength returns T_VOID instead of T_INT
David Holmes
dholmes at openjdk.java.net
Fri Dec 17 02:39:29 UTC 2021
On Thu, 16 Dec 2021 13:39:18 GMT, Harold Seigel <hseigel at openjdk.org> wrote:
> 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 Windows, and Mach5 tiers 3-5 on Linux x64.
>
> Thanks, Harold
Fix looks fine but I have to wonder what the actual affect is? Shouldn't this wrong type have been detected somewhere or caused an error ??
Thanks,
David
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6863
More information about the hotspot-runtime-dev
mailing list