Truffle on stock OpenJDK >= 11

Jaroslav Tulach jaroslav.tulach at oracle.com
Thu Mar 21 17:24:43 UTC 2019


Dne čtvrtek 21. března 2019 9:48:49 CET, Raffaello Giulietti napsal(a):
> Hi Jaroslav,
> Did you perhaps run some measurements to assess the relative performance
> of GraalVM versus OpenJDK+Graal? I'm curious whether there are
> substantial differences and why, if at all.

Hello Raffaello,
as far as I can say I haven't noticed any difference between [GraalVM CE]
(https://github.com-oracle/graal/releases) RC 12 and OpenJDK11 with the 
binaries for RC12 like [truffle-api](https://repo1.maven.org/maven2/org/
graalvm/truffle/truffle-api-1.0.0-rc12/) and co. downloaded from Maven.

-jt

> On 2019-03-21 06:28, Jaroslav Tulach wrote:
> > Hello Raffaello,
> > recently I needed a "getting started" project for educational purposes.
> > I've created:
> > 
> > https://github.com/jaroslavtulach/talk2compiler
> > 
> > The `Main.java` class is all that is needed to switch into Truffle
> > compilation mode and use all the Truffle APIs to "talk to the compiler".
> > 
> > -jt
> > 
> >> Given that Graal is part of recent stock OpenJDKs, is it possible to use
> >> Truffle on them? This is not stated explicitly on the Truffle GitHub
> >> repo [1], which mentions prebuilts in GraalVM but does not mention
> >> OpenJDK.
> >> 
> >> More generally, which components of GraalVM listed in [2] can be built
> >> and used on OpenJDK 11 or newer?
> >> 
> >> 
> >> Greetings
> >> Raffaello
> >> 
> >> ----
> >> 
> >> [1] https://github.com/oracle/graal/tree/master/truffle
> >> [2] https://github.com/oracle/graal






More information about the graal-dev mailing list