[lworld] RFR: 8330833: [lworld] Handle deoptimization during value object construction

Tobias Hartmann thartmann at openjdk.org
Wed Apr 24 13:11:56 UTC 2024


Follow-up fix from https://github.com/openjdk/valhalla/pull/1064. Debug information at calls/traps in value object constructors is incorrect because the side effects of the constructor are not propagated. As a result, deoptimization creates a wrong state leading to incorrect execution. This patch addresses the remaining issues and adds more tests.

Thanks,
Tobias

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

Commit messages:
 - Comment and flag fixes
 - Merge branch 'lworld' into JDK-8330833
 - Another fix
 - More changes
 - Merge branch 'lworld' into JDK-8330833
 - More fixes
 - First prototype

Changes: https://git.openjdk.org/valhalla/pull/1081/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1081&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8330833
  Stats: 320 lines in 8 files changed: 246 ins; 22 del; 52 mod
  Patch: https://git.openjdk.org/valhalla/pull/1081.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1081/head:pull/1081

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



More information about the valhalla-dev mailing list