Home
last modified time | relevance | path

Searched refs:getRuntime (Results 1 – 25 of 99) sorted by relevance

1234

/art/test/079-phantom/src/
DMain.java43 Runtime.getRuntime().gc(); in run()
50 Runtime.getRuntime().gc(); in run()
59 Runtime.getRuntime().gc(); in run()
64 Runtime.getRuntime().gc(); in run()
69 Runtime.getRuntime().gc(); in run()
/art/test/004-NativeAllocations/src-art/
DMain.java25 static VMRuntime runtime = VMRuntime.getRuntime();
63 long maxMem = Runtime.getRuntime().maxMemory(); in checkRegisterNativeAllocation()
97 + Runtime.getRuntime().maxMemory()); in checkRegisterNativeAllocation()
104 Runtime.getRuntime().gc(); in checkRegisterNativeAllocation()
120 final long finalizerTimeoutMs = VMRuntime.getRuntime().getFinalizerTimeoutMs(); in triggerBlockingRegisterNativeAllocation()
122 long maxMem = Runtime.getRuntime().maxMemory(); in triggerBlockingRegisterNativeAllocation()
152 Runtime.getRuntime().gc(); in main()
/art/test/2254-class-value-before-and-after-u/src-art/
DMain.java21 VMRuntime.getRuntime().setTargetSdkVersion(0); in main()
29 VMRuntime.getRuntime().setTargetSdkVersion(34); in main()
37 VMRuntime.getRuntime().setTargetSdkVersion(33); in main()
/art/test/837-deopt/src/
DMain.java58 Runtime.getRuntime().gc(); in test1()
60 Runtime.getRuntime().gc(); in test1()
70 Runtime.getRuntime().gc(); in test2()
72 Runtime.getRuntime().gc(); in test2()
/art/test/482-checker-loop-back-edge-use/src/
DMain.java66 while (Runtime.getRuntime() != null) {} in loop3()
80 while (Runtime.getRuntime() != null) {} in loop4()
142 while (Runtime.getRuntime() != null) { in loop7()
164 while (Runtime.getRuntime() != null) { in loop8()
/art/test/913-heaps/src/art/
DTest913.java57 Runtime.getRuntime().gc(); in runFollowReferences()
58 Runtime.getRuntime().gc(); in runFollowReferences()
62 Runtime.getRuntime().gc(); in runFollowReferences()
63 Runtime.getRuntime().gc(); in runFollowReferences()
67 Runtime.getRuntime().gc(); in runFollowReferences()
68 Runtime.getRuntime().gc(); in runFollowReferences()
72 Runtime.getRuntime().gc(); in runFollowReferences()
73 Runtime.getRuntime().gc(); in runFollowReferences()
78 Runtime.getRuntime().gc(); in runFollowReferences()
79 Runtime.getRuntime().gc(); in runFollowReferences()
[all …]
/art/test/003-omnibus-opcodes/src/
DInternedString.java37 Runtime.getRuntime().gc(); in testDeadInternedString()
44 Runtime.getRuntime().gc(); in testImmortalInternedString()
56 Runtime.getRuntime().gc(); in testImmortalInternedString()
/art/test/908-gc-start-finish/src/art/
DTest908.java43 Runtime.getRuntime().gc(); in run()
54 Runtime.getRuntime().gc(); in run()
58 Runtime.getRuntime().gc(); in run()
/art/test/903-hello-tagging/src/art/
DTest903.java33 Runtime.getRuntime().gc(); in doTest()
34 Runtime.getRuntime().gc(); in doTest()
57 Runtime.getRuntime().gc(); in test()
58 Runtime.getRuntime().gc(); in test()
63 Runtime.getRuntime().gc(); in test()
64 Runtime.getRuntime().gc(); in test()
/art/test/1903-suspend-self/src/art/
DTest1903.java38 Runtime.getRuntime().halt(2); in run()
83 Runtime.getRuntime().halt(4); in run()
87 Runtime.getRuntime().halt(2); in run()
/art/test/401-optimizing-compiler/src/
DMain.java209 Runtime.getRuntime().gc(); in forceGCStaticMethod()
210 Runtime.getRuntime().gc(); in forceGCStaticMethod()
211 Runtime.getRuntime().gc(); in forceGCStaticMethod()
212 Runtime.getRuntime().gc(); in forceGCStaticMethod()
213 Runtime.getRuntime().gc(); in forceGCStaticMethod()
214 Runtime.getRuntime().gc(); in forceGCStaticMethod()
/art/test/121-simple-suspend-check/src/
DMain.java22 Runtime.getRuntime().gc(); in main()
26 Runtime.getRuntime().gc(); in main()
/art/test/1338-gc-no-los/src-art/
DMain.java27 byte[] arr2 = (byte[])VMRuntime.getRuntime().newNonMovableArray(Byte.TYPE, 200); in main()
31 Runtime.getRuntime().gc(); in main()
/art/test/617-clinit-oome/src/
DMain.java19 Runtime.getRuntime().gc(); in exhaustJavaHeap()
39 Runtime.getRuntime().gc(); in main()
/art/test/064-field-access/src/
DOOMEOnNullAccess.java40 Runtime.getRuntime().gc(); in exhaustJavaHeap()
58 Runtime.getRuntime().gc(); in main()
/art/test/2040-huge-native-alloc/src/
DMain.java47 final VMRuntime vmr = VMRuntime.getRuntime(); in timeNotifications()
60 Runtime.getRuntime().gc(); in main()
73 Runtime.getRuntime().gc(); in main()
/art/test/2272-checker-codegen-honor-write-barrier-kind/src/
DMain.java26 Runtime.getRuntime().gc(); in $noinline$testHonorWriteBarrier()
70 Runtime.getRuntime().gc(); in $noinline$testDontSkipWriteBarrier()
/art/test/150-loadlibrary/src/
DMain.java33 String[] libPaths = (String[])libPathsMethod.invoke(Runtime.getRuntime()); in main()
52 Object result = m.invoke(Runtime.getRuntime(), fileName, bootClassLoader); in main()
/art/test/1906-suspend-list-me-first/src/art/
DTest1906.java56 Runtime.getRuntime().halt(2); in run()
85 Runtime.getRuntime().halt(2); in run()
/art/test/1336-short-finalizer-timeout/src/
DMain.java34 + VMRuntime.getRuntime().getFinalizerTimeoutMs() + " msecs."); in main()
39 Runtime.getRuntime().gc(); in main()
/art/test/1907-suspend-list-self-twice/src/art/
DTest1907.java51 Runtime.getRuntime().halt(2); in run()
78 Runtime.getRuntime().halt(2); in run()
/art/test/596-monitor-inflation/src-art/
DMain.java45 VMRuntime.getRuntime().updateProcessState(DALVIK_PROCESS_STATE_JANK_IMPERCEPTIBLE); in main()
49 VMRuntime.getRuntime().updateProcessState(DALVIK_PROCESS_STATE_JANK_PERCEPTIBLE); in main()
/art/test/1000-non-moving-space-stress/src-art/
DMain.java25 VMRuntime runtime = VMRuntime.getRuntime(); in main()
43 Runtime.getRuntime().gc(); in main()
/art/test/1904-double-suspend/src/art/
DTest1904.java100 Runtime.getRuntime().halt(1); in run()
105 Runtime.getRuntime().halt(2); in run()
/art/test/044-proxy/src/
DOOMEOnDispatch.java30 Runtime.getRuntime().gc(); in exhaustJavaHeap()
53 Runtime.getRuntime().gc(); in main()

1234