On Fri, 22 May 2026 09:37:53 GMT, Tobias Hartmann <[email protected]> wrote:

> Using accessor method for `_offset` in `TypePtr::eq` for consistency with 
> `TypePtr::hash`. This is semantically equivalent because `Offset` overrides 
> the `==` operator.
> 
> Thanks,
> Tobias
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 20105ede
Author:    Tobias Hartmann <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/20105ede58783a83d2872327d749087c9be128f6
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8385311: [lworld] TypePtr::eq() should use accessor method for _offset

Reviewed-by: mchevalier

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

PR: https://git.openjdk.org/valhalla/pull/2469

Reply via email to