summaryrefslogtreecommitdiffstats
path: root/test/114-ParallelGC
Commit message (Collapse)AuthorAgeFilesLines
* Support compiling run-tests with jackSebastien Hertz2015-07-091-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | This CL adds support to compile run-test source files with jack. When a test needs to rely on class files, we use jill to convert them to a jack library. We need to pass the full classpath to jack containing at least core classes (like java.lang.Object). This means the Android tree must have been compiled with jack first so we find all the necessary classes.jack files. Some tests still rely on dex files generated with the old toolchain. We keep building them this way for the moment and will update them later, when they get ready for Jack. Also updates a few tests dealing with garbage collection to avoid a situation where a reference can be retained by a local DEX register. Bug: 19467889 (cherry picked from commit 19ac0276208f0afef6ba8a4ab34b74a59b8d11d7) Change-Id: Ia5a989b83430ffe8298a869a1da970b756721bb0
* Fix 114-ParallelGC.Hiroshi Yamauchi2015-01-261-1/+5
| | | | | | | | | | | In main(), the outer ArrayList may still be reachable after the try-catch under the interpreter or a compiler without a liveness analysis and the last ArrayList allocation may fail due to an OOME. This fixes 114-ParallelGC under the CC and the GSS collectors. Bug: 12687968 Change-Id: Ie1082d38b2a677ec70fdc23b0187ae8ce0612808
* ART: Rewrite ParallelGC testAndreas Gampe2015-01-211-95/+76
| | | | | | | Make the setup simpler and less prone to OOME problems. Bug: 19027813 Change-Id: Ie2dbe1579a45d554f207a9bf84d53303acbe79d5
* Increase default timeoutMathieu Chartier2015-01-151-1/+1
| | | | | Bug: 19027813 Change-Id: I13af576dc3e980dc82e466435f41b322e2cd873e
* ART: Increase run-test 114 Java-level timeoutAndreas Gampe2015-01-151-1/+4
| | | | | | | Increase the timeout to be larger than the run-test timeout. That way ART will dump all threads when running the test on the host. Change-Id: I842b056bba650e5c7c3293376a48d48b7468e73d
* ART: Rewrite ParallelGC run-testAndreas Gampe2014-07-261-11/+111
| | | | | | | | | | | 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
* ART: Fix run-test 114 ParallelGC to account for OOMAndreas Gampe2014-07-251-3/+10
| | | | | | | This catches any OOMs and doesn't pollute the log. Bug: 16406852 Change-Id: I1bc95091ccae35a8cb5f2ef0a789f8c8ce5209d0
* Fix stale remembered sets error.Mathieu Chartier2014-07-241-1/+1
| | | | | | | | | | | | | | | | We were forgetting to remove the remembered set in transition to background. This resulted in remembered sets being added for spaces which no longer existed. This finally caused an error when a new space happened to have the same address as the old space, resulting in a CHECK failure. Also tuned the number of ParallelGC to prevent spurrious failures and removed the ParallelGC from broken tests in the make file. Bug: 16532086 Bug: 16406852 Change-Id: I00bbcbd7daa03c867732d165be62b72e6c43bce1
* Reduce allocations in ParallelGC test.Mathieu Chartier2014-07-231-1/+1
| | | | | | | Fixes GC stress test mode. Bug: 16406852 Change-Id: I86c8fd7516c3f41075bca00c7d5b4dab2bb7b1d4
* ART: Make run tests out of oat testsAndreas Gampe2014-07-233-0/+47
Transforms all former oat tests into run tests. Change-Id: I190dd39456454c36e5538a2c044d993965a67533