8
What is it different from JVM? And why did you create it? What is the advantage of using it?
Can use on mobile?
Are you an official of Oracle? Are you ready to use? Do you have any restrictions?
8
What is it different from JVM? And why did you create it? What is the advantage of using it?
Can use on mobile?
Are you an official of Oracle? Are you ready to use? Do you have any restrictions?
5
Don’t take my answer as definitive because I don’t know it, but it is a new virtual machine infrastructure created by Oracle with some advantages over the "official" JVM. In fact it still depends on the JVM to work, but I don’t know if in the future it is to be 100% independent. It’s all written in Java anyway, and this is already a differential.
I think Graalvm was a response to .NET Core (Why . NET Core was created?). It is a way to reduce JVM bureaucracy and problems, and to be more suitable for use in scenarios where the JVM is very heavy and little modular, mainly in the cloud, in "containerized images".
It was created thinking better in use of various languages. JVM could do this, but it was not initially intended for this. There are performance gains because it becomes natural.
She’s not just a VM. It has other parts like a new compiler and a Jitter that can be used in advance by generating native code before running, so it works more like a Compiler AOT, which gives more performance (most of the time).
All this is aimed at improving performance, reducing the dependency on C++ that is problematic for maintenance. This allows use within native applications as a kind of script.
Finally, it seeks mechanisms to meet the new demands that the industry began to demand.
As far as I know can use normally in any situation where the JVM could be used before, as long as I can install it. It is not the normal case of Android that has its own Java VM. I’m not saying it’s impossible to use together, but it’s not normal, I still don’t know if it can only extend the JVM or is compatible with other Vms. On iOS you have to deploy the VM together with the application so it looks very suitable and fooling around was one of the reasons to create Graalvm.
It is possible to test it from the JDK 9 and improved on the JDK 10 onwards. And as far as I know you can use it in production yes.
Only time will tell if you succeed.
Browser other questions tagged java jvm virtual-machine
You are not signed in. Login or sign up in order to post.