From 7befd0e35bbed32b90bc0c8b6d3fa8bd612f5506 Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Mon, 3 Feb 2014 17:48:41 -0800 Subject: 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 --- test/023-many-interfaces/src/ManyInterfaces.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/023-many-interfaces') 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); -- cgit v1.1