test/hotspot/jtreg/vmTestbase/nsk/stress/strace/strace005.java
changeset 59021 cfc7bb9a5a92
parent 50169 dd501973095c
equal deleted inserted replaced
59020:aebd72de84b0 59021:cfc7bb9a5a92
   385         } else if (currentDepth > 1 && !isNativeResolved)
   385         } else if (currentDepth > 1 && !isNativeResolved)
   386             isNativeResolved = true;
   386             isNativeResolved = true;
   387 
   387 
   388         if (strace005.DEPTH - currentDepth > 0) {
   388         if (strace005.DEPTH - currentDepth > 0) {
   389             try {
   389             try {
   390                 yield();
   390                 Thread.yield();
   391                 recursiveMethod2();
   391                 recursiveMethod2();
   392             } catch (StackOverflowError e) {
   392             } catch (StackOverflowError e) {
   393                 // ignore this exception
   393                 // ignore this exception
   394             }
   394             }
   395         }
   395         }