Oracle sweetens Java SE subscriptions with a spoonful of free ‘GraalVM’ runtime said to significantly speed Java
- Reference: 1612414931
- News link: https://www.theregister.co.uk/2021/02/04/java_se_adds_graalvm_entitlement/
- Source link:
Reader: The Register confesses GraalVM had escaped our attention until today. The project’s [1]GitHub page tells us it’s “a universal virtual machine for running applications written in JavaScript, Python, Ruby, R, JVM-based languages like Java, Scala, Clojure, Kotlin, and LLVM-based languages such as C and C++.”
[2]
Graal was launched as version 19.0 in late 2019. That odd number may well be due to it being the spawn of an old Sun project that came to be known as the [3]Maxine Research VM .
Version 21.0 landed in January 2021, complete with a new installable component, named espresso, which provides a JVM implementation written in Java.
[4]
The project’s [5]FAQ explains that it can run “embedded in OpenJDK, Oracle JDK or Node.js platforms, standalone, or embedded in data stores like the Oracle Database.” Graal accelerate the execution of applications written in Java and other JVM languages, and also offers runtimes for JavaScript, Ruby and Python.
Oracle's new Java SE subs: Code and support for $25/processor/month [6]READ MORE
GraalVM promises to speed up applications with a superior compiler plus the ability to compile code ahead of time.
“Native Image is a technology to ahead-of-time compile Java code to a standalone executable, called a native image ,” Graal explains. “This executable includes the application classes, classes from its dependencies, runtime library classes, and statically linked native code from JDK. It does not run on the Java VM, but includes necessary components like memory management, thread scheduling, and so on from a different runtime system, called ‘Substrate VM’.”
“The resulting program has faster startup time and lower runtime memory overhead compared to a JVM”.
Here’s how the GraalVM team depict the project’s workings.
[7]
Click to enlarge
“The virtualization layer represents programming languages, provided by GraalVM,” they [8]explain . “The execution of guest programming languages, namely JavaScript, Ruby, R, Python and LLVM bitcode, in the same runtime as the host JVM-based application is now down-to-earth. The host language and guest languages can directly interoperate with each other and pass data back and forth in the same memory space.”
And that can all happen without re-writing any of your existing code.
The links we’ve provided in the text above offer lots more information about GraalVM.
So now let’s try to explain why Oracle is bundling a hitherto-obscure piece of tech with one of its flagship offerings.
GraalVM promises faster startup time and lower runtime memory overhead compared to a JVM
“The inclusion of GraalVM Enterprise as an entitlement makes Oracle Java even more appealing for microservices and cloud-native deployments that demand near-instantaneous start-up and low resource consumption,” Oracle [9]says in its announcement about the GraalVM entitlement.
Which makes a lot of sense because while Java SE remains more than useful, its beginnings were 20 years before microservices and cloud-native apps became prominent. Yet there are plenty of Java-centric applications out there and as always their operators will be looking for ways to wring some more years out of that code rather than start afresh.
Giving away GraalVM might just give those users and developers an on-ramp that keeps Java SE relevant and therefore makes it more likely they’ll keep paying for the product.
GraalVM is offered under the same Gnu GPL v2 licence as Java itself. The Enteprise licence is an [10]Oracle offer .
[11]
And guess what? Oracle's also a user. The company says its own cloud infrastructure "experienced a 25 percent reduction in garbage collection time and a 10 percent improvement in transactions/second" by using the code. ®
Get our [12]Tech Resources
[1] https://github.com/oracle/graal
[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YBvT0oc904dryRdEtXZfawAAAFY&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0
[3] https://labs.oracle.com/pls/apex/f?p=LABS:project_details:0:9
[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YBvT0oc904dryRdEtXZfawAAAFY&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0
[5] https://www.graalvm.org/faq/
[6] https://www.theregister.com/2018/06/22/oracle_java_se_subscriptions/
[7] https://regmedia.co.uk/2021/02/04/graalvm_architecture.png
[8] https://www.graalvm.org/docs/introduction/
[9] https://blogs.oracle.com/3-ways-graalvm-enterprise-adds-value-to-java-se-subscription-v3
[10] https://www.oracle.com/au/java/graalvm/
[11] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YBvT0oc904dryRdEtXZfawAAAFY&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0
[12] https://whitepapers.theregister.com/
Re: This is Oracle.
GraalVM is licensed under "version 2 of the GNU General Public License with the “Classpath” Exception, which are the same terms as for Java" (from the FAQ). Oracle could of course change the license starting from some newer version, but if GraalVM has enough interested users at that point, it will just trigger a fork of the last GPL-licensed version.
This gives it a kind of vaccination against unreasonable licensing.
Re: This is Oracle.
Couldn't have said it better. Technology is usually not what makes or breaks use of Oracle Tech in the enterprise. Licenses, a worst-case mindeset when counting CPUs, cores, memory and users - and of course Lawyers are ...
25 years of Java getting faster
When will the speed of light stop this monster?
A small snail wearing an Arsenal logo gets beaten up by a tortoise with Liverpool insignia. At home, the big brother - an ardent Arsenal fan - shouts:
"Describe the tortoise and do not leave out any details. I'm gonna pay that bastard a visit and beat the living shit out of it!”
Small snail: "Dunno ... it all happened so fast."
This is Oracle.
Soon "free" will become a convoluted, impossible to understand licensing model.
Ahh it's free for THIS service but if you mix it with THAT service, then it is now longer free unless THAT service us using OUR version of that service, then its 50%, unless OUR service is used conjunction with THEIR service than that's 125%.
In fact just give us 75% of your turnover, just to be on the safe side.