[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-graal-dev
Subject: per-instance inlining hint for MethodHandle
From: miguelalfredo.garcia () epfl ! ch (Garcia Gutierrez Miguel Alfredo)
Date: 2012-05-07 19:50:53
Message-ID: 7E4228B446372948BBB2916FC53FA49E235DA29C () REXMB ! intranet ! epfl ! ch
[Download RAW message or body]
<https://ewa.epfl.ch/owa/?ae=Item&a=New&t=IPM.Note&cc=MTQuMS4zNTUuMixlbi1VUyw0Mjk0OTY3Mjk1LEhUTUwsMCww&pspid=_1336418354753_382397484#>
It appears that the most effective way to deal with MethodHandle instance (to inline \
or not to inline) would be for each MH instance to carry a marker emitted by the \
static compiler, to indicate ForceInlining.
In the case of Scala, such facility would be instrumental to achieving both goals of \
"lambdas-without-autoboxing", "runtime specialization to primitive types", and \
straight line code.
And yes, Java would also benefit from that facility, too :)
Miguel
http://lampwww.epfl.ch/~magarcia/ScalaCompilerCornerReloaded<http://lampwww.epfl.ch/%7Emagarcia/ScalaCompilerCornerReloaded>
--
Miguel Garcia
Swiss Federal Institute of Technology
EPFL - IC - LAMP1 - INR 328 - Station 14
CH-1015 Lausanne - Switzerland
http://lamp.epfl.ch/~magarcia/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic