summaryrefslogtreecommitdiffstats
path: root/runtime/native/java_lang_System.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove ThrowLocation.Nicolas Geoffray2015-03-101-8/+5
| | | | | | | Note that this is a cleanup change, and has no functionality change. The ThrowLocation had no use anymore. Change-Id: I3d2126af1dc673cec3a0453ff3d56a172663a5f6
* ART: More warningsAndreas Gampe2014-11-041-0/+2
| | | | | | | Enable -Wno-conversion-null, -Wredundant-decls and -Wshadow in general, and -Wunused-but-set-parameter for GCC builds. Change-Id: I81bbdd762213444673c65d85edae594a523836e5
* Tidy logging code not using UNIMPLEMENTED.Ian Rogers2014-10-241-2/+2
| | | | Change-Id: I7a79c1671a6ff8b2040887133b3e0925ef9a3cfe
* Expanded native code to use arraycopy for specific data types.Emma Meersman2014-06-201-9/+66
| | | | | Bug: 7103825 Change-Id: I09a78701c966064f592948d83dedd2f58214bed8
* Object model changes to support 64bit.Ian Rogers2014-02-061-257/+85
| | | | | | | | | | | | | | | | | | | | | | | 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
* Fix object identity hash.Mathieu Chartier2013-10-291-0/+3
| | | | | | | | | | | | | The object identity hash is now stored in the monitor word after being computed. Hashes are computed by a pseudo random number generator. When we write the image, we eagerly compute object hashes to prevent pages getting dirtied. Bug: 8981901 Change-Id: Ic8edacbacb0afc7055fd740a52444929f88ed564
* Fast JNI support.Ian Rogers2013-10-201-7/+7
| | | | | | | Use a modifier to signal a native method is a fast JNI method. If the modifier is set then don't perform runnable transitions. Change-Id: I7835b4d837bfdd1cb8e2d54b919c0d5e6cf90499
* A char array copy optimization (art).Hiroshi Yamauchi2013-09-041-0/+23
| | | | | | | | | | | | - Based on measurements, copy char by char for arrays of length <= 64. - With this change, the Ritz MemAllocBench got ~25% faster on Nexus 4 and ~20% faster on host. - This change only handles arraycopy calls in the core libraries and char arrays with the rest future work. Bug: 7103825 Change-Id: If536f9ea68ecf277b604199130d2060c446f640c
* Fixing cpplint readability/casting issuesBrian Carlstrom2013-07-181-1/+1
| | | | Change-Id: I6821da0e23737995a9b884a04e9b63fac640cd05
* Create separate Android.mk for main build targetsBrian Carlstrom2013-07-121-0/+334
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