another java 8 strangeness
Deneau, Tom
tom.deneau at amd.com
Fri Oct 25 13:16:31 PDT 2013
Doug --
OK, I just wanted to remind people that our main reason for using graal is as part of a Sumatra prototype project, which uses Stream API offloading and thus requires Java 8. So for that we don't have the luxury of staying at Java 7.
A smaller issue is that many of our junit test cases were written in java 8 lambda style, although it's possible to rewrite these as Java 7 style.
Up until this issue, I don't think we ever hit any graal compilation issue that worked on 7 and didn't work on 8.
For this particular issue with Unsafe.CompareAndSwap substitution, we can probably just avoid using that from Java 8 but I was hoping someone with more graal knowledge than we have could root cause it.
-- Tom
-----Original Message-----
From: Doug Simon [mailto:doug.simon at oracle.com]
Sent: Friday, October 25, 2013 2:33 PM
To: Deneau, Tom
Cc: graal-dev at openjdk.java.net
Subject: Re: another java 8 strangeness
On Oct 25, 2013, at 8:27 PM, "Deneau, Tom" <tom.deneau at amd.com> wrote:
> Doug or others --
>
> Just wanted to clarify this recommendation.
> Are you saying don't use java 8 if you're trying to use igv, or are you saying don't use java 8 for any graal-related development? (As mentioned, up until now we haven't had any problems with java 8 except using it with eclipse).
Until all issues with JDK 8 have been resolved, most of us are working with JDK 7. If you don't run into any issue with 8, that's great. However, if you do, you may be on your own until the project has officially moved to 8. That said, feel free to inform us of further issues you encounter with 8 so that we can track them.
>
> I was not able to open
> https://www.dropbox.com/s/4mflnqf3k919blk/GRAAL-420.pdf
I removed it as we'd rather push for getting an OpenJDK JIRA instance up and running to share the details of such issues.
-Doug
> -----Original Message-----
> From: Doug Simon [mailto:doug.simon at oracle.com]
> Sent: Thursday, October 24, 2013 5:42 PM
> To: Deneau, Tom
> Cc: graal-dev at openjdk.java.net
> Subject: Re: another java 8 strangeness
>
>
> On Oct 25, 2013, at 12:28 AM, "Deneau, Tom" <tom.deneau at amd.com> wrote:
>
>> I had built all of graal with java 8 and except for the aforementioned CompareAndSwap tests, all our other tests were passing.
>>
>> I wanted to use igv. But the GUI would not start.
>>
>> But when I went back and built graal with java 7, mx igv seemed to work fine.
>> Is this a known problem?
>
> Yes. We have an internal JIRA issue for migrating to JDK8 but we are not there yet. Until it's officially supported, I recommend staying with JDK7 for Graal development.
>
> -Doug
>
More information about the graal-dev
mailing list