On Wed, 10 Jan 2024 16:49:50 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> Conceptually, these are independent types. There's no logical relationship 
>> between them. Sharing a zero length array would convey a false sense of 
>> logical sharing.
>
> true, but its wasted space and IMHO ok as a local and private implementation 
> detail.

I agree that, as a private implementation detail, this can be optimized by 
sharing.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17129#discussion_r1447693340

Reply via email to