Hi, are there any plans to have proper support for...
# ktor
s
Hi, are there any plans to have proper support for AppCDS training runs for ktor jvm applications? I know ktor is not a fully managed framework like springboot. But some framework support for doing training runs would be great like demoed here (also it will benefit when jdk releases Project Leyden, which expands the CDS) -

https://youtu.be/XUz4LKZx83g?t=1162

a
There are no such plans
c
Why would Ktor need to do anything specific to support this? A Ktor server is just a normal JVM application, is there anything blocking? https://docs.oracle.com/en/java/javase/17/docs/specs/man/java.html#application-class-data-sharing
s
@CLOVIS No, it need some extra steps.. For training runs (to generate the app cds archive) , we have to retrofit the app to stop gracefully. SpringBoot has support for this at framework level to hint to stop after loading the app and ignore db and other managed connections errors.