Truffle on stock OpenJDK >= 11

Raffaello Giulietti raffaello.giulietti at supsi.ch
Thu Mar 21 17:44:46 UTC 2019


On 2019-03-21 18:24, Jaroslav Tulach wrote:
> 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
> 

Hi Jaroslav,

good to know.

Then the question becomes: what's the point of using GraalVM to execute 
a polyglot long-running application environment?

Don't get me wrong. I admire GraalVM and the related technologies. But 
OpenJDK+Graal seems a more cautious, enterprise-friendly choice and 
seems to be equipped with better GCs. So, if there are no big 
performance differences (if at all), the choice between GraalVM and 
OpenJDK+Graal seems to lean towards the latter.

Am I getting the picture correctly?


Best
Raffaello



>> 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