[lworld] RFR: 8271544: [lworld] GraphBuilder::withfield should handle identity class holder

Tobias Hartmann thartmann at openjdk.java.net
Fri Jul 30 09:40:11 UTC 2021


The test added by [8269756](https://bugs.openjdk.java.net/browse/JDK-8269756) asserts in `GraphBuilder::withfield` because the holder klass is not an inline klass. C1 should handle that edge case by deoptimizing.

Best regards,
Tobias

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

Commit messages:
 - No need to initialize field
 - 8271544: [lworld] GraphBuilder::withfield should handle identity class holder

Changes: https://git.openjdk.java.net/valhalla/pull/512/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=512&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271544
  Stats: 36 lines in 3 files changed: 32 ins; 1 del; 3 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/512.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/512/head:pull/512

PR: https://git.openjdk.java.net/valhalla/pull/512


More information about the valhalla-dev mailing list