Linked by Thom Holwerda on Wed 10th Oct 2012 23:47 UTC, submitted by MOS6510
Java "Java is a programming language that allows developers to write once and deploy everywhere - from high-end gaming desktops to smartphones. Its OS-agnostic and widespread nature is one of its strongest selling points, but one area where it can fall flat is performance. Generally, Java applications are not going to perform as well as native applications written for a specific OS. However, thanks to Project Sumatra that performance gap may soon become less of an issue."
Thread beginning with comment 538404
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[6]: Security
by moondevil on Thu 11th Oct 2012 18:55 UTC in reply to "RE[5]: Security"
Member since:


Graal is based on Maxime's work,

I wasn't aware, that's very interesting. I wonder how you bootstrap such a thing. Do you need another VM to bootstrap the Maxime JIT's code?

In a way yes.

This paper provides a nice overview how bootstraping works,

The idea is quite simple, you use the JIT compiler offline to generate the basic VM image for the classes that take care of the VM ground work.

The compiler recognises special annotations that allow trusted Java code to perform unsafe operations, this minimizes the requirements to native methods.

Additionally you have a thin layer for the native methods.

Another example is the Jikes RVM,

What I miss is that the official JDK still lacks an AOT compiler, while other vendors do offer them. It is not easy to convince project managers to pay for native code compilers for Java, unless the project really requires them.

I'm not ready to stop calling it Sun's VM ;)

I used to write Sun/Oracle VM in the last months, but one needs to face the sad reality that Sun is gone.

Reply Parent Score: 2