summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Keep original order of fields in Class.Vladimir Marko2014-11-148-134/+169
| | | | | | | | | | | | | The fields of a class are ordered alphabetically in the dex file. Keep the same order in the field arrays so that we can do binary search lookups by name. Those lookups will be implemented in a subsequent change in libcore/. Bug: 18211592 (cherry picked from commit bfa3ed0ad988e1da13626ddbaf6dcae0c58ea79e) Change-Id: I8f979de62ffe37d1c7d5c721717d2f3501e7c9e6
* Merge "[optimizing compiler] Add DIV_LONG"Calin Juravle2014-11-1310-99/+388
|\
| * [optimizing compiler] Add DIV_LONGCalin Juravle2014-11-1210-99/+388
| | | | | | | | | | | | | | | | - for backends: arm, x86, x86_64 - added cqo, idivq, testq assembly for x64_64 - small cleanups Change-Id: I762ef37880749038ed25d6014370be9a61795200
* | Merge "[optimizing compiler] add HTemporary support for long and doubles"Calin Juravle2014-11-135-32/+49
|\ \ | |/
| * [optimizing compiler] add HTemporary support for long and doublesCalin Juravle2014-11-125-32/+49
| | | | | | | | Change-Id: I5247ecd71d0193050484b7632c804c9bfd20f924
* | Merge "And another failing test on optimizing/armv8."Nicolas Geoffray2014-11-131-0/+1
|\ \
| * | And another failing test on optimizing/armv8.Nicolas Geoffray2014-11-131-0/+1
| | | | | | | | | | | | Change-Id: Ia0bcb40a9407e8709f43d00ff3d43b2063129ed9
* | | Merge "Add a --method-filter option to oatdump."Nicolas Geoffray2014-11-131-1/+17
|\ \ \ | |/ / |/| |
| * | Add a --method-filter option to oatdump.Nicolas Geoffray2014-11-121-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | I intend to use oatdump for testing generated code, and being able to filter on a method name will make the testing more reliable. Change-Id: Iaf7fef7228d9d8a901bd9b98452d244d42ca497e
* | | Merge "Unfortunately, the test still hits too many run failures."Nicolas Geoffray2014-11-131-0/+9
|\ \ \
| * | | Unfortunately, the test still hits too many run failures.Nicolas Geoffray2014-11-131-0/+9
|/ / / | | | | | | | | | Change-Id: I3917c994e454b8e9321b28173059d3ac8739c02e
* | | Merge "Do a parallel move in BoundsCheckSlowPath."Nicolas Geoffray2014-11-1312-44/+111
|\ \ \
| * | | Do a parallel move in BoundsCheckSlowPath.Nicolas Geoffray2014-11-1212-44/+111
| |/ / | | | | | | | | | | | | | | | | | | | | | The two locations of the index and length could overlap, so we need a parallel move. Also factorize the code for doing a parallel move based on two locations. Change-Id: Iee8b3459e2eed6704d45e9a564fb2cd050741ea4
* | | Merge "Modify the behavior of thread suspend shootouts."Ian Rogers2014-11-1312-64/+28
|\ \ \
| * | | Modify the behavior of thread suspend shootouts.Ian Rogers2014-11-1212-64/+28
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | The thread doing the suspension doesn't attempt to suspend the other thread unless it knows another thread isn't trying to suspend it. Use the suspend count, and its lock, for this purpose. Re-enable ThreadStress test. Bug: 15446488 Change-Id: Idd34410c7b89d8abd6973e5699a15ca699472c78
* | | Merge "Use the new name for the libc++ libbacktrace."Dan Albert2014-11-121-1/+1
|\ \ \
| * | | Use the new name for the libc++ libbacktrace.Dan Albert2014-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm removing the stlport flavored libbacktrace, so the libc++ one can have the normal name now. Bug: 15193147 Change-Id: Ie138bc8034533cae56ea15095eebc5f52e56f32d
* | | | Merge "ART: Fix clobbering low part in 32-bit version of ↵Bill Buzbee2014-11-121-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | X86Mir2Lir::GenNegDouble"
| * | | | ART: Fix clobbering low part in 32-bit version of X86Mir2Lir::GenNegDoublePavel Vyssotski2014-11-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If source registers overlap destination registers the low part of result can be clobbered in current implementation. For example, for 'neg-double v5, v6' bytecode compiler can generates the following instructions: lea ecx, [edx + 0x80000000] mov eax, ecx The fix forces source registers to be temp so there is no need to copy the low part. Change-Id: I986ca17d1dc45c9e9d44a66e501cd354af496fde Signed-off-by: Pavel Vyssotski <pavel.n.vyssotski@intel.com>
* | | | | Merge "ART: GenNegLong incorrectly handled register overlap for x86"Bill Buzbee2014-11-124-7/+188
|\ \ \ \ \
| * | | | | ART: GenNegLong incorrectly handled register overlap for x86nikolay serdjuk2014-11-104-7/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a bug in the GenNegLong: it should invoke OpRegCopy(temp_reg, rl_result.reg.GetHigh()); instead of OpRegCopy(temp_reg, rl_result.reg); But, anyway there is no need to handle the overlap anymore because it is already handled in OpRegCopyWide() which is invoked from StoreValueWide(). Change-Id: I379ed23434c72a91e875e753708387be6502bc57 Signed-off-by: nikolay serdjuk <nikolay.y.serdjuk@intel.com>
* | | | | | Merge "Use CommonRuntimeTest::boot_class_path_ in DexMethodIteratorTest"Brian Carlstrom2014-11-122-7/+6
|\ \ \ \ \ \
| * | | | | | Use CommonRuntimeTest::boot_class_path_ in DexMethodIteratorTestBrian Carlstrom2014-11-102-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition, remove some other unnecessary dependencies. Change-Id: I5ec97b54c3c064ea98feb70dbfd226118ec98290
* | | | | | | Merge "Mark test as failing for optimizing/armv8."Nicolas Geoffray2014-11-121-0/+1
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Mark test as failing for optimizing/armv8.Nicolas Geoffray2014-11-121-0/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Change-Id: I43e8ade5fb27a66a52309516bce72e081b4ebbf6
* | | | | | Merge "Implement and/or/xor in optimizing."Nicolas Geoffray2014-11-1217-6/+717
|\ \ \ \ \ \
| * | | | | | Implement and/or/xor in optimizing.Nicolas Geoffray2014-11-1217-6/+717
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: I7cf6da1fd334a7177a5580931b8f174dd40b7cec
* | | | | | Merge "Fix bad OOM check in Thread::CreatePeer()."Vladimir Marko2014-11-121-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix bad OOM check in Thread::CreatePeer().Vladimir Marko2014-11-121-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18342629 (cherry picked from commit 7bcea103af7cd130254835a30b45d5277a478074) Change-Id: I5d5c7511bbc705d040095f4934d98d326d54d39e
* | | | | Merge "More armv8/optimizing test failures."Nicolas Geoffray2014-11-121-0/+3
|\ \ \ \ \
| * | | | | More armv8/optimizing test failures.Nicolas Geoffray2014-11-121-0/+3
|/ / / / / | | | | | | | | | | | | | | | Change-Id: Ic2472e4339f96789086f4397f4a4c53529a3fe49
* | | | | Merge "Implement monitorenter/monitorexit."Nicolas Geoffray2014-11-129-0/+149
|\ \ \ \ \
| * | | | | Implement monitorenter/monitorexit.Nicolas Geoffray2014-11-129-0/+149
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Pretty simple as they just invoke the runtime. Change-Id: I5fcb2c783deac27e55e28d8b3da3e68ea4b77363
* | | | | Merge "Revert "Revert "Add support for long-to-int in the optimizing ↵Roland Levillain2014-11-129-67/+273
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | compiler."""
| * | | | | Revert "Revert "Add support for long-to-int in the optimizing compiler.""Roland Levillain2014-11-119-67/+273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 3adfd1b4fb20ac2b0217b5d2737bfe30ad90257a. Change-Id: Iacf0c6492d49267e24f1b727dbf6379b21fd02db
* | | | | | Merge "Update list of armv8/optimizing failing tests."Nicolas Geoffray2014-11-121-0/+9
|\ \ \ \ \ \
| * | | | | | Update list of armv8/optimizing failing tests.Nicolas Geoffray2014-11-121-0/+9
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: I9db077b1c8bd687f665574ab64445161dbf0771b
* | | | | | Merge "Remove HTemporary when building the SSA graph."Nicolas Geoffray2014-11-123-1/+11
|\ \ \ \ \ \
| * | | | | | Remove HTemporary when building the SSA graph.Nicolas Geoffray2014-11-113-1/+11
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - They are useless afterwards. If we keep them around, they can crash the dump of the graph, where they always assume a previous instruction. - In the call to HTemporary::GetType, check that the previous instruction exists. Change-Id: Ie7bf44d05cb61e3654a69725c1980925580dd3a6
* | | | | | Merge "Implement invokesuper in optimizing."Nicolas Geoffray2014-11-128-11/+171
|\ \ \ \ \ \
| * | | | | | Implement invokesuper in optimizing.Nicolas Geoffray2014-11-128-11/+171
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Ensure dex2oat is in PIC mode, as this will drive the decisions made in the compiler driver, and optimizing only suppots PIC anyway. - Since invokesuper is sharpened into invoke-direct, also support sharpening of invokeinterface and invokevirtual. Change-Id: I0a1bd79a13dc1c9e67e3cb11d38f0cd4459968ae
* | | | | | Merge "Implement checkcast for optimizing."Nicolas Geoffray2014-11-1212-63/+356
|\ \ \ \ \ \
| * | | | | | Implement checkcast for optimizing.Nicolas Geoffray2014-11-1212-63/+356
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Ended up not using HTypeCheck because of how instanceof and checkcast end up having different logic for code generation. - Fix a x86_64 assembler bug triggered by now enabling more methods to be compiled. Difficult to test today without b/18117217. Change-Id: I3022e7ae03befb1d10bea9637ad21fadc430abe0
* | | | | | Merge "Don't try to handle nested SIGSEGV inside fault handler."Ian Rogers2014-11-121-15/+34
|\ \ \ \ \ \
| * | | | | | Don't try to handle nested SIGSEGV inside fault handler.Ian Rogers2014-11-111-15/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trying to handle nested SIGSEGV in the fault handler leads to infinite signals and retrying if the cause of the SIGSEGV was a lack of stack space. This can lead to applications not chaining through to debuggerd and dying. Bug: 18330119 Change-Id: Iadcffe0fa0e55d783b84a06504bbd9d181e641e4
* | | | | | | Merge "Allow JNI AttachCurrentThread to fail if not enough stack."Ian Rogers2014-11-128-28/+194
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | / | |_|_|_|_|/ |/| | | | |
| * | | | | Allow JNI AttachCurrentThread to fail if not enough stack.Ian Rogers2014-11-118-28/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add unit tests and move JavaVM JNI tests into there own set of gtests. Bug: 18330119 Change-Id: I0e93dff783b1f5d787b3084d24122883e14951a1
* | | | | | Merge "Add null check for thread name creation"Mathieu Chartier2014-11-111-0/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Add null check for thread name creationMathieu Chartier2014-11-111-0/+5
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we didn't check for null which could result in check jni failures if we tried to throw another OOM in the next allocation. Bug: 18297817 (cherry picked from commit a7ade888ab99b1453571d14c41d4a0322c400fcd) Change-Id: Ideef46f4900e546e81fbd9a5225c06698f36e9ac
* | | | | Merge "Add jni_internal_test for GetArrayLength(NULL)."Ian Rogers2014-11-111-1/+9
|\ \ \ \ \ | |/ / / / |/| | | |