Class Data Sharing in the HotSpot VM (Volker Simonis, Germany)
Class Data Sharing (CDS) is a feature introduced in Java 5 to improve startup performance and reduce the memory footprint of Java by storing the preprocessed class metadata of system classes on disk and sharing it between virtual machines. During the last years, CDS has been constantly improved. In OpenJDK 10, CDS will be extended by AppCDS which additionally allows sharing of application classes between VM instances (see JEP 310: “”Application Class-Data Sharing”” [1]).
In this talk I will briefly introduce CDS and AppCDS and demonstrate how it can be used. While CDS is well documented, the usage of AppCDS with application classes and custom class loaders still requires a lot of hand crafting so I’ll introduce a small tool which helps automating these tasks. After presenting some memory consumption and performance numbers, I will do a short deep-dive into the implementation details and describe some of the challenges. Finally, I will briefly show how Strings and Symbols can be stored in the CDS archive [2] and shared across VM as well since OpenJDK 9.
After the talk, the audience should have a better understand of CDS/AppCDS and be able to decide whether it makes sense to use it for their own applications.
[1] http://openjdk.java.net/jeps/310
[2] http://openjdk.java.net/jeps/250
Видео Class Data Sharing in the HotSpot VM (Volker Simonis, Germany) канала jeeconf
In this talk I will briefly introduce CDS and AppCDS and demonstrate how it can be used. While CDS is well documented, the usage of AppCDS with application classes and custom class loaders still requires a lot of hand crafting so I’ll introduce a small tool which helps automating these tasks. After presenting some memory consumption and performance numbers, I will do a short deep-dive into the implementation details and describe some of the challenges. Finally, I will briefly show how Strings and Symbols can be stored in the CDS archive [2] and shared across VM as well since OpenJDK 9.
After the talk, the audience should have a better understand of CDS/AppCDS and be able to decide whether it makes sense to use it for their own applications.
[1] http://openjdk.java.net/jeps/310
[2] http://openjdk.java.net/jeps/250
Видео Class Data Sharing in the HotSpot VM (Volker Simonis, Germany) канала jeeconf
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Groovy for Java Developers (Peter Ledbrook, UK)Surviving as a professional software developerCloud Native Java EE (Mike Croft, UK)The journey from queues to data pipeline streams (Shlomi Shemesh, Israel)GraalVM and MicroProfile: A Polyglot Microservices Solution (Roberto Cortez, Portugal)Different flavors of polymorphism in Scala (Boris Trofimov, Ukraine)Node.js and Evented I/O Alternatives on the JVM (Niko Köbler, Germany)Tips and Tricks about Apache Kafka in the Cloud for Java Developers (Ricardo Ferreira, USA)Service Discovery more than it seems (Alexander Tarasov, Software Engineer at OK.ru)Colliding worlds or bending Spark towards enterprise needs (Boris Trofimov, Team Lead at AOL)How to Manage 10K request per second in HA manner (Valerii Moisieienko, Ukraine)No container: a Modern Java Stack with Bootique (Andrus Adamchik, USA)5 Bullets to Scala Adoption (Tomer Gabel, Israel)Garbage First – новый сборщик мусора в HotSpot JVM (Владимир Иванов, Россия)Clustered Event Sourcing and CQRS with Akka and Java (Hugh McKee, USA)Finding a needle in a haystack – JVM logging guide (Avishai Ish-Shalom, Engineering Manager at Wix)Pragmatic Functional Refactoring with Java 8 (Richard Warburton, UK)Clojure Bits in JVM Universe (Anatoly Polinsky, USA)Everything you wanted to know about async HTTP apps in Java (Baruch Sadogursky, Israel)Get along with JHipster (Dmytro Panin, Ukraine)