8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging.
authorrprotacio
Mon, 05 Jun 2017 13:14:04 -0400
changeset 46226 59ae25e5d4b9
parent 46225 f99654379e9c
child 46227 0444b69aad04
8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging. Summary: Converted -XX:+PrintSharedSpaces to -Xlog:cds=info Reviewed-by: iklam, jiangli, mseledtsov
test/lib/jdk/test/lib/cds/CDSTestUtils.java
--- 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();