RFR(S): 8062543: Replace uses of MethodHandleImpl.castReference with Class.cast

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Jul 15 09:00:47 UTC 2015


Looks good.

Have you verified there's no performance regression? I'd suggest to run 
some Octane benchmarks.

Best regards,
Vladimir Ivanov

On 7/15/15 11:23 AM, Michael Haupt wrote:
> Dear all,
>
> please review and sponsor this change.
> RFE: https://bugs.openjdk.java.net/browse/JDK-8062543
> Webrev: http://cr.openjdk.java.net/~mhaupt/8062543/webrev.00/
>
> The change removes the no longer needed MethodHandleImpl.castReference method. Its uses are replaced with Class.cast.
>
> Tested with:
> * jtreg (java.lang.invoke, java.util.stream)
> * JPRT (hotspot and jdk_lang test sets)
> * UTE (vm.quick-pcl.testlist, vm.defmeth.testlist)
>
> Thanks,
>
> Michael
>



More information about the core-libs-dev mailing list