RFR: 8341272: Factory to create wide iinc instruction with small arguments [v2]

duke duke at openjdk.org
Fri Jan 9 21:24:54 UTC 2026


On Wed, 10 Dec 2025 01:37:05 GMT, Trevor Bond <duke at openjdk.org> wrote:

>> Add a new factory method to `IncrementInstruction` that allows the explicit creation of a wide iinc instruction, even with a `slot` and `constant` that could fit into a normal iinc instruction. Previously, only one factory for iinc instructions existed, which inferred the type of instruction needed given the size of `slot` and `constant`. Add additional test cases for the new factory as well. All tier 1 tests and classfile tests have passed with these changes.
>
> Trevor Bond has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Clean up javadocs and address other review comments

@trevorkbond 
Your change (at version 44612c5f0a0dfa9548d4bf8d33ea68e53811f4ca) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/28729#issuecomment-3730609687


More information about the core-libs-dev mailing list