[lworld] RFR: 8314190: [lworld] Missing InlineTypeNode re-materialization during type sharpening. [v3]

Jatin Bhateja jbhateja at openjdk.org
Fri Aug 18 20:13:28 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

Jatin Bhateja has updated the pull request incrementally with one additional commit since the last revision:

  Review comments resolutions.

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/907/files
  - new: https://git.openjdk.org/valhalla/pull/907/files/560d8b69..bfa0a1f2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=907&range=02
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=907&range=01-02

  Stats: 5 lines in 1 file changed: 0 ins; 2 del; 3 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