On 6/3/2022 1:39 PM, Remi Forax wrote:
------------------------------------------------------------------------
*From: *"Brian Goetz" <brian.go...@oracle.com>
*To: *"daniel smith" <daniel.sm...@oracle.com>,
"valhalla-spec-experts" <valhalla-spec-experts@openjdk.java.net>
*Sent: *Friday, June 3, 2022 6:21:26 PM
*Subject: *Re: Anonymous value classes
There is no chance to get any calling-convention optimization
here, since the concrete class name will not show up in any method
descriptor (or preload attribute). There is no chance to get any
heap flattening here, since the concrete class name will not show
up in any field descriptor or `newarray` operand.
Nope, anonymous classes are anonymous only for Java not in the
bytecode, by example
OK, correction: such a vanishingly microscopic chance as to be
completely ignorable :)