[lworld] RFR: 8343846: [lworld] implement spec changes to stack map tables

Matias Saavedra Silva matsaave at openjdk.org
Fri Feb 21 21:24:53 UTC 2025


This patch implements the spec changes needed to realize the ACC_STRICT flag. See the JBS issue for more details. 

The patch is divided across 3 major commits:
1. VM changes for asserting that strict fields are initialized before the super constructor is called
2. Javac changes for generating the stack map table entries
3. Test

Verified with tier 1-3 tests

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

Commit messages:
 - Fixed build failures and changed test
 - Added test
 - Implemented javac changes
 - Implemented VM changes to handle strict instance fields

Changes: https://git.openjdk.org/valhalla/pull/1373/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1373&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8343846
  Stats: 1193 lines in 26 files changed: 965 ins; 43 del; 185 mod
  Patch: https://git.openjdk.org/valhalla/pull/1373.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1373/head:pull/1373

PR: https://git.openjdk.org/valhalla/pull/1373


More information about the valhalla-dev mailing list