| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Missing image suffix was missing causing tests to fail.
Also added missing phony targets.
Bug: 19524713
Change-Id: Ib40d39b1fc16e1adfdc01744a199ae9b0b562664
|
|
|
|
|
|
|
| |
Was causing core.oat to not be created.
Bug: 19524713
Change-Id: I5da005fd36f9682623fdda9931280997b59c2681
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This tool can mutate DEX files, and execute them with multiple backends
of ART, making sure that all backends agree on the output of the
program. This should help identify bugs in particular backends, should
they produce output that disagrees with the other backends.
Build with mmm tools/dexfuzz from within art/.
See the README for details about how to use dexfuzz.
Change-Id: I3fc5d84a08b7d142a1fdc3d43a0324ce16b43608
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
| |
Bug: 18673991
Change-Id: I8be2f997005611b791755c8d7fa44974f1816d6b
|
|
|
|
|
|
|
|
| |
Instead of overwriting /system, use a temporary directory
to push the binaries and libraries, and use them for
running the tests.
Change-Id: I45fa2ac51f836686d8e8676907eb26629f7ab2ab
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I2586e16664dabfc543bc9d0dab471ec8d3810f34
|
|
|
| |
Change-Id: I86503a51538c0b48ad96e8624b81461c2ba3279a
|
|
|
|
| |
Change-Id: I439c3670a01096355c50774c628d6b0f6cb6c397
|
|
|
|
| |
Change-Id: I229ba2a77d993b2c14acf9a76e102ef76b0aeba6
|
|
|
|
|
| |
Also replace our sleep 3 with wait-for-device.
Change-Id: Icb53c4ad0e8d5c6e93b9610eb7e9530242720581
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Wire up valgrind gtests. Add valgrind-test-art-host, currently
only depending on valgrind-test-art-host-gtest32.
Fix an Alloc setting to allow running valgrind.
Refactor the fault handler to manage (and correctly release) the
handlers.
Fix minor failure-case leaks exposed by tests.
Failing tests:
The optimizing compiler is leaking non-arena-ed structures
(e.g., assembler buffers), as code generators are not destroyed.
The solution has been moved to a follow-up CL.
Note: All 64b tests are failing as we cannot allocate a heap.
Change-Id: I7f854cfd098d9f68107ce492363e7dba9a82b9fa
|
|/
|
|
|
|
|
| |
- Build both archs version when available.
- Add --64 and --32 command line flags to the art script.
Change-Id: I037ec94670767f1761adb26f44aafc5592ea3a2b
|
|
|
|
|
|
| |
Also add a phony target to build what's needed to use it.
Change-Id: I0bca6b0cbe921653de05fec0ae0cbbff63df580e
|
|
|
|
|
| |
Bug: 16499668
Change-Id: I0d3db4697ef7b1706807e7daa5e000bb89df14e0
|
|
|
|
|
|
| |
This reverts commit b1efe9746724f28773d185c7137c16ca8207ed47.
Change-Id: I5af2fae2c7b72e6ded72f00d3f7d4f306f6703ee
|
|
|
|
|
|
|
|
|
|
| |
Change dalvik_system_DexFile.cc so that isDexOptNeededInternal will be
able to indicate that a patchoat is required. Change default of relocate
option to be on.
Bug: 15358152
Change-Id: Ibe92d8b55a24bbf718b0416a21b76e5df7a2de26
|
|
|
|
|
|
|
| |
This will allow us to conditionally change the compiler-filter based on other properties.
Bug: 15165413
Change-Id: I6877a6eab221ab142909b595fd28191b5d3a095b
|
|
|
|
|
|
| |
Transforms all former oat tests into run tests.
Change-Id: I190dd39456454c36e5538a2c044d993965a67533
|
|
|
|
|
|
| |
If dex2oatd changes, we need to re-run .oat/.art file generation.
Change-Id: I43487e024745b22b1681f4ff558bac6fd07d9881
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a pair of runtime flags -Xrelocate and -Xnorelocate that can force
the runtime to require that all files that are run are relocated, to
prevent attacks based on the known art base address.
Add support for running patchoat on oat files compiled without an image.
Change run-test to have new --prebuild and --relocate flags.
Bug: 15358152
Change-Id: I91166c62dd1ab80e5cbcb7883a2cd0d56afca32d
|
|
|
|
|
|
|
|
|
|
| |
The runtime arguments need to be prefixed with -Xmx or -Xms.
This only worked before because DEX2OAT_XMS, etc. were blank
due to bugs in build/, which resulted in --runtime-arg --runtime-arg
and anything starting with -- as the argument to --runtime-arg is
silently ignored.
Change-Id: I18607a6fd8d0004466404045f8dc4495eb6ab275
|
|
|
|
|
| |
Bug: 15919420
Change-Id: I1b4f3256f6352b2d3e268991406def9e8efab945
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new executable called patchoat to art. This tool takes already
compiled images and oat files and changes their base address, acting as
a cheap form of relocation.
Add a --include-patch-information flag to dex2oat and code to add
required patch information to oat files created with the quick compiler.
Bug: 15358152
Change-Id: Ie0c580db45bb14ec180deb84930def6c3628d97d
|
|
|
|
|
|
|
| |
Adds "use-artd-interpret-only" make rule to run interpreter-only mode with
libartd.so.
Change-Id: Ib9fbcdbdcc79a89900ee751b5dc2ad554f834127
|
|
|
|
|
|
| |
They did not build the right libjavacore.so for 64bits builds.
Change-Id: I8475f73588ffd17933aac4591d19f8803741ef8a
|
|
|
|
| |
Change-Id: Ideb6a83d71cda126d94ad01965b2dcf5005d449a
|
|
|
|
| |
Change-Id: Ia1c5b613067ba6c6648706b346258d0a155906be
|
|
|
|
|
|
| |
Use the correct build variable for library dependency.
Change-Id: I2f12d13b595d97b2806eb709613e2cc358f4cad4
|
|
|
|
| |
Change-Id: I9357ca59f73b79fa56686d221c83e024137eee35
|
|
|
|
|
|
| |
The art script requires it.
Change-Id: I60bc7dbd57e7415089f5b14bf470ceffa1dcb581
|
|
|
|
|
|
| |
Apply s/ART_DALVIK_CACHE_DIR/ART_TARGET_DALVIK_CACHE_DIR/.
Change-Id: Ie052b824826c5e919c5526763aa4eb5a3e49cbec
|
|
|
|
| |
Change-Id: If1f800a056b3f95252037163784ab3ae26d9fa6d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Build ART for the host as a multilib project with dalvikvm32 and dalvikvm64
running as 32 or 64-bit repsectfully. Note, currently multilib host builds
are not the default, you make the so by setting BUILD_HOST_64bit=1.
Extend tests to execute in both 32 and 64-bit modes. By default both 32 and
64-bit tests are run, add 32 or 64 to the end of a test name to run it in
purely that flavor.
Given the extra spam, modify oat tests to only generate console output when
the test fails.
Change the test harness so that common commands are run when a test should be
skipped, when it passes or when it fails. Use these commands to generate a
summary of passing, skipped and failing tests. Tests will be skipped if they
are known to be broken or if a test has already failed. Setting the variable
TEST_ART_KEEP_GOING=true will force working tests not to be skipped.
In this change all tests running on the optimizing compiler are marked broken
due to breakages running them in a multilib environment.
Break apart Android.common.mk into its constituent parts, along with other
pieces of reorganization.
Stylistic nit, we refer to make rule targets as targets thereby overloading
the term target. While consistent with make's terminology, its confusing with
the Android notion of target. I've switched to just calling targets rules to
avoid confusion in host tests.
Change-Id: I5190fc3de46800a949fbb06b3f4c258ca89ccde9
|
|
|
|
| |
Change-Id: I5bff24a696a07c734d05d0ee42f3cf6cd57c0904
|
|
|
|
| |
Change-Id: I9d55c456007403a6a4ffd9da2c70d500b410e51b
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With multilib host build, the build system installs host
shared libraries to different directories depending on a
library's bitness:
- HOST_OUT_SHARED_LIBRARIES points to the library path of 64-bit;
- 2ND_HOST_OUT_SHARED_LIBRARIES points to the library path of 32-bit;
- If you don't care the bitness of the libraries and just want whatever
version the librareies are built by default, use HOST_LIBRARY_PATH.
Bug:13751317
Change-Id: I58a7ca5988d89b8619a804913461723719c9a873
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a preload library that overrides sigaction and sigprocmask
to implement signal chaining. Signal chaining allows us to chain
any signal so that the ART runtime receives it before any signal
handler registered in native code by an application. If the
ART signal handler doesn't want it, it will pass it on to the
user's handler.
ART uses signals for null pointer checks, stack overflow checks and
suspend points.
Also adds an OAT test to test this in isolation.
Change-Id: I9545f9f7343774c091410eb810504d9855fd399f
|
|
|
|
|
|
|
|
| |
Bug: 14298175
(cherry picked from commit b9c0c40e1f7eb38337919200f1fa328eaed92c1d)
Change-Id: I453d5391d757dcdac1f6fa3b1fb7bc85144177e1
|
|
|
|
| |
Change-Id: I87f1742f401af37893d336074c53dee92993b769
|
|
|
|
|
| |
Bug: 11997009
Change-Id: I30c356f3ea62b1850d17b5c6bf4af4080a466858
|
|
|
|
|
|
| |
Add a dependency for libjavacore for the secondary architecture.
Change-Id: I30f07c200e1cbb7d50b026fa6b21d09ab9aadd66
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now, only gtest don't use these flags.
Running tests with GC options e.g:
DALVIK_VM="-Xgc:GSS" mm test-art-host-oat
Added a --runtime-option to test/run-test which passes the args to
the test:
test/run-test --runtime-option -Xgc:GSS --runtime-option -XX:UseTLAB 080
Change-Id: Ic928df32cb5aa36d3b0b55456e8b535e82ee9e97
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I7bfa2da2870b6b76471d90b4110cbd17347868b0
|