--- old/test/hotspot/jtreg/compiler/aot/fingerprint/SelfChangedCDS.java 2018-04-19 14:48:14.000000000 -0700 +++ new/test/hotspot/jtreg/compiler/aot/fingerprint/SelfChangedCDS.java 2018-04-19 14:48:14.000000000 -0700 @@ -36,7 +36,7 @@ * -class compiler.aot.fingerprint.Blah * * @run driver ClassFileInstaller -jar SelfChangedCDS.jar compiler.aot.fingerprint.Blah - * @run main compiler.aot.fingerprint.CDSDumper SelfChangedCDS.jar SelfChangedCDS.classlist SelfChangedCDS.jsa + * @run main compiler.aot.fingerprint.CDSDumper SelfChangedCDS.jar SelfChangedCDS.classlist SelfChangedCDS.jsa -showversion * compiler.aot.fingerprint.Blah * * @run main compiler.aot.fingerprint.CDSRunner -cp SelfChangedCDS.jar @@ -46,6 +46,7 @@ * -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=SelfChangedCDS.jsa * -XX:+IgnoreUnrecognizedVMOptions * -Xshare:auto -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -showversion + * -Xlog:cds -Xlog:gc+heap+coops * -Xlog:aot+class+fingerprint=trace -Xlog:aot+class+load=trace * compiler.aot.fingerprint.Blah TEST-UNMODIFIED * @@ -61,6 +62,26 @@ * -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=SelfChangedCDS.jsa * -XX:+IgnoreUnrecognizedVMOptions * -Xshare:auto -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -showversion + * -Xlog:cds -Xlog:gc+heap+coops * -Xlog:aot+class+fingerprint=trace -Xlog:aot+class+load=trace * compiler.aot.fingerprint.Blah TEST-MODIFIED + * + * + * @run driver compiler.aot.AotCompiler -libname libSelfChanged.so + * -class compiler.aot.fingerprint.Blah + * -extraopt -Xmx512m + * + * @run main compiler.aot.fingerprint.CDSDumper SelfChangedCDS.jar SelfChangedCDS.classlist SelfChangedCDS.jsa -Xmx512m + * compiler.aot.fingerprint.Blah + * + * @run main compiler.aot.fingerprint.CDSRunner -Xmx512m -cp SelfChangedCDS.jar + * compiler.aot.fingerprint.Blah TEST-UNMODIFIED + * @run main compiler.aot.fingerprint.CDSRunner -Xmx512m -cp SelfChangedCDS.jar + * -XX:+UseAOT -XX:+PrintAOT -XX:AOTLibrary=./libSelfChanged.so + * -XX:+UnlockDiagnosticVMOptions -XX:SharedArchiveFile=SelfChangedCDS.jsa + * -XX:+IgnoreUnrecognizedVMOptions + * -Xshare:auto -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -showversion + * -Xlog:cds -Xlog:gc+heap+coops + * -Xlog:aot+class+fingerprint=trace -Xlog:aot+class+load=trace + * compiler.aot.fingerprint.Blah TEST-UNMODIFIED */