| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I9d34cfea13fe4e6902e02cfb9d2de7610ced878c
|
|
|
|
|
|
|
|
|
| |
Otherwise my builds crash and burn because I don't know how to set up
host clang properly and honestly, do we really need "better warnings"
for ART? I mean, this is one part of the OS that for the most part we
are not going to fuck with
Change-Id: Ie45a6926510ec12aedc3cfac79d00ee842a7778b
|
|
|
|
|
|
|
| |
Disable Clang for arm32 until a fix for the issue is found.
Bug: 25130937
Change-Id: Ia33f387b89ac8d1e8eac9a2782c45f038b9e8a1a
|
|
|
|
|
|
|
|
|
|
|
| |
external/valgrind structure has been changed
to reflect upstream projects struture.
Making corresponding changes to art includes.
Bug: http://b/21471495
Change-Id: I2434a270f88502528df82c4820afedb002b65b8d
(cherry picked from commit 6130f739d8f35e01037ba5c3ec5e5a1057900479)
|
|
|
|
|
|
|
|
| |
Now we have new llvm to compile art for arm64 without -fno-vectorize.
BUG: 21080674
Change-Id: Id1b3a88ab9d4cf78b7f0dfd8cb435ed6e7ab7cb2
(cherry picked from commit b6cee946d44dc1e961c9656830b567e38104f896)
|
|
|
|
|
|
|
|
|
|
|
| |
The build-time errors described in
https://android-review.googlesource.com/#/c/120512
are no longer happening.
BUG: 18807290
BUG: 18789639
Change-Id: I195bbb7d102fecd6a6e6a3357b0863dd6fddb01f
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary of high level changes:
- Adds compiler inliner support to identify string init methods
- Adds compiler support (quick & optimizing) with new invoke code path
that calls method off the thread pointer
- Adds thread entrypoints for all string init methods
- Adds map to verifier to log when receiver of string init has been
copied to other registers. used by compiler and interpreter
Change-Id: I797b992a8feb566f9ad73060011ab6f51eb7ce01
|
|
|
|
|
|
| |
Too much stuff unimplemented and causing warnings.
Change-Id: I43bae875f1eca3cc24e03b0e7d6fdfd2adae0cbd
|
|
|
|
| |
Change-Id: Ie6aba02f4223b1de02530e1515c63505f37e184c
|
|
|
|
|
|
|
|
|
| |
Replace throw() with noexcept.
Add default copy constructors and copy assignment constructors for
cases with destructors, as the implicit definition is deprecated.
Change-Id: Ice306a3f510b072b00bec4d4360f7c8055135c9d
|
|
|
|
|
|
| |
Add detection of wrong unused annotations. Fix our codebase.
Change-Id: I85cc20f2eac71c1ec6c5c7cd6efb08454a629634
|
|
|
|
|
|
| |
For testing.
Change-Id: I4d06a4db733b7fa09105f068028483cf88db7925
|
|
|
|
|
|
|
|
| |
WITH_ART_SMART_MODE now sets --compiler-filter options instead.
Has a corresponding change to /build
Bug: 19460766
Change-Id: I295ebbd49caa5341834141f7c2bbf8df830131ed
|
|
|
|
|
|
|
|
| |
Rename art_default_gc_type to ART_DEFAULT_GC_TYPE.
Bug: 19514492
Change-Id: I3c7920e7a84327c5908462e51e21199b89fb187d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added missing EntryPointToCodePointer.
This reverts commit a5ca888d715cd0c6c421313211caa1928be3e399.
Change-Id: Ia74df0ef3a7babbdcb0466fd24da28e304e3f5af
|
|/
|
|
|
|
|
| |
Until the global CFLAGS are fixed, add Wunused. Fix declarations
in the optimizing compiler.
Change-Id: Ic4553f08e809dc54f3d82af57ac592622c98e000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sorry, run-test crashes on target:
0-05 12:15:51.633 I/DEBUG (27995): Abort message: 'art/runtime/mirror/art_method.cc:349] Check failed: PcIsWithinQuickCode(reinterpret_cast<uintptr_t>(code), pc) java.lang.Throwable java.lang.Throwable.fillInStackTrace() pc=71e3366b code=0x71e3362d size=ad000000'
10-05 12:15:51.633 I/DEBUG (27995): r0 00000000 r1 0000542b r2 00000006 r3 00000000
10-05 12:15:51.633 I/DEBUG (27995): r4 00000006 r5 b6f9addc r6 00000002 r7 0000010c
10-05 12:15:51.633 I/DEBUG (27995): r8 b63fe1e8 r9 be8e1418 sl b6427400 fp b63fcce0
10-05 12:15:51.633 I/DEBUG (27995): ip 0000542b sp be8e1358 lr b6e9a27b pc b6e9c280 cpsr 40070010
10-05 12:15:51.633 I/DEBUG (27995):
Bug: 17950037
This reverts commit 2535abe7d1fcdd0e6aca782b1f1932a703ed50a4.
Change-Id: I6f88849bc6f2befed0c0aaa0b7b2a08c967a83c3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently disabled by default unless -Xjit is passed in.
The proposed JIT is a method JIT which works by utilizing interpreter
instrumentation to request compilation of hot methods async during
runtime.
JIT options:
-Xjit / -Xnojit
-Xjitcodecachesize:N
-Xjitthreshold:integervalue
The JIT has a shared copy of a compiler driver which is accessed
by worker threads to compile individual methods.
Added JIT code cache and data cache, currently sized at 2 MB
capacity by default. Most apps will only fill a small fraction of
this cache however.
Added support to the compiler for compiling interpreter quickened
byte codes.
Added test target ART_TEST_JIT=TRUE and --jit for run-test.
TODO:
Clean up code cache.
Delete compiled methods after they are added to code cache.
Add more optimizations related to runtime checks e.g. direct pointers
for invokes.
Add method recompilation.
Move instrumentation to DexFile to improve performance and reduce
memory usage.
Bug: 17950037
Change-Id: Ifa5b2684a2d5059ec5a5210733900aafa3c51bca
|
|
|
|
|
|
| |
Stack space suffers otherwise.
Change-Id: I890a9714acd8500981c3d41df0f5f7fd63d48f8f
|
|
|
|
|
|
|
|
|
| |
Fix the inconsistent calls. This was bad practice, requiring that
shape meant arm32 and thumb were not interchangeable.
Also fix an error in the assembler itself for tst and teq.
Change-Id: I50242801002aa81cc17bfaa53eb8b7c1d9488fbc
|
|
|
|
|
|
|
|
|
|
|
| |
acov --clean
mm -B NATIVE_COVERAGE=true ART_COVERAGE=true test-art-host
acov --host
-B is needed because you need to be sure you rebuild *all* of ART with
coverage.
Change-Id: Ib94ef610bd1b44dc45624877710ed733051b7a50
|
|
|
|
|
|
| |
Remove some no-longer necessary build flags.
Change-Id: Iea85a21689c20931b88d0e84b84410652b66b38d
|
|
|
|
|
| |
Bug: 12687968
Change-Id: I26ec55063c2d5ff0181e628c1002bfa609815b29
|
|
|
|
|
|
| |
Interpret-only Mips64 runtime support.
Change-Id: Iee22d0c8c77105d9b2f03a67dc4e09957fe0ab0a
|
|
|
|
|
|
|
| |
Do not pollute output with Clang warning if we were supposed to
compile with Clang.
Change-Id: I1ee764dcfe0581e09a350cb01fdf0ba06dd18b56
|
|
|
|
|
|
|
|
|
|
|
| |
Clang assembler cannot compile some inlined assembly code
in valgrind_malloc_space-inl.h:192:5: error: used $at without ".set noat"
However, clang generated assembly code for runtime/mirror/array.cc
cannot be compiled by gas.
BUG: 18789639
BUG: 18807290
Change-Id: Ifdeb3c50f11cefc7f0d62c1d36fdd1f8b9344fb4
|
|
|
|
|
|
|
| |
Only include the CFLAGS if Clang is not explicitly disabled for the
architecture.
Change-Id: Ic63d7c8018f633a9b20a4ff9285d6380426017a5
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Analyze the dirty memory pages of a running process per-object,
this allows is to to fine-tune the dirty object binning algorithm in
image writer.
Also:
* Factor out oatdump command line parsing code into cmdline.h
* Factor out common build rules for building variations of binaries
* Add a gtest for imgdiag
Bug: 17611661
Change-Id: I3ac852a0d223af66f6d59ae5dbc3df101475e3d0
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 62753c474b83546f5f40ca114530a3f377a51bbc.
Bug: 18465297
Change-Id: I800198949e3837f8dab3ad966aeb7dac5d7911c0
|
| |
| |
| |
| | |
Change-Id: I3bf3250fa866fd2265f1b115d52fa5dedc48a7fc
|
|/
|
|
|
|
|
| |
If ART_HEAP_POISONING=true, build with heap poisoning enabled.
Bug: 8367515
Change-Id: I818e86047e6dd99b5bc9920713ef943a65b677e6
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch modifies Android.common_build.mk to avoid breaking the build
when trying to generate a system image that doesn't include a VM (which
is useful for low-level emulator feature testing, not general Android
development).
BUG=18581643
Change-Id: Ib75ebf14d3e9c8fc2ac591c7edd2ab4d6ff2ca89
|
|/
|
|
|
|
|
| |
Clang does this automatically for you now, and forcing it causes ugly
(and difficult to parse) error diagnostics for non-color terminals.
Change-Id: I5ceb673ad50ad99cb78c733d18ac7dbfe8f978d3
|
|
|
|
|
|
|
|
| |
This patch updates the interface to VIXL 1.7 and enables the debug version of
VIXL when ART is built in debug mode.
Change-Id: I443fb941bec3cffefba7038f93bb972e6b7d8db5
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
|
|
|
|
|
|
|
|
|
| |
Useful for having smaller imts on memory constrainted devices.
Setting ART_IMT_SIZE=x will change the size of the IMT.
(cherry picked from commit 8ee96437f8cd24e1eb0b2adc6cef3346ed4b6a98)
Change-Id: Ia74946ffc57ad32de5a8d60be3412462f19f8076
|
|
|
|
| |
Change-Id: I86065aec5bfe59729c6a4064a3e54d5b523ca45c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SubstringComparator used to be broken since it didn't have transitive
equality (ex. ab a ac). Now we use normal string comparison with
set.lower_bound saves an additional 12 bytes.
Also up frame size to 2700 to fix build.
Change-Id: Ie8d41faef37591e7feed1f5d2ad6258430b8ffb6
(cherry picked from commit 4b8b4693ee19efbd2d8692ca0b47b71f3b7da663)
|
|/
|
|
|
|
| |
Everyone else assumes SMP.
Change-Id: I7ff7faef46fbec6c67d6e446812d599e473cba39
|
|
|
|
| |
Change-Id: I7c507a6a2e8de534f0e09e961d13db0223eee891
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Enable -Wno-conversion-null, -Wredundant-decls and -Wshadow in general,
and -Wunused-but-set-parameter for GCC builds.
Change-Id: I81bbdd762213444673c65d85edae594a523836e5
|
|
|
|
|
|
|
|
|
|
|
| |
Fix associated errors about unused paramenters and implict sign conversions.
For sign conversion this was largely in the area of enums, so add ostream
operators for the effected enums and fix tools/generate-operator-out.py.
Tidy arena allocation code and arena allocated data types, rather than fixing
new and delete operators.
Remove dead code.
Change-Id: I5b433e722d2f75baacfacae4d32aef4a828bfe1b
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update test infrastructure to understand several core variants.
Now compiles three core.art/oat variants:
* core.art/oat, default-compiled
* core-interpreter.art/oat, interpret-only
* core-optimizing.art/oat, optimizing compiler
The run-test variant implies which core variant is used.
Change-Id: Ieeaf2df90faee2b04c209b950897e77806205fe4
|
|
|
|
|
|
| |
Actually use the additional art_clang_cflags.
Change-Id: I2b5c5dacfdbffaa9b9c1e7a6fdb8ad79d8536fe8
|
|
|
|
|
|
|
| |
Remove -fkeep-inline-functions from debug builds, having it there causes
missing dependencies when we include system/core headers for the target on x86.
Change-Id: Ice5c6f0469f604efb58dfacf2ab6bb3183429850
|