On Thu, 19 Feb 2026 12:40:52 GMT, Tobias Hartmann <[email protected]> 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 This pull request has now been integrated. Changeset: d33b4629 Author: Tobias Hartmann <[email protected]> URL: https://git.openjdk.org/valhalla/commit/d33b4629b89a243b16224444d409200d86e09c67 Stats: 3 lines in 1 file changed: 0 ins; 1 del; 2 mod 8378222: [lworld] Redundant check in Type::Offset::dump2 Reviewed-by: qamai ------------- PR: https://git.openjdk.org/valhalla/pull/2138
