[lworld] RFR: 8378222: [lworld] Redundant check in Type::Offset::dump2

Quan Anh Mai qamai at openjdk.org
Thu Feb 19 12:49:39 UTC 2026


On Thu, 19 Feb 2026 12:40:52 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> The condition is always true because we check _offset == 0 just above:
> https://github.com/openjdk/valhalla/blob/b45a2837e0e815cb2c592f5aa833fa3f187ce1d6/src/hotspot/share/opto/type.cpp#L100
> 
> Thanks,
> Tobias

Marked as reviewed by qamai (Committer).

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

PR Review: https://git.openjdk.org/valhalla/pull/2138#pullrequestreview-3825655296


More information about the valhalla-dev mailing list