< prev index next >

test/hotspot/jtreg/runtime/locking/TestRecursiveMonitorChurn.java

Print this page
*** 55,10 ***
--- 55,11 ---
      public static volatile Monitor monitor;
      public static void main(String[] args) {
          if (WB.getIntVMFlag("LockingMode") == LM_MONITOR) {
              throw new SkippedException("LM_MONITOR always inflates. Invalid test.");
          }
+         System.out.println("Starting test...");
          final long pre_monitor_count = WB.getInUseMonitorCount();
          System.out.println(" Precount = " + pre_monitor_count);
          for (int i = 0; i < COUNT; i++) {
              monitor = new Monitor();
              monitor.doSomething();
< prev index next >