diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-02-03 17:48:41 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-02-04 13:38:57 -0800 |
commit | 7befd0e35bbed32b90bc0c8b6d3fa8bd612f5506 (patch) | |
tree | e6ec21b97eb4c68ecbf1056a6767f233c241eceb /test/023-many-interfaces/src | |
parent | 9e64cabda36bd7b30f2fd873750fdc17e5931358 (diff) | |
download | art-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/src')
-rw-r--r-- | test/023-many-interfaces/src/ManyInterfaces.java | 2 |
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); |