< prev index next >

test/hotspot/jtreg/runtime/logging/MonitorInflationTest.java

Print this page
*** 36,11 ***
  import jdk.test.lib.process.ProcessTools;
  
  public class MonitorInflationTest {
      static void analyzeOutputOn(ProcessBuilder pb) throws Exception {
          OutputAnalyzer output = new OutputAnalyzer(pb.start());
!         output.shouldContain("inflate(has_locker):");
          output.shouldContain("type='MonitorInflationTest$Waiter'");
          output.shouldContain("I've been waiting.");
          output.shouldHaveExitValue(0);
      }
  
--- 36,11 ---
  import jdk.test.lib.process.ProcessTools;
  
  public class MonitorInflationTest {
      static void analyzeOutputOn(ProcessBuilder pb) throws Exception {
          OutputAnalyzer output = new OutputAnalyzer(pb.start());
!         output.shouldContain("inflate(locked):");
          output.shouldContain("type='MonitorInflationTest$Waiter'");
          output.shouldContain("I've been waiting.");
          output.shouldHaveExitValue(0);
      }
  
< prev index next >