summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Pass instruction-set from runtime through to spawned dex2oat.Ian Rogers2014-04-029-84/+110
| | | | Change-Id: I1727af7beb9f710c29124d4d6bc9175e4856f3cc
* Merge "Avoid debug check violation in thread registration."Ian Rogers2014-04-022-13/+14
|\
| * Avoid debug check violation in thread registration.Ian Rogers2014-04-022-13/+14
|/ | | | | Bug: 13757855 Change-Id: Ied83a7fc43e2b9a89a8b99aa4f74069ef8a369b1
* Merge "Fixed total method count in profile file parsing."Calin Juravle2014-04-021-1/+1
|\
| * Fixed total method count in profile file parsing.Calin Juravle2014-04-021-1/+1
| | | | | | | | Change-Id: Iae38b3ca296378d17f054ac330301035ec684084
* | Merge "Include <sys/resource.h> for rlimit."Narayan Kamath2014-04-021-0/+2
|\ \
| * | Include <sys/resource.h> for rlimit.Narayan Kamath2014-04-021-0/+2
|/ / | | | | | | Change-Id: I0e487f8191e284052d8b82eb942d723147d780a1
* | Merge "Update missed DEX2OAT -> DEX2OATD changes."Nicolas Geoffray2014-04-021-2/+2
|\ \
| * | Update missed DEX2OAT -> DEX2OATD changes.Nicolas Geoffray2014-04-021-2/+2
| | | | | | | | | | | | Change-Id: I9556ac9ce30fe057e8b278858303e25c547e86ba
* | | Merge "Move most zygote related code to frameworks/base."Narayan Kamath2014-04-024-608/+120
|\ \ \ | |/ / |/| |
| * | Move most zygote related code to frameworks/base.Narayan Kamath2014-04-014-608/+120
| | | | | | | | | | | | | | | | | | | | | | | | Avoids code duplication across art/dalvik. Also, most of this code is not directly related to the runtime (mounting external storage, multi user etc.) and therefore belongs in the frameworks. Change-Id: Icf4723dd0ec4521ef6b1f785c99d50aebca7779a
* | | Merge "Use debug version of DEX2OAT explicitly."Nicolas Geoffray2014-04-023-6/+7
|\ \ \
| * | | Use debug version of DEX2OAT explicitly.Nicolas Geoffray2014-04-023-6/+7
|/ / / | | | | | | | | | Change-Id: I57b4c8caedcc6bfbeaa541d8171f8b5b3069c584
* | | Merge "Fix ClassHelper::GetDirectInterface for proxy class"Sebastien Hertz2014-04-022-11/+64
|\ \ \
| * | | Fix ClassHelper::GetDirectInterface for proxy classSebastien Hertz2014-04-012-11/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Returns only the direct interfaces implemented by the proxy class. We collect them from the "interfaces" field in the synthesized proxy class instead of looking into the iftable. Also updates proxy_test to reflect this change. Bug: 13689930 Change-Id: I926e2ed30f9e65972d700a378671cec82dedaa7c
* | | | Merge "Cleanup transaction support"Sebastien Hertz2014-04-0216-81/+57
|\ \ \ \
| * | | | Cleanup transaction supportSebastien Hertz2014-04-0216-81/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates Thread::CreateInternalStackTrace to support both transactional and non-transactional modes using template. Generalizes non-transactional mode for invariant fields (which are set only once). Removes ArrayLog::VisitRoots as we never create Array logs of ObjectArray. As ObjectArray elements are set using Object::SetFieldObject, they are already recorded in the object logs: the object is the array itself and the offset corresponds to the element index in this array. And also checks we never log ObjectArray in array logs. Fixes location of thrown exception when calling native method during class initialization. Change-Id: Idbc368d3b8292b85ff40bc8a7c559e085477bf89
* | | | | Merge "Use TEST_ART_RUN_TESTS consistently"Brian Carlstrom2014-04-022-3/+5
|\ \ \ \ \
| * | | | | Use TEST_ART_RUN_TESTS consistentlyBrian Carlstrom2014-04-012-3/+5
|/ / / / / | | | | | | | | | | | | | | | Change-Id: I0242702886d53a39f2604e209a0763ff82278e1c
* | | | | Merge "Add GenBarrier() calls to terminate all IT blocks."Dave Allison2014-04-012-1/+6
|\ \ \ \ \
| * | | | | Add GenBarrier() calls to terminate all IT blocks.Dave Allison2014-04-012-1/+6
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to prevent things like load hoisting from putting instructions inside the IT block. Bug: 13749123 Change-Id: I98a010453b163ac20a90f626144f798fc06e65a9
* | | | | Merge "Fix ThreadStress, unify ANR lock descriptions."Ian Rogers2014-04-012-36/+51
|\ \ \ \ \
| * | | | | Fix ThreadStress, unify ANR lock descriptions.Ian Rogers2014-04-012-36/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 13323656 Change-Id: I902825a847af9aa570ed79701409298e3532bebf
* | | | | | Merge "Fix Thread offsets for ARM64 assembly"Andreas Gampe2014-04-011-3/+3
|\ \ \ \ \ \
| * | | | | | Fix Thread offsets for ARM64 assemblyAndreas Gampe2014-04-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8d0516091b5a865f415e1446425203785e607f8a
* | | | | | | Merge "Fix running with DlMalloc instead of RosAlloc."Mathieu Chartier2014-04-015-4/+11
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fix running with DlMalloc instead of RosAlloc.Mathieu Chartier2014-04-015-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 13748830 Bug: 13744490 Change-Id: Ieec97cf58ebf9864a40ee85aae582cdcf3f27c0c
* | | | | | | Merge "Build changes to build multilib tests"Andreas Gampe2014-04-0111-51/+160
|\ \ \ \ \ \ \
| * | | | | | | Build changes to build multilib testsAndreas Gampe2014-04-0111-51/+160
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test files will be emitted into directories for both first and second target architectures. Going with the naming scheme for binaries, single-architecture and 32b cases have the standard name, and 64b goes into a directory with "64" suffix. In multi-architecture setups, the default concrete test targets are extended with a "32" and "64" suffix, e.g., test-art-target-oat-JniTest64. The suffix-less form is linked to the primary architecture target (usually 64). That means running combined targets, e.g., test-art-target-oat, will only test the primary architecture right now. Fixed target run tests calling the right dalvikvm. Fixed library search path for tests derived from CommonRuntimeTest. Missing in this work-in-progress is correct handling of dex2oat for the secondary architecture. To make it work on 64b, comment out line 101 in build/Android.executable.mk Change-Id: I3d260994e6efe8b73b56c71994053cc9392943a9
* | | | | | | Merge "Quick compiler: add comment to Arm encoding"buzbee2014-04-011-0/+13
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Quick compiler: add comment to Arm encodingbuzbee2014-04-011-0/+13
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A question from an AOSP contributer demonstrated the need for explanation of a seemingly odd encoding for vldrd/vldrs. In short, we add a "def" bit for lr on those instructions to cover the cases in which we have to materialize a new base pointer at assembly time using lr as a temp register. Change-Id: I22c5740218a90e0ff387c6aac2bd20cc98eece85
* | | | | | Merge "Fix reflection access checks for app compatibility."Jeff Hao2014-04-012-7/+8
|\ \ \ \ \ \
| * | | | | | Fix reflection access checks for app compatibility.Jeff Hao2014-04-012-7/+8
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also updates field access test. Bug: 13740995 Change-Id: I224712cfcb0c05429b831c26980cabad7bdef49a
* | | | | | Merge "Quick compiler, MIPS resource cleanup"buzbee2014-04-017-22/+39
|\ \ \ \ \ \
| * | | | | | Quick compiler, MIPS resource cleanupbuzbee2014-03-287-22/+39
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MIPS architecture includes internal registers HI and LO. Similar to condition codes in other architectures, these internal resouces must be accounted for during instruction scheduling. Previously, the Quick backend for MIPS dealt with them by defining rHI and rLO pseudo registers - treating them as actual registers for def/use masks. This CL changes the handling of these resources to be in line with how condition codes are used elsewhere - leaving register definitions to be used for registers. Change-Id: Idcd77f3107b0c9b081ad05b1aab663fb9f41492d
* | | | | | Merge "Revert "Fix access checks for app compatibility.""Jeff Hao2014-04-011-1/+2
|\ \ \ \ \ \
| * | | | | | Revert "Fix access checks for app compatibility."Jeff Hao2014-04-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b59b2c8dbdea2a6a3086378f2cf65adc9bc282cd. Change-Id: I718658b8450a5ce6249df317b635f63356b1ce3c
* | | | | | | Merge "Add handler for printing java stack traces for compiled code SIGSEGV."Mathieu Chartier2014-04-0110-74/+148
|\ \ \ \ \ \ \
| * | | | | | | Add handler for printing java stack traces for compiled code SIGSEGV.Mathieu Chartier2014-04-0110-74/+148
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a new FaultHandler which attempts to print a java stack trace when a SIGSEGV occurse in generated code. This should help debugging compiler and GC related heap corruption. Bug: 13725693 Bug: 12934910 Change-Id: Id54d83ea180c222eb86d449c61926e83f0b026ad
* | | | | | | Merge "Fix access checks for app compatibility."Jeff Hao2014-04-011-2/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Fix access checks for app compatibility.Jeff Hao2014-04-011-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3191e5e92d30e9bee24051fd305296ddcf143e18
* | | | | | | Merge "Make the support code for read barriers a bit more general."Hiroshi Yamauchi2014-04-0115-74/+106
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Make the support code for read barriers a bit more general.Hiroshi Yamauchi2014-03-3115-74/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an option for Baker in addition to Brooks. Bug: 12687968 Change-Id: I8a31db817ff6686c72951b6534f588228e270b11
* | | | | | | Merge "Calling convention support for cross 64/32 compilation."Ian Rogers2014-04-0118-113/+178
|\ \ \ \ \ \ \
| * | | | | | | Calling convention support for cross 64/32 compilation.Ian Rogers2014-04-0118-113/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add REX support for x86-64 operands. Change-Id: I093ae26fb8c111d54b8c72166f054984564c04c6
* | | | | | | | Merge "Fix stack overflow slow path error."Mathieu Chartier2014-04-012-5/+4
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Fix stack overflow slow path error.Mathieu Chartier2014-03-312-5/+4
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The frame size without spill was being passed into the slow path instead of the spill size. This was incorrect since only the spills will have been pushed at the point of the overflow check. Also addressed an other comment. Change-Id: Ic6e455122473a8f796b291d71f945bcf72788662
* | | | | | | Merge "Revert "Revert "Optimize easy multiply and easy div remainder."""Ian Rogers2014-04-019-49/+188
|\ \ \ \ \ \ \
| * | | | | | | Revert "Revert "Optimize easy multiply and easy div remainder.""Ian Rogers2014-03-289-49/+188
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 3654a6f50a948ead89627f398aaf86a2c2db0088. Remove the part of the change that confused !is_div with being multiply rather than implying remainder. Change-Id: I202610069c69351259a320e8852543cbed4c3b3e
* | | | | | | Merge "Allow mixing of thread offsets between 32 and 64bit architectures."Ian Rogers2014-04-0178-2368/+2443
|\ \ \ \ \ \ \