Home
last modified time | relevance | path

Searched refs:spinner (Results 1 – 8 of 8) sorted by relevance

/art/test/1905-suspend-native/src/art/
DTest1905.java21 final Thread spinner = new Thread(() -> { in run() local
32 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
35 Suspension.suspend(spinner); in run()
39 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
42 Suspension.resume(spinner); in run()
46 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
50 spinner.start(); in run()
53 spinner.join(); in run()
/art/test/1921-suspend-native-recursive-monitor/src/art/
DTest1921.java21 final Thread spinner = new Thread(() -> { in run() local
32 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
39 Suspension.suspend(spinner); in run()
48 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
51 Suspension.resume(spinner); in run()
59 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
63 spinner.start(); in run()
66 spinner.join(); in run()
/art/test/1920-suspend-native-monitor/src/art/
DTest1920.java21 final Thread spinner = new Thread(() -> { in run() local
32 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
39 Suspension.suspend(spinner); in run()
48 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
51 Suspension.resume(spinner); in run()
59 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
63 spinner.start(); in run()
66 spinner.join(); in run()
/art/test/1908-suspend-native-resume-self/src/art/
DTest1908.java21 final Thread spinner = new Thread(() -> { in run() local
35 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
38 Suspension.suspend(spinner); in run()
42 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
51 System.out.println(me + ": isSuspended(spinner) = " + Suspension.isSuspended(spinner)); in run()
54 Suspension.resume(spinner); in run()
59 spinner.start(); in run()
62 spinner.join(); in run()
/art/test/1905-suspend-native/
Dexpected.txt2 Resumer: isSuspended(spinner) = false
3 Resumer: Suspended spinner while native spinning
5 Resumer: isSuspended(spinner) = true
6 Resumer: resumed spinner while native spinning
8 Resumer: isSuspended(spinner) = false
/art/test/1921-suspend-native-recursive-monitor/
Dexpected.txt2 Resumer: isSuspended(spinner) = false
3 Resumer: Suspended spinner while native spinning
5 Resumer: isSuspended(spinner) = true
6 Resumer: resumed spinner while native spinning
8 Resumer: isSuspended(spinner) = false
/art/test/1920-suspend-native-monitor/
Dexpected.txt2 Resumer: isSuspended(spinner) = false
3 Resumer: Suspended spinner while native spinning
5 Resumer: isSuspended(spinner) = true
6 Resumer: resumed spinner while native spinning
8 Resumer: isSuspended(spinner) = false
/art/test/1908-suspend-native-resume-self/
Dexpected.txt2 Resumer: isSuspended(spinner) = false
3 Resumer: Suspended spinner while native spinning
5 Resumer: isSuspended(spinner) = true
8 Resumer: isSuspended(spinner) = true