Site icon DataFlair

GraalVM21.0 – Check what are the new features and drawbacks?

GraalVM 21 launched with new components for JVM implementation

Good news JAVA developers, The company has launched a new version of GraalVM with additional components offering ease in Java virtual machine implementation.

GraalVM 21.0 includes several improvements and exciting features. It is a great addition to the GraalVM ecosystem for developers.

The ecosystem Provides Shared runtime to-

Keeping you updated with latest technology trends
Follow DataFlair on Google News

What are the new features of the GraalVM update?

Earlier versions of GraalVM applications run using Java Hotspot VM with the compiler Just-in-Time (GraalVM).

The new update to the software includes major features with the highly used java programming language and using the Truffle framework to run java applications that can easily be installed and run through the GraalVM updater.

The GraalVM is a minifies JVM that includes core components like: –

Also, it can support languages with the implementation of the library such as APIs and the traditional JVM.

Java on Truffle, known as espresso can be installed using the GraalVM Updater.

gu is the package manager used to install packages that are not included in the core distribution of GraalVM.

gu install espresso

When using Java on Truffle, to run the java application, the -truffle, an option has to be passed to the java command.

Benefits of using GraalVM

The GraalVm could be very helpful and can include interesting opportunities that innovate JVM to read and understand the source code to improve or make changes to it.

The major benefits and features are:-

Currently, this is the easiest way to increase or decrease the performance of Java on Truffle. Some Future updates and releases will help ease and enhance the quality of the code more.

The latest version is the fastest when compared to its older versions when comparing the runtime and compatibility.

NOTE: – Truffle on Java is currently just an experimental component. It is not ready or updated currently for production use.

It is expected that the peak levels of performance of Java on truffle will get better with its forthcoming releases, but the current levels of performance in the new GraalVM is several times slower than the regular JVM.

What are the limitations of java on Truffle?

This was all about GraalVM21.0.

Exit mobile version