Is it worth to use the bipush opcode for booleans instead of iconst?

Tagir Valeev amaembo at gmail.com
Wed Apr 6 15:15:07 UTC 2022


Why emitting two bytes when it's possible to emit only one?

ср, 6 апр. 2022 г., 20:34 Julian Waters <tanksherman27 at gmail.com>:

> Quick question, would it be better for javac to compile booleans to use
> bipush, instead of the current iconst?
>
> best regards,
> Julian
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20220406/cbfa477a/attachment.htm>


More information about the compiler-dev mailing list