test/hotspot/jtreg/vmTestbase/nsk/stress/strace/strace006.java
changeset 59021 cfc7bb9a5a92
parent 50169 dd501973095c
equal deleted inserted replaced
59020:aebd72de84b0 59021:cfc7bb9a5a92
   329         } else if (currentDepth > 1 && !isNativeResolved)
   329         } else if (currentDepth > 1 && !isNativeResolved)
   330             isNativeResolved = true;
   330             isNativeResolved = true;
   331 
   331 
   332         if (strace006.DEPTH - currentDepth > 0) {
   332         if (strace006.DEPTH - currentDepth > 0) {
   333             try {
   333             try {
   334                 yield();
   334                 Thread.yield();
   335                 recursiveMethod2();
   335                 recursiveMethod2();
   336             } catch (StackOverflowError e) {
   336             } catch (StackOverflowError e) {
   337                 // ignore this exception
   337                 // ignore this exception
   338             }
   338             }
   339         }
   339         }