commit | 93f3da1578bf25d3bc8cf1d121477bf29b4d760a | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Sat Jul 26 01:13:13 2014 -0700 |
committer | Andreas Gampe <agampe@google.com> | Sat Jul 26 01:38:33 2014 -0700 |
tree | 379f11e1f9d52769e9b3b8cdb9d265b7830caffd | |
parent | 3bcac48f23094fa0f46315a080ec47fc368fd4c2 [diff] |
ART: Rewrite ParallelGC run-test To better test what ParallelGC is intended to do, write a version that will more fairly allocate objects between the threads, and will let each thread OOM only once. Use a barrier to wait for completion of all threads, and force a final GC by allocating some more objects. Bug: 16406852 Change-Id: I019ddc08515b9610c18d55280cd46cbe3ae3e5ac