Klass ptr encoding, which is about to be removed is to blame for a number of failures.
In truth, Valhalla prototypes have ignored CDS.
Current test failures problem listed:
runtime/SharedArchiveFile/BootAppendTests.java
runtime/SharedArchiveFile/CdsDifferentCompactStrings.java
runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java
runtime/SharedArchiveFile/NonBootLoaderClasses.java
runtime/SharedArchiveFile/PrintSharedArchiveAndExit.java
runtime/SharedArchiveFile/SharedArchiveFile.java
runtime/SharedArchiveFile/SharedStringsDedup.java
runtime/SharedArchiveFile/SharedStringsRunAuto.java
runtime/SharedArchiveFile/SharedSymbolTableBucketSize.java
runtime/SharedArchiveFile/SpaceUtilizationCheck.java
runtime/SharedArchiveFile/TestInterpreterMethodEntries.java
runtime/SharedArchiveFile/serviceability/transformRelatedClasses/TransformInterfaceAndImplementor.java
runtime/SharedArchiveFile/serviceability/transformRelatedClasses/TransformSuperAndSubClasses.java
runtime/SharedArchiveFile/serviceability/transformRelatedClasses/TransformSuperSubTwoPckgs.java
runtime/appcds/ClassLoaderTest.java
runtime/appcds/HelloTest.java
runtime/appcds/sharedStrings/SharedStringsBasic.java