diff options
author | 2018-01-31 07:45:20 -0800 | |
---|---|---|
committer | 2018-01-31 07:55:22 -0800 | |
commit | 45caa1d80a16e51a2a84db751eff4908a62ae864 (patch) | |
tree | 315c135acc0fd16563c6041954cea7ede6f21d90 /test/044-proxy/src/Main.java | |
parent | f346af51a5d44ee0a3cd26e7e0e1b28ec1c5579f (diff) |
Make test 044-proxy less flaky
Stop the JIT before filling up the heap.
Bug: 69836158
Test: test-art-host
Change-Id: Idb488b645cbab1eb3b2eb64f316b79b1bf4e61af
Diffstat (limited to 'test/044-proxy/src/Main.java')
-rw-r--r-- | test/044-proxy/src/Main.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/044-proxy/src/Main.java b/test/044-proxy/src/Main.java index e44c122e3d..7b70e65b8c 100644 --- a/test/044-proxy/src/Main.java +++ b/test/044-proxy/src/Main.java @@ -54,4 +54,8 @@ public class Main { private static final HashMap<String, String> proxyClassNameMap = new HashMap<String, String>(); private static int uniqueTestProxyClassNum = 0; + + static native void startJit(); + static native void stopJit(); + static native void waitForCompilation(); } |