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).

Fine with me! Now it looks weird we are using `_ptr` and `_reloc` without 
getter, but I'm more than fine this way!

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

Marked as reviewed by mchevalier (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/2469#pullrequestreview-4344434753

Reply via email to