JVMCI 0.33 released
Ted Neward
ted at tedneward.com
Wed Aug 23 22:55:18 UTC 2017
My personal opinion/approach is to take the more layered approach, since that seems to echo what the Docker team is suggesting, and allows for more flexibility on the part of the downstream Docker user (e.g., me). That said, my personal interest is in “ALL THE THINGS”, so I would also love to see an image that has everything in it, particularly since the cost of using/maintaining both is pretty negligible.
For my own demos, for example, I’ve built a base “java” image, which then is the FROM that the “scala” image and “frege” images pull from, only adding in the scala/sbt bits (for example) in the “scala” image. Then, if I have particular code of interest I want to include as a demo, I build a “scala-demo” containing a copy of the demo code I want to display to people. And so on.
That’s my $.02 worth. If you guys are thinking about doing this in the next few weeks, I’ll wait, but if not, I’ll probably take a pass at doing it myself just because I want to explore the whole space.
Also, quick thought: Bonus points if you have separate images for *running* Graal and *building* it. :-)
Ted Neward
Author, Speaker, Mentor
http://www.newardassociates.com
t: @tedneward | m: (425) 647-4526
On 8/23/17, 12:29 PM, "Thomas Wuerthinger" <thomas.wuerthinger at oracle.com> wrote:
One question we are currently discussing regarding docker images is whether we should put up a single Graal VM image including all the languages or rather take a layered approach with a base image that can be combined with images for individual languages (e.g., for the JavaScript, Ruby, LLVM, or R support). The latter could have the advantage to reduce the docker image size when only a subset of the Graal languages are in use.
The other feature we will add to the native-image building tool is to create not only a binary but also a docker image after doing the AOT compilation. This would allow the result to be immediately be deployed in a container service. The docker image sizes for these AOT generated images are very small.
In general, we are interested in feedback what approaches to docker images could be most useful for Graal VM users.
- thomas
> On 23 Aug 2017, at 21:03, Doug Simon <doug.simon at oracle.com> wrote:
>
> Hi Ted,
>
> We are thinking about putting some Docker images up at https://hub.docker.com/u/oracle/ at some point. Watch this space ;-)
>
> -Doug
>
>> On 23 Aug 2017, at 20:24, Ted Neward <ted at tedneward.com> wrote:
>>
>> Out of curiosity, have you given thought to providing a Docker image with JVMCI and Graal installed already?
>>
>> If not, I’ve been building out some Docker images for presentation demos for myself lately, and I’d be happy to take a stab at building out a GraalVM image Dockerfile for you guys to use and put up in the Oracle official images. (It’s not hard, I’d only be saving you time, and that assumes I got all the details right. ( )
>>
>> Ted Neward
>> Author, Speaker, Mentor
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.newardassociates.com&d=DwIFaQ&c=RoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057SbK10&r=i1-Hef1Qrt47JSTmUR8-SfhVlDSGnFCGV-TedFESCK4&m=KcsSANDNwn6HksAgulkZ85P6ECArcH7B4l0IcYkoGDk&s=7AJsczM3422VC5aP6XRKbZAtmBeHE7T3awROcSr-kvc&e=
>> t: @tedneward | m: (425) 647-4526
>>
>> On 8/23/17, 7:29 AM, "graal-dev on behalf of Doug Simon" <graal-dev-bounces at openjdk.java.net on behalf of doug.simon at oracle.com> wrote:
>>
>> JVMCI 0.33 includes numerous bug fixes and changes:
>>
>> http://hg.openjdk.java.net/graal/graal-jvmci-8/log?revcount=400&rev=ancestors%28%27jvmci-0.33%27%29+-+ancestors%28%27jvmci-0.29%27%29
>>
>> Namely:
>> - Update base JDK from 8u121 to 8u141.
>> - Switch back to OracleJDK (from OpenJDK) based binaries on OTN for Linux. All other platforms continue to be on OracleJDK.
>> - OpenJDK based binary for Linux is available at https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_dougxc_openjdk8-2Djvmci-2Dbuilder_releases_tag_jvmci-2D0.33&d=DwIFaQ&c=RoP1YumCXCgaWHvlZYR8PQcxBKCX5YTpkKY057SbK10&r=i1-Hef1Qrt47JSTmUR8-SfhVlDSGnFCGV-TedFESCK4&m=KcsSANDNwn6HksAgulkZ85P6ECArcH7B4l0IcYkoGDk&s=tx9Hp-w8wgTB-o001Lrym34r_dkgHDM0QznEBe1IEa4&e=
>>
>> The binaries are available at http://www.oracle.com/technetwork/oracle-labs/program-languages/downloads/index.html.
>>
>> -Doug
>>
>>
>>
>
More information about the graal-dev
mailing list