[lworld] RFR: 8370450: [lworld] Alternate implementation of the substitutability test method [v7]

Chen Liang liach at openjdk.org
Mon Oct 27 20:35:32 UTC 2025


On Mon, 27 Oct 2025 19:27:57 GMT, Frederic Parain <fparain at openjdk.org> wrote:

>> This is an alternate version of the substitutability method.
>> To use it, add -Xshare:off -XX:+UseAltSubstitutabilityMethod to the command line of the Valhalla VM in preview mode.
>
> Frederic Parain has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add comment

The library part looks acceptable, even though ideally I wish the VM would be able to request specialized comparison methods for each value type, so core library can provide specialized bytecode.

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

Marked as reviewed by liach (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/1695#pullrequestreview-3385359096


More information about the valhalla-dev mailing list