| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Used by native allocations to prevent deadlocks.
Bug: 21544853
Change-Id: I57b2f7ae8b74185922eb3c15ba0ab71a4d2348aa
|
|
|
|
|
|
|
|
| |
This caused fallout elsewhere requiring
- Package fix to pass 005-annotations
- ObjectInputStream fix to pass 093-serialization
Change-Id: I6bc470e20fa177e8a3debe55c90a84eef7ef518e
|
|
|
|
|
|
|
|
| |
This class is only used by ART's compiler to abort transaction when
initializing image classes ahead-of-time.
Bug: 20019689
Change-Id: I60bb9270074ccabb04e14369ebeb755493729a23
|
|
|
|
|
|
|
|
|
| |
Used to release virtual memory for apps with small heaps according
to manifest.
Bug: 18387825
Bug: 17131630
Change-Id: I73cf18c80e7ce76bd627e5a9439dec4277c6af2d
|
|
|
|
|
| |
Bug: 18739541
Change-Id: Icf309cd8981372f24caa7c8b98a2e0591b1d90ea
|
|
|
|
|
|
|
|
| |
Fixes deadlock caused by acquirng the mutator lock while
synchronizing on the daemon thread.
Bug: 18739541
Change-Id: Ib3ac3788081d3d471195a6e3a8ed163237616a4f
|
|
|
|
|
|
|
|
| |
Bug: 17679443
(cherry picked from commit 75c02d71f2345d9f19e9c36dd75c3d08d9f562dc)
Change-Id: I4cf9113dfedb2981dc9ce219c96fe1f71f4e0e98
|
|
|
|
| |
Change-Id: I0620c33972e061ba18504579430d2ac02656d17a
|
|
|
|
|
|
|
|
|
| |
This is required to implement some aspects of the multi
lib installation process.
(cherry picked from commit 32f32721e65c93a3aaf8a792b7742aabe7e29e7e)
Change-Id: I10fedcbee1318d132d2ac517ddf8cdca02a51cda
|
|
|
|
|
|
|
|
|
|
| |
Adds methods vmInstructionSet, is64Bit and isCheckJniEnabled to the VMRuntime
class. They are used by DdmHandleHello class in the framework to report new
information about the runtime to DDMS.
Bug: 14888999
Bug: 14888124
Change-Id: I8a2d3f22f84a093be2fbc74464af6aa7b2a2bebb
|
|
|
|
|
|
|
|
|
|
|
| |
Bridges the android ABI lists (TARGET_CPU_ABI, TARGET_CPU_ABI2
from the BoardConfig and android.os.Build.CPU_ABI) and the
runtime concept of an instruction set used for compilation
(the --instruction-set to dex2oat and so on).
(cherry picked from commit 6174cff204aa36e622e9bd93569b4a1eb2ed222c)
Change-Id: Id2eaa60f0546d6c88770f8981adac2a896ed7d49
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add isDexOptNeededInternal() to the DexFile class. This is like
isDexOptNeeded() except takes additional arguments that are used
to determine whether a profile has changed of not.
The isDexOptNeeded() method is part of the exported API and cannot
be changed. The new method is not part of the API.
Also add additional argument to the registerAppInfo() methods (the
package name). This is used to determine the profile filename.
Bug: 12877748
Change-Id: If862cc5d20fae4b9d46c488f401cda6d433b4a57
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unpadded array allocations avoid unused bytes following arrays. API conventions
follow those of newNonMovableArray.
Dalvik implementation assume dlmalloc allocation properties, ART implementation
is handled by resizing the array post-allocation:
https://android-review.googlesource.com/83670
Add VMRuntimeTest to check the properties of the array allocation routines.
Change java.lang.reflect.Array.newInstance to compare more probable array types
before less probable ones.
Bug: 13028925.
Change-Id: Icf6bfb1aa5ad4faa062b393082c689b6118a84b5
|
|
|
|
|
|
|
|
|
| |
This adds the native function registerAppInfo() to the VMRuntime
object. It is called by the ActivityThread in the framework
to tell the runtime about application info.
Bug: 11539952
Change-Id: I3958a40af5afd513f943093fb483885c2b6b119e
|
|
|
|
|
|
|
|
|
| |
Used to know when to do trimming and will be used for knowing when
to do compaction.
Bug: 8981901
Change-Id: I0f715f8c9dfc5f7399b54261fe08410449fef10e
|
|
|
|
|
|
|
| |
The goal is to enable libcore to adjust its behavior based on the
target SDK version / API Level of the app.
Change-Id: I60f1febc1f8ddf2a97925a48ddf232508d5c44f9
|
|
|
|
|
| |
Bug: 11045348
Change-Id: Idbd6ad284964035a3fcf1ec360a3490f32f99d42
|
|
|
|
|
| |
Bug: 11045348
Change-Id: I3025d8f95e157af602b0ae91d974cb5e6678fb3d
|
|
|
|
|
|
|
| |
Also include the API level where the reason for mentioning the version
is an API difference (as opposed to simply a behavioral difference).
Change-Id: Idd69630fc5d6f6f0bd5d1c524cb32fd8c2fb750d
|
|
|
|
|
|
|
|
|
| |
This change unifies the native method tracing interface between art
and dalvik, and so the two files can merged again.
(cherry picked from commit cd28c9550cbc77b5b856a13638f221f1cd9fc6ab)
Change-Id: Id834945644615c4d8d8536140842d9036f38fbeb
|
|
|
|
|
| |
Bug: 9071417
Change-Id: Icdde3aace023d1d7509c932cdd71f203213b59d6
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dex files are loaded early and then queried against. This leads to
IOExceptions for failed to load dex files being unavailable when a findClass
is performed. Its useful to have the IOExceptions as then its possible to
determine why a class wasn't found, for example, because the jar archive was
empty.
This change caches the IOExceptions that occur during the loading of dex files
and then adds them to the suppressed exceptions reported when findClass fails.
Change-Id: I31693400c503a113282f9d094ddfd84ebc3cf6dd
(cherry picked from commit 04205541b4dda4c199a7fe72ab72eb0766a4207c)
|
|
|
|
| |
Change-Id: Icbbc65dbc51bb46e64df27a5066b2ef08fe7b93f
(cherry picked from commit 7798d7373c11f47a81f465577e4074480de82af6)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the heap size/alloc/free stats to the Dalvik heap space breakdown section in dumpsys meminfo.
Also, now the zygote heap has a distict ashmem region name.
Bug: 9532137
Bug: 8266259
(cherry picked from commit 8a620d52b5d12599b539c7a7621daf3012de5074)
Change-Id: I7283e30cefbc6c57b23a5dc1ae88b037f3e11bbf
|
|
|
|
|
|
|
|
| |
Required for ART native allocation accounting code.
(cherry picked from commit 71c68c5920a3be2f953624365da7cf0681fa32ed)
Change-Id: I5d5a4c908b3759a56e7e919754bbc26fcd051600
|
|
|
|
|
|
| |
This process state will be used for determining GC behavior.
Change-Id: I2dde66a79d8fa835a7ed2499bd37069c6062f84b
|
|
|
|
|
|
| |
(cherry picked from commit 3382fd584e926b61960ded814c889ea8b84a2222)
Change-Id: Ie095151c54caf4b996414d04c2140dcc3b93aa7b
|
|
|
|
| |
Change-Id: Iae4b645f02e474875aca8ccfd7ba46610e12acbf
|
|
|
|
| |
Change-Id: I4db5fbf6a5977c02a1dffffc5386f7fc04ef7eab
|
|
Change-Id: I86febf08eacf42bb4b2f06dbd51c5b2d5b25c9fb
|