On Tue, 22 Mar 2022 13:00:14 GMT, Jim Laskey <jlas...@openjdk.org> wrote:
>> We propose to provide a runtime anonymous carrier class object generator; >> java.lang.runtime.Carrier. This generator class is designed to share >> anonymous classes when shapes are similar. For example, if several clients >> require objects containing two integer fields, then Carrier will ensure that >> each client generates carrier objects using the same underlying anonymous >> class. >> >> See JBS for details. > > Jim Laskey has updated the pull request incrementally with one additional > commit since the last revision: > > Fix spacing on if( Just curious, when valhalla is out, does the specification of Carrier allow the implementation to move to value classes? ------------- PR: https://git.openjdk.java.net/jdk/pull/7744