--- old/test/runtime/logging/VMOperationTest.java 2016-01-12 14:50:55.884530504 -0500 +++ new/test/runtime/logging/VMOperationTest.java 2016-01-12 14:50:55.750452000 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -37,9 +37,11 @@ import jdk.test.lib.ProcessTools; public class VMOperationTest { + // Each ProcessBuilder should disable CDS with -Xshare:off so that no steps + // that produce necessary logging are skipped. public static void main(String[] args) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( - "-Xlog:vmoperation=debug", "-Xmx64m", "-Xms64m", + "-Xlog:vmoperation=debug", "-Xshare:off", "-Xmx64m", "-Xms64m", InternalClass.class.getName()); OutputAnalyzer output = new OutputAnalyzer(pb.start()); output.shouldContain("VM_Operation (");