hg: jdk8u/hs-dev/hotspot: 8052313: Backport CDS tests from JDK-9 to jdk8_u40