summaryrefslogtreecommitdiffstats
path: root/test/023-many-interfaces
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-02-03 17:48:41 -0800
committerMathieu Chartier <mathieuc@google.com>2014-02-04 13:38:57 -0800
commit7befd0e35bbed32b90bc0c8b6d3fa8bd612f5506 (patch)
treee6ec21b97eb4c68ecbf1056a6767f233c241eceb /test/023-many-interfaces
parent9e64cabda36bd7b30f2fd873750fdc17e5931358 (diff)
downloadart-7befd0e35bbed32b90bc0c8b6d3fa8bd612f5506.zip
art-7befd0e35bbed32b90bc0c8b6d3fa8bd612f5506.tar.gz
art-7befd0e35bbed32b90bc0c8b6d3fa8bd612f5506.tar.bz2
Update ART tests to handle new System.gc behavior
Changed calls from System.gc to Runtime.getRuntime.gc where it was necessary. Required for: https://android-review.googlesource.com/#/c/80253/ Change-Id: I2b0622585da54229a6248e95d40134b6d18598a9
Diffstat (limited to 'test/023-many-interfaces')
-rw-r--r--test/023-many-interfaces/src/ManyInterfaces.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/023-many-interfaces/src/ManyInterfaces.java b/test/023-many-interfaces/src/ManyInterfaces.java
index c4cb4ab..d69a490 100644
--- a/test/023-many-interfaces/src/ManyInterfaces.java
+++ b/test/023-many-interfaces/src/ManyInterfaces.java
@@ -200,7 +200,7 @@ public class ManyInterfaces
* Clear the heap. The various classes involved should already
* be loaded and ready as a result of instantiating ManyInterfaces.
*/
- System.gc();
+ Runtime.getRuntime().gc();
start = System.nanoTime();
testIface001(obj, iter);