Graal plans relating to JDK 9?
Doug Simon
doug.simon at oracle.com
Thu Aug 28 19:11:39 UTC 2014
On Aug 28, 2014, at 9:03 PM, Deneau, Tom <tom.deneau at amd.com> 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 mx.py for Project(Dependency)__init__ does not agree.
You can (probably) get around *that* hurdle by modifying your mx/env to be something like:
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home
EXTRA_JAVA_HOMES=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home:/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home
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).
-Doug
> -----Original Message-----
> From: Thomas Wuerthinger [mailto:thomas.wuerthinger at oracle.com]
> 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 amd.com> 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 amd.com> 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