| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Allow a list of files to pull. This improves turnaround time when
tracking down perf hotspots.
Bug: 21760614
Change-Id: I824e875053940d59eb00f9d796ef402632905c39
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now we store oat files not only in /data/dalvik-cache, but also in
other places. This patch tries to pull all oat files from device
/data folder.
Bug: 21760614
(cherry picked from commit 468bcf63207420f18c0c8a8621aa2d774393c155)
Change-Id: Icf81cf28c29da2e248e4fbd84f5920f46ddc4cd6
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
dex2oat can already generate unwinding and symbol information which
allows tools to create backtrace of mixed native and Java code.
This is a cherry pick from aosp/master which fixes several issues.
Most notably:
* It enables generation of ELF-64 on 64-bit systems (in dex2oat, C
compilers already produce ELF-64). Libunwind requires ELF-64 on
64-bit systems for backtraces to work.
* It enables loading of ELF files with dlopen. This is required for
libunwind to be able to generate backtrace of current process (i.e.
the process requesting backtrace of itself).
* It adds unit test to test the above (32 vs 64 bit, in-proces vs
out-of-process, application code vs framework code).
* Some other fixes or clean-ups which should not be of much
significance but which are easier to include to make the
important CLs cherry-pick cleanly.
This is squash of the following commits from aosp/master:
7381010 ART: CFI Test
e1bbed2 ART: Blacklist CFI test for non-compiled run-tests
aab9f73 ART: Blacklist CFI test for JIT
4437219 ART: Blacklist CFI test for Heap Poisoning
a3a49fe Switch to using ELF-64 for 64-bit architectures.
297ed22 Write 64-bit address in DWARF if we are on 64-bit architecture.
24981a1 Set correct size of PT_PHDR ELF segment.
1a146bf Link .dynamic to .dynstr
67a0653 Make some parts of ELF more (pointer) aligned.
f50fa82 Enable 64-bit CFI tests.
49e1fab Use dlopen to load oat files.
5dedb80 Add more logging output for dlopen.
aa03870 Find the dlopened file using address rather than file path.
82e73dc Release dummy MemMaps corresponding to dlopen.
5c40961 Test that we can unwind framework code.
020c543 Add more log output to the CFI test.
88da3b0 ART: Fix CFI test wrt/ PIC
a70e5b9 CFI test: kill the other process in native code.
ad5fa8c Support generation of CFI in .debug_frame format.
90688ae Fix build - large frame size of ElfWriterQuick<ElfTypes>::Write.
97dabb7 Fix build breakage in dwarf_test.
388d286 Generate just single ARM mapping symbol.
f898087 Split .oat_patches to multiple sections.
491a7fe Fix build - large frame size of ElfWriterQuick<ElfTypes>::Write (again).
8363c77 Add --generate-debug-info flag and remove the other two flags.
461d72a Generate debug info for core.oat files.
Bug: 21924613
Change-Id: I3f944a08dd2ed1df4d8a807da4fee423fdd35eb7
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fixes return type of StackedShadowFrameRecord::GetType
- Makes StackedShadowFrameType an enum class (scoped enum)
- Moves DeoptimizationReturnValueRecord and StackedShadowFrameRecord
to thread.cc file and use forward declaration in thread.h header
- Fixes tools/generate-operator-out.py for scoped enum classes.
Bug: 20845490
(cherry picked from commit f795869da0a1fa006fdcdacd8afb6149a63fc1a7)
Change-Id: I6b67e288b1db563699161e58ec2e2330d42dd8f5
|
|
|
|
| |
Change-Id: Idd540175e197602e318eeb3764f552372aadce1f
|
|
|
|
|
|
| |
A run on volantis now is around 10 minutes.
Change-Id: I6e1f436d71da6eec55e984f7af99ba34438e49fb
|
|
|
|
| |
Change-Id: Ibf1d16c9830155526cee38e242a4de9a3d5ed943
|
|
|
|
|
|
|
|
| |
Recent linker changes required to increase the scope
of our chroot-like environment on devices. There is however just this
test failing.
Change-Id: I496be04693b6cebefe68a0ac04947ed238b53e0d
|
|
|
|
| |
Change-Id: I319c08367d143443425bc01f4dda28ad46417c7e
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I5e11483dd75f9ab4dd67f3bbbc45485726d01e34
|
|/
|
|
|
|
| |
This is to enable better chroot-like testing.
Change-Id: I943c68b0ebcdab2f107f808b466ac694085255aa
|
|
|
|
| |
Change-Id: If3452b616df48ecec0d85ac34d8af9253c3ea925
|
|
|
|
|
|
| |
They're triggering a segfault.
Change-Id: If99bd9b2faba5422320764ca52808720d533745a
|
|
|
|
|
| |
Change-Id: I5ae67c2caf73695316ea9530274e97272114af1b
See: https://android-review.googlesource.com/#/c/147244/.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a streaming mode for tracing. Streaming uses a buffer of 16KB
and writes to the output when that buffer gets full. Streaming mode
can be enabled with -Xmethod-trace-stream and is currently not
exposed otherwise.
Add a python script that can parse the streaming format, which
simply contains strings for newly encountered threads and methods
inline, and create output that can be used with traceview.
Add Trace::Pause and Trace::Abort, which can pause and abort tracing.
Abort is different from Stop in that it does not write the data.
Add code to the zygote hooks JNI implementation that pauses tracing
before the fork, making sure that a child cannot clobber the parent's
data.
Add code to the zygote hooks JNI implementation that aborts old
tracing and starts new tracing in the child after the fork. Currently
base the output on the pid. This will not work on an unmodified
device, as the profiles directory is not generally writable, but
we do not have enough information at that point. Consider a scheme
that restarts tracing later.
Change-Id: I93c7bf87e35af582bdfdd3ecc7c52454514220dd
|
|
|
|
|
|
| |
The transaction error class has been changed, update the script.
Change-Id: Ibc4dfb8cdca01eb9dc9e868c18d36bf6badb0521
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test if the image exists at runtime.
Forcing this dependency slows down development. For example, if after a
change dex2oat does not compile anymore you need to first revert to a
stable state and rebuild the core image to be able to move foreward.
Since this is a test tool, it is ok to assume that the core image has
already been built if host execution was selected.
Change-Id: Id61a960ba62bb8d1d21acb07114f72208fbc9720
|
|
|
|
|
|
|
| |
Now that the optimizing compiler is the default backend, the quick
compiler must be explicitly selected as an argument.
Change-Id: I5e6b8e6a79432118e0a91c9aea85bdd9cd7305dc
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use --host to execute fuzzed tests using the host-build of ART.
See the README for more information.
Also includes some refactoring of Executors/Devices.
Change-Id: I789d6b3e102074b22431d8afa5a5c966b2710272
|
| |
| |
| |
| | |
Change-Id: I7085706884c64978eaef6ba9eb0900b9fe9e4112
|
| |
| |
| |
| | |
Change-Id: I3c0ed810165bc8945c1dfaa028eb9a7bed674281
|
| |
| |
| |
| |
| |
| | |
Buildbot machines hare not happy with gethostbyname.
Change-Id: I9dd878b442686a3d1dbcad54dbca7aabc4adbdf3
|
| |
| |
| |
| | |
Change-Id: I2cf7d3123e9d184f40cbaf49f8ac69e1481cc7a4
|
| |
| |
| |
| |
| |
| |
| | |
If the host is configured with shell (and not bash or mksh), the 'art'
script cannot be run by vogar.
Change-Id: Ib88cea2e45de1ff54477ae8ec3a8e831155d86df
|
| |
| |
| |
| |
| |
| |
| | |
- Disable runs on devices failing,
- Add verbose for host failures.
Change-Id: I4efecfbc40f6666e62fd0835257d5b6c3cdcc798
|
| |
| |
| |
| | |
Change-Id: Id3992f3c04dfa8fad130073ee9ea4f4d715c8432
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: Ia702fd884f10abcb0887f4964c7df3c04a508984
|
| |
| |
| |
| |
| |
| |
| | |
Need to investigate what is going on with the network on
the devices...
Change-Id: Ic308e768989bfbdbb086a4d09e31a7cc9a327d70
|
|/
|
|
| |
Change-Id: I9057dd77a8c760cc5881f3b2eaeb14a0d9910b51
|
|
|
|
|
|
|
|
| |
We want to default to having a barrier for the case where we don't
dex to dex.
Bug: 19762303
Change-Id: I60348d89eaf0b9e1e480298afcecbb5f52e8661b
|
|
|
|
| |
Change-Id: Ifb0f739dfa56bb32b07a47ff48282b2a786009ac
|
|
|
|
| |
Change-Id: I1cdb55b2320a451d82b24a1f497930c12dd506cb
|
|
|
|
| |
Change-Id: I88b949956440b8f0bc8f2bfe731fb7a3d18652e6
|
|
|
|
|
|
|
| |
Just like run-test, allow multiple invoke-with arguments that are
chained together.
Change-Id: I9f0d2d23fbff1cef32f0bb69e1bb803e157cfb73
|
|
|
|
|
|
|
|
|
| |
Fix missing entries when the failed class doesn't appear in the
stack trace.
Add coloring for loadLibrary and getProperty.
Change-Id: I35df917ac8b1ada1f6eb2e418fa6ff9ca6b17048
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Icd4aecd9b7a274febfd99bad6432bb9d46f9e1d3
|
| |
| |
| |
| |
| |
| |
| | |
One of the tests that was described as failing on volantis fails on
hammerhead too. It was moved to a new category.
Change-Id: Ie58266d51d3aa180a36a460035ea7f016c0b7e3d
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Another test failing due to missing loop network device on hammerhead
and volantis bots. We disable it until the device configuration issue
is fixed.
Change-Id: I5b4610d706a8e4bdf178764f64f2d4359a83682d
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
This patch enables additional libcore tests run by the ART buildbots.
These are tests from the org.apache.harmony.crypto and
libcore.javax.crypto packages and take extra ~8 minutes to run on
target and ~2 minutes on host.
Change-Id: I7cd314eca654320104fee26d8c34437450814dc2
|
|/
|
|
|
|
|
| |
One more test from the harmony package fails due to the locale issue
on hammerhead. This patch disables it.
Change-Id: I1f3941bfcc20d5b2e23fe5ae963676138eecccb8
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some tests in previous commits are failing on the testing devices.
Tests dependent on DateTimeFormatter fail on hammerhead due to
misconfigured locales and tests with a server running on localhost
fail due to the loop device being switched off on volantisg. These
problems will be further investigated but this patch disables them
for the time being.
Change-Id: I2dde178925de555f26a4d532be15487f499571b4
|
|/
|
|
|
|
|
|
| |
This patch enables additional libcore tests run by the ART buildbots.
These are tests from the org.apache.harmony.* packages and take extra
~5 minutes to run on target and ~2 minutes on host.
Change-Id: Idb9fc09ac7df460bd4337bc5151301adddea4b97
|