null checks vs. class resolution, and translation strategy for casts

Brian Goetz brian.goetz at oracle.com
Tue Apr 14 13:56:06 UTC 2020


> 
> How it is better than a new opcode "unbox" with exactly the same semantics ?

For one, an “unbox” opcode assumes that the VM understands the fictitious relationship between the val and ref projections.  But these are language fictions; the VM sees only classes related by extension and sealing.


More information about the valhalla-spec-observers mailing list