Integrated: 8332394: Add friendly output when @IR rule missing value

Hamlin Li mli at openjdk.org
Fri May 17 06:37:06 UTC 2024


On Thu, 16 May 2024 13:59:16 GMT, Hamlin Li <mli at openjdk.org> wrote:

> Hi,
> Can you help to review this simple patch?
> Currently, when a @IR rule like "applyIfPlatform" or "applyIfCPUFeature" miss a value, it will just throw ArrayIndexOutOfBoundsException, with no other information. This is confusing unless you dig into the test frame code.
> It's helpful to output more meaningful information.
> Thanks

This pull request has now been integrated.

Changeset: 6422efa3
Author:    Hamlin Li <mli at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6422efa3c7917525a879e80657ca4dcfb6d67514
Stats:     14 lines in 1 file changed: 4 ins; 0 del; 10 mod

8332394: Add friendly output when @IR rule missing value

Reviewed-by: chagedorn

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

PR: https://git.openjdk.org/jdk/pull/19270


More information about the hotspot-compiler-dev mailing list