< prev index next >

test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt01/framecnt01.java

Print this page
*** 77,11 ***
          while(vThread1.getState() != Thread.State.WAITING) {
              Thread.sleep(1);
          }
  
          // this is too fragile, implementation can change at any time.
!         checkFrames(vThread1, false, 14);
          LockSupport.unpark(vThread1);
          vThread1.join();
  
          // Test GetFrameCount on live platform thread
          Thread pThread = Thread.ofPlatform().name("PlatformThread-Live").start(() -> {
--- 77,11 ---
          while(vThread1.getState() != Thread.State.WAITING) {
              Thread.sleep(1);
          }
  
          // this is too fragile, implementation can change at any time.
!         checkFrames(vThread1, false, 13);
          LockSupport.unpark(vThread1);
          vThread1.join();
  
          // Test GetFrameCount on live platform thread
          Thread pThread = Thread.ofPlatform().name("PlatformThread-Live").start(() -> {
< prev index next >