RFR(XS): 8072844: Use more efficient LambdaForm type representation

Ulf Ulf.Zibis at CoSoCo.de
Thu Dec 3 13:40:17 UTC 2015


Hi Michael,

since arity, result and names[] are final values, both - methodType() and basicTypeSignature() - 
values could be precomputed at instantiation or at least lazily cached. For the first, both values 
could be computed with the same for loop, for the latter, basicTypeSignature() could reuse pTypes 
(better than ptypes) from methodType().

-Ulf


Am 03.12.2015 um 11:05 schrieb Michael Haupt:
> Dear all,
>
> please review this change.
> RFE: https://bugs.openjdk.java.net/browse/JDK-8072844
> Webrev: http://cr.openjdk.java.net/~mhaupt/8072844/webrev.00
>
> Thanks,
>
> Michael
>




More information about the core-libs-dev mailing list