hg: mlvm/mlvm/jdk: LF'ified makeAllocator; 18 MethodHandlesTests working

Rémi Forax forax at univ-mlv.fr
Fri Dec 30 06:45:03 PST 2011


On 12/30/2011 03:26 PM, christian.thalinger at oracle.com wrote:
> Changeset: 700540b4b52b
> Author:    twisti
> Date:      2011-12-30 15:25 +0100
> URL:       http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/700540b4b52b
>
> LF'ified makeAllocator; 18 MethodHandlesTests working
>
> ! meth-lazy-7023639.bcg.patch

Hi Christian,
I believe you should create the UNSAFE_ALLOCATEINSTANCE with
lookup.bind() instead of doing a findVirtual + a bindReceiver
to avoid to bind the receiver for each call of findConstructor.

BTW, nice to see that collect is not used anymore during the allocation.

cheers,
Rémi




More information about the mlvm-dev mailing list