RFR: 8349923: Refactor StackMapTable constructor and StackMapReader [v3]
Matias Saavedra Silva
matsaave at openjdk.org
Wed Feb 19 14:54:31 UTC 2025
> 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
Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:
David suggestions
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23645/files
- new: https://git.openjdk.org/jdk/pull/23645/files/9a78ba6d..ca0b0254
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23645&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23645&range=01-02
Stats: 14 lines in 2 files changed: 0 ins; 1 del; 13 mod
Patch: https://git.openjdk.org/jdk/pull/23645.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23645/head:pull/23645
PR: https://git.openjdk.org/jdk/pull/23645
More information about the hotspot-runtime-dev
mailing list