8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging.
Summary: Converted -XX:+PrintSharedSpaces to -Xlog:cds=info
Reviewed-by: iklam, jiangli, mseledtsov
--- a/test/lib/jdk/test/lib/cds/CDSTestUtils.java Thu Jun 01 17:34:34 2017 -0700
+++ b/test/lib/jdk/test/lib/cds/CDSTestUtils.java Mon Jun 05 13:14:04 2017 -0400
@@ -65,7 +65,7 @@
for (String p : opts.prefix) cmd.add(p);
cmd.add("-Xshare:dump");
- cmd.add("-XX:+PrintSharedSpaces");
+ cmd.add("-Xlog:cds,cds+hashtables");
cmd.add("-XX:+UnlockDiagnosticVMOptions");
if (opts.archiveName == null)
opts.archiveName = getDefaultArchiveName();