--- old/test/runtime/logging/MonitorInflationTest.java 2016-01-12 13:08:28.119579821 -0500 +++ new/test/runtime/logging/MonitorInflationTest.java 2016-01-12 13:08:27.982562945 -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 @@ -52,19 +52,23 @@ public static void main(String[] args) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( - "-Xlog:monitorinflation=debug", InnerClass.class.getName()); + "-Xlog:monitorinflation=debug", "-Xshare:off", + InnerClass.class.getName()); analyzeOutputOn(pb); pb = ProcessTools.createJavaProcessBuilder( - "-XX:+TraceMonitorInflation", InnerClass.class.getName()); + "-XX:+TraceMonitorInflation", "-Xshare:off", + InnerClass.class.getName()); analyzeOutputOn(pb); pb = ProcessTools.createJavaProcessBuilder( - "-Xlog:monitorinflation=off", InnerClass.class.getName()); + "-Xlog:monitorinflation=off", "-Xshare:off", + InnerClass.class.getName()); analyzeOutputOff(pb); pb = ProcessTools.createJavaProcessBuilder( - "-XX:-TraceMonitorInflation", InnerClass.class.getName()); + "-XX:-TraceMonitorInflation", "-Xshare:off", + InnerClass.class.getName()); analyzeOutputOff(pb); }