RFR: 8349923: Refactor StackMapTable constructor and StackMapReader [v2]

Matias Saavedra Silva matsaave at openjdk.org
Fri Feb 14 20:13:48 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. Verified with tier 1-5 tests

Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:

  Coleen comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23645/files
  - new: https://git.openjdk.org/jdk/pull/23645/files/ef8c9786..9a78ba6d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23645&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23645&range=00-01

  Stats: 105 lines in 2 files changed: 21 ins; 27 del; 57 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