Home
last modified time | relevance | path

Searched refs:FinalizerTest (Results 1 – 2 of 2) sorted by relevance

/art/test/036-finalizer/src/
DMain.java39 public static WeakReference<FinalizerTest> makeRef() { in makeRef()
40 FinalizerTest ft = new FinalizerTest("wahoo"); in makeRef()
41 WeakReference<FinalizerTest> ref = new WeakReference<FinalizerTest>(ft); in makeRef()
46 public static String wimpString(final WeakReference<FinalizerTest> wimp) { in wimpString()
56 FinalizerTest ref = wimp.get(); in wimpString()
75 WeakReference<FinalizerTest> wimp = makeRef(); in main()
82 FinalizerTest keepLive = wimp.get(); in main()
99 System.out.println("reborn: " + FinalizerTest.mReborn); in main()
103 FinalizerTest.mReborn = FinalizerTest.mNothing; in main()
111 System.out.println("reborn: " + FinalizerTest.mReborn); in main()
[all …]
/art/test/036-finalizer/
Dexpected.txt1 wimp: [FinalizerTest message=wahoo, finalized=false]
7 reborn: [FinalizerTest message=wahoo, finalized=true]
12 reborn: [FinalizerTest message=nothing, finalized=false]