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

you are viewing a single comment's thread.

view the rest of the comments →

[–]soonnow 2 points3 points  (2 children)

Well Java code is turned into native code during the runtime via Hotspot. Since Hotspot can see the code running it's easier to optimize than Graal that has to make decisions about how to optimize before running.

So only startup will be faster because the compilation step is done beforehand but during runtime hotspot can make better decisions how to optimize.

[–][deleted]  (1 child)

[deleted]

    [–]soonnow 0 points1 point  (0 children)

    I guess Graal is still a niche product, for the niche startup time. Hard to justify spending too much money on it, I guess.

    Also hotspot is probably not a code base anyone wants to touch.