dd-trace-java
dd-trace-java copied to clipboard
Support CDS
Hi, now that Spring Boot supports it [1] [2] we were hoping to use java CDS to speed up our application start times.
In local testing we saw that it improved them drastically but when we went to run it in the cloud with the datadog agent attached we could see from the class loader + class path logs (-Xlog:class+load:file
and -Xlog:class+path=debug:file
) that the classes were being loaded from the jars again and not the .jsa
archive we generated. I'm not actually sure if it's even technically possible, but it would be great if the agent could support loading the apps classes it needs from the archive. I am happy to provide a reproduction if necessary