Integrated: 8349923: Refactor StackMapTable constructor and StackMapReader

Matias Saavedra Silva matsaave at openjdk.org
Wed Feb 19 17:28:57 UTC 2025


On Fri, 14 Feb 2025 18:28:51 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> This patch refactors the `StackMapReader` to clean up the `StackMapTable` constructor. The `StackMapReader` class is extended to hold more fields used for verification purposes and allows for a simpler StackMapTable constructor. Additionally, in preparation for further changes to verification, the `_frame_count` may not be equal to the value reported by the classfile, so a new structure is used to generate the `_frame_array`. Verified with tier 1-5 tests

This pull request has now been integrated.

Changeset: 76319845
Author:    Matias Saavedra Silva <matsaave at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/76319845255d5f71acb2f88e684ba788bdadfa93
Stats:     170 lines in 3 files changed: 61 ins; 18 del; 91 mod

8349923: Refactor StackMapTable constructor and StackMapReader

Reviewed-by: coleenp, dholmes

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

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


More information about the hotspot-runtime-dev mailing list