Making the loop combinator fast !
Michael Haupt
michael.haupt at oracle.com
Tue Sep 20 13:21:29 UTC 2016
Hi Rémi,
I'm aware of sounding stereotypical, but the fix to JDK-8161211 should help with this. It's currently up for review.
Best,
Michael
> Am 14.09.2016 um 23:51 schrieb Remi Forax <forax at univ-mlv.fr>:
>
> One idea i've got during the JVM Summit,
> here is a code that implements the Stream.filter/map/reduce operations using the new loop method handle,
> https://gist.github.com/forax/b5257dfac85e74335e02b5a6b95c9182
>
> Currently, the code that use method handles is far slower than the java.util.stream.Stream equivalent,
> so the challenge is how to make it perform better.
>
> Maybe, it means we should introduce a special method handle combiner/something else that explicit ask for compiling to bytecode + JITing a method handle.
>
> cheers,
> Rémi
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
--
<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
ORACLE Deutschland B.V. & Co. KG | Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V. | Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
<http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20160920/d187a1d1/attachment-0001.html>
More information about the mlvm-dev
mailing list