Graal plans relating to JDK 9?

Doug Simon doug.simon at
Thu Aug 28 19:11:39 UTC 2014

On Aug 28, 2014, at 9:03 PM, Deneau, Tom <tom.deneau at> wrote:

> Re-opening the JDK9 issue which was brought up back in June...
> I wanted to understand what would be involved in creating a private JDK9-compliant graal repository.  Not knowing much of the underlying dependencies on specific JDK versions, I would have thought that JDK9 was backwards compatible and so any project that declared a dependency on 1.8 would also work with JDK9.
> But I see the logic in for Project(Dependency)__init__ does not agree.

You can (probably) get around *that* hurdle by modifying your mx/env to be something like:


Then the build should/might work. However, I’ve heard that deploying the resulting 1.8 HotSpot VM into JDK9 doesn’t work. After merging in a jdk9 HotSpot repo, you can try and build a 1.9 HotSpotVM but I have no experience with this (yet).


> -----Original Message-----
> From: Thomas Wuerthinger [mailto:thomas.wuerthinger at] 
> Sent: Sunday, June 01, 2014 11:43 AM
> To: Caspole, Eric
> Cc: Doug Simon; Deneau, Tom; Frost, Gary
> Subject: Re: Graal plans relating to JDK 9?
> The main Graal repository is going to stay with JDK8 for a while, because we want to create a stable version of Graal combined with a stable version of JDK8. We could however think about creating a child repository that derives from the main repository (and which could merge in JDK9); e.g. "graal-hsa". We could there also give you there direct push rights. - thomas
> On 30 May 2014, at 17:18, Eric Caspole <eric.caspole at> wrote:
>> There are several reasons but one thing that I am interested in for JDK9 is how we might tweak the Stream API to make it easier for us to decompose the stream pipeline that we are going to offload. The way we do it now is very fragile.
>> On 05/30/2014 11:12 AM, Doug Simon wrote:
>>> We've made the decision to stick with jdk 8 until we have a clearer picture about integration of Graal into the product VM. Are there features in 9 that are of particular relevance for Sumatra?
>>> Sent from my iPhone
>>>> On May 30, 2014, at 4:34 PM, Eric Caspole <eric.caspole at> wrote:
>>>> Hi Doug,
>>>> What are the Graal plans relating to JDK 9? We would like to move the Sumatra repos to be based on JDK9, but I am worried it will not work with Graal since I have already noticed some compiler refactoring in JDK9 Hotspot that makes me wonder if Graal JVM will drop in and work.
>>>> What do you think?
>>>> Thanks,
>>>> Eric

More information about the graal-dev mailing list