summaryrefslogtreecommitdiffstats
path: root/runtime/thread_pool_test.cc
Commit message (Collapse)AuthorAgeFilesLines
* Split up CommonTest into CommonRuntimeTest and CommonCompilerTestBrian Carlstrom2014-02-261-3/+3
| | | | Change-Id: I8dcf6b29a5aecd445f1a3ddb06386cf81dbc9c70
* Object model changes to support 64bit.Ian Rogers2014-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Modify mirror objects so that references between them use an ObjectReference value type rather than an Object* so that functionality to compress larger references can be captured in the ObjectRefererence implementation. ObjectReferences are 32bit and all other aspects of object layout remain as they are currently. Expand fields in objects holding pointers so they can hold 64bit pointers. Its expected the size of these will come down by improving where we hold compiler meta-data. Stub out x86_64 architecture specific runtime implementation. Modify OutputStream so that reads and writes are of unsigned quantities. Make the use of portable or quick code more explicit. Templatize AtomicInteger to support more than just int32_t as a type. Add missing, and fix issues relating to, missing annotalysis information on the mutator lock. Refactor and share implementations for array copy between System and uses elsewhere in the runtime. Fix numerous 64bit build issues. Change-Id: I1a5694c251a42c9eff71084dfdd4b51fff716822
* Tidy up memory barriers.Ian Rogers2013-12-201-1/+1
| | | | Change-Id: I937ea93e6df1835ecfe2d4bb7d84c24fe7fc097b
* Manually manage thread pool stacks.Mathieu Chartier2013-11-131-3/+3
| | | | | | | | | | | | We now allocate the thread pool worker stack using a MemMap. This enables us to name the maps so that we get more descriptive output for debugging leaks. Appears to fix the mips build 5/5 successful clean-oat and builds. This is probably since glibc caches up to 40 MB of thread stacks before releasing them. Change-Id: I1df2de50cb95838aa0d272a09807021404ba410c
* am 0cd7ec2d: Fix cpplint whitespace/blank_line issuesBrian Carlstrom2013-07-181-3/+1
|\ | | | | | | | | * commit '0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c': Fix cpplint whitespace/blank_line issues
| * Fix cpplint whitespace/blank_line issuesBrian Carlstrom2013-07-181-3/+1
| | | | | | | | Change-Id: Ice937e95e23dd622c17054551d4ae4cebd0ef8a2
* | am 93ba893c: Fix cpplint runtime/explicit issuesBrian Carlstrom2013-07-171-6/+5
|\ \ | |/ | | | | | | * commit '93ba893c20532990a430741e0a97212900094e8c': Fix cpplint runtime/explicit issues
| * Fix cpplint runtime/explicit issuesBrian Carlstrom2013-07-171-6/+5
| | | | | | | | Change-Id: I352ba0b427f1ff9b22887693952b180eae0839ba
* | Refactor atomic integer.Mathieu Chartier2013-07-151-1/+1
|/ | | | | | | | | Refactored atomic integer to be similar to c++11 std::atomic<int>. Removed jdwp serial lock and reverted lock level name change from https://googleplex-android-review.googlesource.com/#/c/327297/ Change-Id: I2229f30c4d5762a0e8c72697d6aca4683750af35
* Create separate Android.mk for main build targetsBrian Carlstrom2013-07-121-0/+144
The runtime, compiler, dex2oat, and oatdump now are in seperate trees to prevent dependency creep. They can now be individually built without rebuilding the rest of the art projects. dalvikvm and jdwpspy were already this way. Builds in the art directory should behave as before, building everything including tests. Change-Id: Ic6b1151e5ed0f823c3dd301afd2b13eb2d8feb81