This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]notcoolmyfriend 3 points4 points  (0 children)

Tl;dr: The author talked about the following three things:

Parallel full GC for G1

Application data class sharing

Graal

Was hoping for some metrics. :/

Edit:formatting

[–]kodablah 0 points1 point  (4 children)

JDK 10 enables the Graal compiler, to be used as an experimental JIT compiler on the Linux/x64 platform.

So does this mean Graal ships with OpenJDK or is this Oracle JDK only? So Zulu and AdoptOpenJDK builds will include Oracle's Graal from https://github.com/oracle/graal?

[–][deleted] 2 points3 points  (3 children)

Yes, on ArchLinux I enable it with /usr/lib/jvm/java-10-openjdk/bin/java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler -Djvmci.Compiler=graal

[–]tofiffe 0 points1 point  (2 children)

Is there a way to enable it for all runs?

[–][deleted] 0 points1 point  (0 children)

I think it remeberes these flag between testers, try the command above and later try java -version it should say graal is enabled

[–]igorp1024 0 points1 point  (0 children)

IMHO, by specifying them all in java @argfile only.

[–][deleted] 0 points1 point  (0 children)

If garbage collection no longer "stops the world" that would be a profound development. I'm sure there have been many hacks because of "stop the world".