OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed8b53d
)
Revert "Revert "ART: Make 074-gc-thrash more OOME tolerant""
author
Nicolas Geoffray
<ngeoffray@google.com>
Tue, 3 Feb 2015 10:10:52 +0000
(10:10 +0000)
committer
Nicolas Geoffray
<ngeoffray@google.com>
Tue, 3 Feb 2015 10:10:52 +0000
(10:10 +0000)
This reverts commit
ed8b53d679d46891d8d405b0ce4a48c282d872f7
.
This wasn't the reason for breakage. Instead, it was the Makefile change in:
https://android-review.googlesource.com/#/c/128250/
Change-Id: Ib94870c1eccbe821e3b4945ea92ca35ca0a8a9b9
test/074-gc-thrash/src/Main.java
patch
|
blob
|
history
diff --git
a/test/074-gc-thrash/src/Main.java
b/test/074-gc-thrash/src/Main.java
index
32fbf2d
..
238e73a
100644
(file)
--- 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