Improving AppCDS for Custom Loaders

Jiangli Zhou jiangli.zhou at oracle.com
Tue Dec 18 01:17:38 UTC 2018


Hi Volker, Yumin and others,

This is a follow up of our email discussions (back in May of this year) 
on improving AppCDS for custom class loaders. An umbrella RFE, 
JDK-8202854 (Hybrid archiving, 
https://bugs.openjdk.java.net/browse/JDK-8202854) was created in May to 
track the activities related to the topic. We have now started working 
on the final subtask (https://bugs.openjdk.java.net/browse/JDK-8207812) 
to implement dynamic archiving. There are some updates added to 
JDK-8207812. If you have any further feedback, please share with us 
(thanks!).

With dynamic archiving, we can support custom class loaders more 
effectively. A class list is no longer needed when creating an AppCDS 
archive dynamically (during a java application execution). That gives us 
a potential to cleanup our code base and remove the experimental support 
for the custom loader's class list (mainly classListParser.cpp and 
classListParser.hpp). The cleanup can be staged after dynamic archiving 
is matured. Please let us know if you see any issues with the plan.

Thanks!

Jiangli



More information about the hotspot-runtime-dev mailing list