CDS Archive Invalidation After JVM Security Patch Updates
Goal Reduce startup latency and memory footprint for a low-traffic Java service that restarts frequently by enabling Class Data Sharing (CDS). Constraints and uncertainty CDS archives are bound to the exact JVM build identifier. Applying a security patch — even a minor update — changes that identifier and invalidates any existing archive. The JVM then either