[lworld] Integrated: 8361496: [lworld] Treating interfaces as isValue() leads to failed assert

Chen Liang liach at openjdk.org
Fri Jul 18 20:42:15 UTC 2025


On Mon, 7 Jul 2025 22:44:42 GMT, Chen Liang <liach at openjdk.org> wrote:

> Reviewed a few sites of isValue() usages that cause immediate trouble with bootstrap and basic tests. Factor out `ValueClass::isValueObjectCompatible` and `isValueObjectInstance` to represent the two states of value classes: field types that can hold value objects, and field types that definitely hold value objects.
> 
> I think we still need a more throughout review for all `isValue` usages, such as those in MethodHandle or VarHandle. Preliminary testing hasn't revealed anything yet.
> 
> Testing: tier 1-3, seems to have no new failures

This pull request has now been integrated.

Changeset: 64fe6c1e
Author:    Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/64fe6c1eaadc28ab344771d4492304a71e6d7e86
Stats:     147 lines in 7 files changed: 116 ins; 13 del; 18 mod

8361496: [lworld] Treating interfaces as isValue() leads to failed assert

Reviewed-by: rriggs

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

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


More information about the valhalla-dev mailing list