On Thu, 23 Oct 2025 20:24:13 GMT, Roger Riggs <[email protected]> wrote:

> When comparing the oops, do they need some additional handling? Supposing for 
> example, they are buffered value objects (from different sources). It seems 
> necessary to recurse (effectively) with those oops/refs.

The recursion is handled in ValueObjectMethods.isSubstitutableAlt() line 1447, 
the oops are compare using an acmp bytecode which will recurse if both oops are 
non null and instances of the same value class.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1695#issuecomment-3439098903

Reply via email to