[lworld] RFR: 8314190: [lworld] Missing InlineTypeNode re-materialization during type sharpening.
Jatin Bhateja
jbhateja at openjdk.org
Tue Aug 15 11:10:10 UTC 2023
- Currently we try to sharpen the object type to a narrower type to optimize object type comparison against a class constant.
- This is achieved by inserting a CheckCastPP node which casts the object type to a higher speculative type, if cast type is an inlinetype we need to rematerialize InlineTypeNode from newly casted object which was missing and is fixed by the patch.
Kindly review.
Tier1 regressions are clean.
Best Regards,
Jatin Bhateja
-------------
Commit messages:
- 8314190: [lworld] Missing InlineTypeNode re-materialization during type sharpening.
Changes: https://git.openjdk.org/valhalla/pull/907/files
Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=907&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8314190
Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/valhalla/pull/907.diff
Fetch: git fetch https://git.openjdk.org/valhalla.git pull/907/head:pull/907
PR: https://git.openjdk.org/valhalla/pull/907
More information about the valhalla-dev
mailing list