[9] RFR (L): 8057042: LambdaFormEditor: derive new LFs from a base LF
Peter Levart
peter.levart at gmail.com
Wed Sep 3 11:43:37 UTC 2014
Hi Vladimir,
I'm sure you and John have thought about it through, but I'll ask
anyway. Are cached LambdaForms going to stay around forever? What about
using a WeakReference<LambdaForm> (LambdaFormEditor.Transform could
extend WeakReference). This way unused LambdaForms would get GCed.
Regards, Peter
On 09/02/2014 03:59 PM, Vladimir Ivanov wrote:
> Webrev: http://cr.openjdk.java.net/~vlivanov/8057042/webrev.00
>
> Best regards,
> Vladimir Ivanov
>
> On 9/2/14, 5:57 PM, Vladimir Ivanov wrote:
>> https://bugs.openjdk.java.net/browse/JDK-8057042
>>
>> LambdaFormEditor provides an API to transform LambdaForms. Deriving new
>> LambdaForms from a base one allows to cache and reuse results of
>> repeated transformations.
>>
>> BMH binding is rewritten to use LambdaFormEditor.
>>
>> Testing: jdk/java/lang/invoke, jdk/java/util/streams, nashorn, octane w/
>> "-ea -esa" and COMPILE_THRESHOLD={0,30}.
>>
>> Reviewed-by: vlivanov, ?
>> Contributed-by: john.r.rose at oracle.com
>>
>> Thanks!
>>
>> Best regards,
>> Vladimir Ivanov
>> _______________________________________________
>> mlvm-dev mailing list
>> mlvm-dev at openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
More information about the mlvm-dev
mailing list