- 01 May, 2014 4 commits
-
-
Ian Rogers authored
-
Ian Rogers authored
This fixes 64-bit host compilation of libdex. Change-Id: I364b624e12620f844cc7bbaa08e679c8a529f87c
-
Narayan Kamath authored
-
Narayan Kamath authored
- Changes signature of isDexOptNeededInternal. No behavioural changes are needed because dalvik only uses the first argument to the function (the "name") and dexopt is architecture agnostic. - Changes dexOptGenerateCacheFileName to place dex files under /data/dalvik-cache/<instruction-set>. This allows us to avoid needing dalvik specific logic in the package manager and installd. (cherry picked from commit f752d041) Change-Id: Ie31c9925269d6ac97d358ce49219557692704329
-
- 24 Apr, 2014 2 commits
-
-
Paul Duffin authored
-
Paul Duffin authored
Code for managing Thread.sleep/wait used both !defined(__APPLE__) and HAVE_POSIX_CLOCKS interchangeably to mean the same thing. That worked when one or other was set but failed on host because neither were set and could also fail if they were both set. This changed to use HAVE_POSIX_CLOCKS consistently. The code that used this was spread across 4 separate files with quite a lot of duplication so that has been replaced with a new method dvmInitCondForTimedWait in Sync.cpp. A few extra comments were added to make some things that were a bit confusing clearer, hopefully. Change-Id: I7660c931f0cafcd0563afd1165de2aa615040602 Bug: https://code.google.com/p/android/issues/detail?id=68402
-
- 16 Apr, 2014 1 commit
-
-
Nicolas Geoffray authored
-
- 11 Apr, 2014 1 commit
-
-
Narayan Kamath authored
-
- 10 Apr, 2014 1 commit
-
-
Narayan Kamath authored
u4* args is a pointer to a flat array of 4 byte values, so the "debugFlags" arg of postForkChild(long, int debugFlags) is at args[2], not args[1]. bug: 13926783 Change-Id: Icd3bbf9dd249cdd70e085acdd4dd7daa415cd698
-
- 02 Apr, 2014 2 commits
-
-
Narayan Kamath authored
-
Nicolas Geoffray authored
Change-Id: I0c8940c77184a40c4c20c7c369f1a8a36624ccb6
-
- 01 Apr, 2014 1 commit
-
-
Narayan Kamath authored
The framework class com.android.internal.os.ZygoteInit will call back to the runtime before / after the fork, so that it can perform runtime specific bringup / teardown. Change-Id: I9730e12da8b22f03397658b1bddc7fd73f4fbc7d
-
- 31 Mar, 2014 1 commit
-
-
Narayan Kamath authored
-
- 28 Mar, 2014 1 commit
-
-
Narayan Kamath authored
Currently unused. Note that ART does not have a native definition of this function. Change-Id: If75830ca231db7a597dfe726fb0968828fca9593
-
- 25 Mar, 2014 3 commits
-
-
Colin Cross authored
-
Colin Cross authored
Fix typo in rule for libdvm_sv. LOCAL_MODULE_UNSUPPORTED_ARCH should be LOCAL_MODULE_UNSUPPORTED_TARGET_ARCH. Change-Id: Iada67cc93560938d2a82a320cb88b7560e7db1b4
-
Colin Cross authored
-
- 22 Mar, 2014 1 commit
-
-
Colin Cross authored
Set LOCAL_32_BIT_ONLY for all target modules Use LOCAL_LDFLAGS_x86 instead of ifeq ($(TARGET_ARCH),x86) Set dvm_arch to TARGET_2ND_ARCH instead of TARGET_ARCH on 64-bit targets This will allow "make checkbuild" to succeed on 64-bit platforms. Change-Id: Idd51dda26b54855c0c8640f8fcfbf4274baf8845
-
- 18 Mar, 2014 1 commit
-
-
Nicolas Geoffray authored
-
- 17 Mar, 2014 3 commits
-
-
Jeff Hao authored
-
Nicolas Geoffray authored
Change-Id: I925d42d10e471fa25ca3e924b1db1db6911b5641
-
- 12 Mar, 2014 1 commit
-
-
Narayan Kamath authored
-
- 11 Mar, 2014 3 commits
-
-
Narayan Kamath authored
Support for the target-api flag was removed in 2011. Change-Id: Id50c53f759d4e3a59f550dbeb6e733b68df58dd3
-
Narayan Kamath authored
-
Narayan Kamath authored
bug: 12370565 Change-Id: I75de311912d3e620f95fbac712e799e64622e4ab
-
- 10 Mar, 2014 2 commits
-
-
Brian Carlstrom authored
-
Narayan Kamath authored
Dalvik has no profiler, so we can safely ignore the "defer" argument. Keeps dalvik functional on master. Change-Id: I2ace9a215e7ff471294927aa870e55cf7c0327b1
-
- 07 Mar, 2014 1 commit
-
-
Narayan Kamath authored
-
- 04 Mar, 2014 1 commit
-
-
Narayan Kamath authored
Replaced with the posix compliant pthread_condattr_setclock. Unfortunately, mac OS doesn't support CLOCK_MONOTONIC or (pthread_condattr_setclock) so we fall back to using the "default" pthread_condattr_t value like we did earlier. Change-Id: I23475ef0d4e392d9e14402c6b5f8f658c5ed4063
-
- 13 Feb, 2014 2 commits
-
-
Dave Platt authored
-
Dave Platt authored
As promised, this is the cleanup patch-set which removes the old native "fork and specialize" API, which has been replaced by a slightly-enhanced one which can close the Zygote socket descriptors in the Zygote child. Change-Id: I33f504afd242e268863270139b4e421d4b0728f2
-
- 12 Feb, 2014 3 commits
-
-
Dave Platt authored
-
Elliott Hughes authored
-
Elliott Hughes authored
Bug: 12965705 Change-Id: I805428e3103ff578d048ecbbc6ae30c0ead19ef9
-
- 11 Feb, 2014 2 commits
-
-
Nicolas Geoffray authored
-
Nicolas Geoffray authored
Change-Id: I344437997de020225225b1e884fb2b79b525f98b
-
- 08 Feb, 2014 1 commit
-
-
Elliott Hughes authored
-
- 06 Feb, 2014 1 commit
-
-
Dave Platt authored
In order to prevent Zygote descriptors from leaking into the child environment, they should be closed by the forked-off child process before the child switches to the application UID. These changes close the descriptors via dup2(), substituting a descriptor open to /dev/null in their place; this allows the Zygote Java code to close the FileDescriptor objects cleanly. This is a multi-project change: dalvik, art, libcore, frameworks/base, and external/sepolicy are affected. The CLs need to be approved together, lest the build break or the software fail to boot. Round 2: whitespace Bug: 12114500 Change-Id: I989c83291d0c42d4cad63f24a3e98a93e231c9d3
-
- 05 Feb, 2014 1 commit
-
-
Elliott Hughes authored
-