diff options
author | Andreas Gampe <agampe@google.com> | 2015-02-03 03:36:14 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-02-03 03:36:18 +0000 |
commit | 5a7c634406b2acc4917009b43dcc7def2178a79b (patch) | |
tree | 5aca8beeb5cd3b068370a6fae5cfdec46e16048e | |
parent | c398b0580fc7a7be768dcd6786d5ab6e7a892c9e (diff) | |
parent | 2f6046edd7da9bb67e30b377955ff6faa8bff67e (diff) | |
download | art-5a7c634406b2acc4917009b43dcc7def2178a79b.zip art-5a7c634406b2acc4917009b43dcc7def2178a79b.tar.gz art-5a7c634406b2acc4917009b43dcc7def2178a79b.tar.bz2 |
Merge "ART: Make 074-gc-thrash more OOME tolerant"
-rw-r--r-- | test/074-gc-thrash/src/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/074-gc-thrash/src/Main.java b/test/074-gc-thrash/src/Main.java index 32fbf2d..238e73a 100644 --- a/test/074-gc-thrash/src/Main.java +++ b/test/074-gc-thrash/src/Main.java @@ -292,8 +292,8 @@ class Deep extends Thread { break; } - strong[depth] = funStr; weak[depth] = new WeakReference(funStr); + strong[depth] = funStr; if (depth+1 < MAX_DEPTH) dive(depth+1, iteration+1); else |