summaryrefslogtreecommitdiffstats
path: root/test/074-gc-thrash
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2015-02-03 08:48:27 +0000
committerNicolas Geoffray <ngeoffray@google.com>2015-02-03 08:48:27 +0000
commited8b53d679d46891d8d405b0ce4a48c282d872f7 (patch)
tree32cb0d70870fb20cec949d2c768e0fe3464c163b /test/074-gc-thrash
parent2f6046edd7da9bb67e30b377955ff6faa8bff67e (diff)
downloadart-ed8b53d679d46891d8d405b0ce4a48c282d872f7.zip
art-ed8b53d679d46891d8d405b0ce4a48c282d872f7.tar.gz
art-ed8b53d679d46891d8d405b0ce4a48c282d872f7.tar.bz2
Revert "ART: Make 074-gc-thrash more OOME tolerant"
Redness on the boards. This reverts commit 2f6046edd7da9bb67e30b377955ff6faa8bff67e. Change-Id: I8e169c537aaa76e34a7027460e3e9bff6f75a581
Diffstat (limited to 'test/074-gc-thrash')
-rw-r--r--test/074-gc-thrash/src/Main.java2
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 238e73a..32fbf2d 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;
}
- weak[depth] = new WeakReference(funStr);
strong[depth] = funStr;
+ weak[depth] = new WeakReference(funStr);
if (depth+1 < MAX_DEPTH)
dive(depth+1, iteration+1);
else