[code-reflection] Integrated: Drop unused local variables from generated op method

Maurizio Cimadamore mcimadamore at openjdk.org
Tue Apr 29 08:51:59 UTC 2025


On Mon, 28 Apr 2025 18:28:37 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> The generated op method contains some local variables that are never used.
> This PR fixes that, further reducing the number of generated locals per synthetic op method.
> While this is not a groundbreaking improvement, in some complex tests I've seen a reduction of locals up to 20%.

This pull request has now been integrated.

Changeset: 4f3248ab
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.org/babylon/commit/4f3248ab8d843615190397efd178b4e709877cca
Stats:     16 lines in 1 file changed: 8 ins; 0 del; 8 mod

Drop unused local variables from generated op method

Reviewed-by: psandoz

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

PR: https://git.openjdk.org/babylon/pull/413


More information about the babylon-dev mailing list