< prev index next >

test/serviceability/tmtools/jstack/SpreadLockTest.java

Print this page

        

*** 26,39 **** * @summary Create a thread which stops in methods a(), a()->b(), a()->b()->c(), * synchronizing on one monitor inside of each method. * After checking that lock info is correct invoke another method * and get the lock again. Repeat this action. * @modules java.base/jdk.internal.misc ! * @library /test/lib/share/classes * @library ../share - * @build common.* - * * @run main/othervm -XX:+UsePerfData SpreadLockTest */ import common.ToolResults; import java.util.Iterator; import utils.*; --- 26,37 ---- * @summary Create a thread which stops in methods a(), a()->b(), a()->b()->c(), * synchronizing on one monitor inside of each method. * After checking that lock info is correct invoke another method * and get the lock again. Repeat this action. * @modules java.base/jdk.internal.misc ! * @library /test/lib * @library ../share * @run main/othervm -XX:+UsePerfData SpreadLockTest */ import common.ToolResults; import java.util.Iterator; import utils.*;
< prev index next >