[lworld] Integrated: 8358093: [lworld] Crash when passing invalid constant pool index to early_larval frame
Matias Saavedra Silva
matsaave at openjdk.org
Thu Jun 12 20:05:43 UTC 2025
On Wed, 11 Jun 2025 17:18:35 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
> An early_larval frame contains a set of constant pool indices that are meant to refer to NameAndTypes. These NameAndType entries should refer to strict fields which must be marked as unset and there exists a verify error and associated test to check this, but there are no checks to ensure the input values actually refer to a NameAndType or valid constant pool index.
>
> This patch introduces a new error case and adds a test case to `StrictInstanceFieldsTest`. Note that `StrictInstanceFieldsTest.java` is problem listed so the test will not be used until JTREG 7.6 is integrated. Verified with tier 1-5 tests.
This pull request has now been integrated.
Changeset: bcee1454
Author: Matias Saavedra Silva <matsaave at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/bcee145486627c8997f2d13ba28a959abd47ccb5
Stats: 26 lines in 3 files changed: 21 ins; 0 del; 5 mod
8358093: [lworld] Crash when passing invalid constant pool index to early_larval frame
Reviewed-by: fparain, coleenp
-------------
PR: https://git.openjdk.org/valhalla/pull/1484
More information about the valhalla-dev
mailing list