Change the default value of VerifySharedSpaces to always be false.
Currently, when starting the VM with -XX:SharedArchiveFile=, the value of VerifySharedSpaces changes from false (default CDS archives are not verified) to true. This has a significant startup cost, which undermines the intended purpose of using -XX:SharedArchiveFile / AppCDS, while not bringing any security benefits (if an attacker can tamper with the archive file we'll run, they can replace it completely with a version that will pass these integrity checks)
Remove the heuristic that sets VerifySharedSpaces to true when running with a user specified shared archive.
VerifySharedSpaces will be set to false in all configurations.