There is a java feature called class data sharing that does that since Java 5 but I've never seen it in the wild.[0]
Java 10 will bring AppCDS via JEP 310[1]
[0]https://fosdem.org/2018/schedule/event/class_data_sharing
Java 10 will bring AppCDS via JEP 310[1]
[0]https://fosdem.org/2018/schedule/event/class_data_sharing
If you think of a typical jvm application (true for non-jvm apps as well), a significant chunk of class data will be shared since apps are typically using the same libraries (with deltas in versions), allowing easy reuse of class data across all container instances on a host would be a major scalability advance.