# HG changeset patch # User rprotacio # Date 1496682844 14400 # Node ID 59ae25e5d4b9866e91b642f72cb651f8171b28c3 # Parent f99654379e9cca1a2a69dc238e311fc55d959ecd 8176132: -XX:+PrintSharedSpaces should be converted to use Unified Logging. Summary: Converted -XX:+PrintSharedSpaces to -Xlog:cds=info Reviewed-by: iklam, jiangli, mseledtsov diff -r f99654379e9c -r 59ae25e5d4b9 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();