RFR: 8338529: Initial iteration of numerics modeling interfaces

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Jan 16 16:53:15 UTC 2026


On Fri, 16 Jan 2026 04:51:29 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> A refinement of some earlier ideas on the numerics modeling interfaces to inform further discussions.
> 
> This is a "lumpy" rather than "splitty" design in terms of favoring a smaller number of interfaces with more functionality rather than a larger number of interfaces making smaller distinctions.
> 
> Various design comments and to-do's noted in the code.

src/java.base/share/classes/java/lang/Orderable.java line 95:

> 93:      * @param op2 the second operand
> 94:      */
> 95:      OC min(OC op1, OC op2);

Should this be a default method?

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1917#discussion_r2699247551


More information about the valhalla-dev mailing list