Innovations for Java running in containers

This blog is co-authored by Hang Shao, Marius Pirvu, Tobi Ajila and Vijay Sundaresan. 1.     Introduction Over a decade ago, the common form of deployment was large monolithic applications that handled all the business logic. In this model applications typically had long deployment windows and they were typically deployed on large on-prem server farms. Since…

Running Payara Micro on OpenJ9

In the cloud environment, you need to bring up your microservices applications quickly and frequently in respond to user demands. Therefore, having a JVM that starts up faster is important. Eclipse OpenJ9 is a JVM that has a fast start-up performance and a low memory footprint. This post outlines how to improve the start-up performance…

Categoriesvm

OpenJ9 class sharing is enabled by default

Class sharing is a feature in Eclipse OpenJ9 that improves your application’s startup performance. It also reduces the memory footprint if the same cache shared across multiple JVMs. Traditionally, this feature is turned on by explicitly specifying option -Xshareclasses in the command line. Default Class Sharing Class data sharing is enabled by default for bootstrap…

Categoriesvm

Shared classes cache now supports fat jar

Recently OpenJ9 extended the class sharing feature to include fat jars (issue here). Starting from v0.9.0, applications running with fat jar, like Spring Boot, will now also benefit from the faster start-up time and reduced memory footprint from the class sharing feature of Eclipse OpenJ9. OpenJ9 class sharing The class sharing feature of Eclipse Openj9…

Categoriesvm