Several questions regarding AppCDS
Volker Simonis
volker.simonis at gmail.com
Thu Nov 30 14:46:04 UTC 2017
Hi Jiangli, Ioi,
after AppCDS has been pushed to the open repos, I started looking at
it. However, I found very little in-deep documentation of the feature.
All I could find so far is basically the Oracle docs, blogs and videos
I've listed below (in the hope that they may be useful for others as
well).
However this still doesn't answer the following questions:
1. Is there a specification and explanation of the extended class list
syntax which is used for AppCDS with custom class loaders?
I only found the documentation in systemDictionaryShared.hpp. But that
for example mentions the "loader" keyword (as do some of the JTreg
tests) without further explanation.
2. Is there a way or tool to create this extended class list automatically?
As far as I can see, all the Jtreg tests which use the extended
syntax, generate the class list manually. I did some simple tests
where I load some classes into my own URL class loader but they don't
seem to appear in the class list generated by -XX:DumpLoadedClassList.
Any further references are highly welcome.
Thank you and best regards,
Volker
PS: I really liked your JavaOne 2016 presentation :)
Class Data Sharing
====================
https://docs.oracle.com/javase/9/vm/class-data-sharing.htm#JSJVM-GUID-7EAA3411-8CF0-4D19-BD05-DF5E1780AA91
Application Class Data Sharing
==============================
https://docs.oracle.com/javase/9/tools/java.htm#JSWOR-GUID-31503FCE-93D0-4175-9B4F-F6A738B2F4C4
JEP 310: Application Class-Data Sharing
=======================================
http://openjdk.java.net/jeps/310
Matthew Gilliard's blog
-----------------------
Fast JVM startup with JDK 9
https://mjg123.github.io/2017/10/02/JVM-startup.html
Quicker Clojure startup with AppCDS and AOT
https://mjg123.github.io/2017/10/04/AppCDS-and-Clojure.html
Leveraging AppCDS to Optimize Application Startup and Memory Footprint
in the Cloud
-----------------------------------------------------------------------------------
https://www.youtube.com/watch?v=dRw77QDSL-A
More information about the hotspot-runtime-dev
mailing list