Truffle on stock OpenJDK >= 11

raffaello.giulietti at supsi.ch raffaello.giulietti at supsi.ch
Wed Mar 20 21:25:15 UTC 2019


Hi Thomas,

On 2019-03-20 21:57, Thomas Wuerthinger wrote:
> Yes. This article describes for example how to run GraalVM’s JavaScript
> engine via Truffle on OpenJDK
> 11: https://medium.com/graalvm/graalvms-javascript-engine-on-jdk11-with-high-performance-3e79f968a819.
> 

Fine, thanks.



> Not supported on OpenJDK 11 is creating native images. There is ongoing
> work to make it possible.
> 

I understand that questions about performance are mostly answered
cautiously because too many factors are involved. But what could be a
very rough, general, "safe harbor", unofficial estimate on the speedup
of GraalVM CE/EE versus OpenJDK+Graal in long running applications?

Stated otherwise, what's the performance penalty of using OpenJDK+Graal
rather than GraalVM (if at all) and why is there a penalty in the first
place?


(The article mentions a OpenJDK+Graal speedup factor of 2 when compared
to Nashorn for that specific application. Further below a benchmark
shows a GraalVM composite score of 4 with respect to Nashhorn.)



> - thomas
> 
> 
>> On 20 Mar 2019, at 21:46, raffaello.giulietti at supsi.ch
>> <mailto:raffaello.giulietti at supsi.ch> wrote:
>>
>> Hi,
>>
>> hope this is still the right mailing list for this kind of question.
>>
>> 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