News for hackers. Stuff that matters.
Re:JDK 9 General-Availability Release by karussell on Thursday September 21, 2017 @05:11PM (#15307391)
See also the mail from Mark Reinhold http://mail.openjdk.java.net/pipermail/announce/2017-Septemb...

This AOT compilation feature is interesting, didn't know that it is in JDK9 ... will it allow JDK9 libraries run on iOS? http://openjdk.java.net/jeps/295

Re:JDK 9 General-Availability Release by stickydink on Thursday September 21, 2017 @05:48PM (#15307659)
AOT initial release in JDK 9 is provided for experimental-only use and is restricted to Linux x64 systems running 64-bit Java with either Parallel or G1 GC.

Initially not, but, iOS is specifically mentioned here http://bugs.openjdk.java.net/browse/JDK-8167428

Re:JDK 9 General-Availability Release by karussell on Friday September 22, 2017 @02:36AM (#15309867)
Thanks also for the link!
Re:JDK 9 General-Availability Release by needusername on Friday September 22, 2017 @01:17AM (#15309558)
It sounds interesting until you remember what a hassle native compilation is:

1. you need to compile on the exact same CPU make on model that you will run on (for now there's not cross compilation)

2. you need to compile with the exact same memory settings, including GC selection, that you will run on

3. unless you're cool with binaries that are hundreds of megabytes you will first need to do a profiling run an determine which classes and methods you want to compile

4. you will need to decide if startup time or ultimate performance is more important than you

5. in the end you probably get a better startup time out of -noverify

Re:JDK 9 General-Availability Release by deadc0de on Thursday September 21, 2017 @10:33PM (#15309030)
Here is a talk about it at JVMLS'17: https://youtu.be/n5DCg6M2MDM
Re:JDK 9 General-Availability Release by bpicolo on Thursday September 21, 2017 @05:47PM (#15307650)
Seems limited?

"AOT compilation of any JDK modules, classes, or of user code, is experimental and not supported in JDK 9."

...Unclear (to me) what that means

Re:JDK 9 General-Availability Release by zeckalpha on Thursday September 21, 2017 @06:09PM (#15307776)
Seems clear, it _can_ compile but if you have problems, they're not likely to fix it.
Re:JDK 9 General-Availability Release by pjmlp on Friday September 22, 2017 @03:04AM (#15309983)
Yes, it is WIP.

The Java 10 dev branch already has quite a few improvements.

Re:JDK 9 General-Availability Release by WatchDog on Thursday September 21, 2017 @08:04PM (#15308334)
You still need a full JVM to execute the compiled code, it's mainly just an optimisation to improve startup time.