Hi Paul, Vladimir, thanks - I'll be back with perf numbers ASAP.
Best, Michael > Am 15.07.2015 um 12:51 schrieb Paul Sandoz <paul.san...@oracle.com>: > > > On Jul 15, 2015, at 10:23 AM, Michael Haupt <michael.ha...@oracle.com> 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. >> > > Look good. I agree with Vladimir on checking for performance regressions (i > suspect/hope! there will not be any). > > Paul. > >> 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 -- <http://www.oracle.com/> Dr. Michael Haupt | Principal Member of Technical Staff Phone: +49 331 200 7277 | Fax: +49 331 200 7561 Oracle Java Platform Group | LangTools Team | Nashorn Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14 | 14467 Potsdam, Germany <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment