On Wed, 9 Sep 2026 12:37:37 GMT, Per Minborg <[email protected]> wrote:

> This PR proposes to fix a bug when dealing with overflows in one of the 
> `AMSI::copy` overloads.
> 
> The PR further proposes to relieve the inlining pressure by consolidating 
> exception suppliers into separate static methods.
> 
> Additionally, a reproducing test is proposed.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

The bytecode in `AMSI::copy` (segment -> segment) is reduced by around 10%, but 
there is only a marginal reduction in IR complexity (-3%). On an ARM CPU, no 
machine code changes were observed.

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

PR Comment: https://git.openjdk.org/jdk/pull/32790#issuecomment-5602022112

Reply via email to